Running the entire ecosystem with the new instrumentation system
Running the updated electronic trading ecosystem remains the same as before and is launched by running the following script:
sghosh@sghosh-ThinkPad-X1-Carbon-3rd:~/Building-Low-Latency-Applications-with-CPP/Chapter11$ bash scripts/run_exchange_and_clients.sh
Once the new ecosystem is done running, you can notice performance measurement log entries such as the following for the RDTSC measurements:
sghosh@sghosh-ThinkPad-X1-Carbon-3rd:~/Building-Low-Latency-Applications-with-CPP/Chapter11$ grep Exchange_MEOrderBook_match *.log exchange_matching_engine.log:02:42:59.980424597 RDTSC Exchange_MEOrderBook_match 205247 exchange_matching_engine.log:02:43:00.022326352 RDTSC Exchange_MEOrderBook_match 216239
There are also entries such as the following for the RDTSC measurements:
sghosh@sghosh-ThinkPad-X1-Carbon-3rd:~/Building-Low-Latency-Applications-with-CPP/Chapter11$ grep Trading_MarketOrderBook_addOrder *.log...