返回题库

Quant Interview Practice Questions

专题
architecture & logic
难度
L3
来源
MyntBit

题目详情

Profiling latency across distributed trading components is critical for performance tuning and maintaining a competitive edge in high-frequency trading. By instrumenting the pipeline from the feed handler to the gateway, developers can identify bottlenecks and optimize execution speed. Task Calculate the average latencies for fully completed order pipelines based on a stream of logged events. Implement the measureLatency method, which takes 5 std::vector<double> arrays of equal length represent