返回题库

Quant Interview Practice Questions

专题
systems
难度
L1
来源
MyntBit

题目详情

Low-latency trading systems require rigorous performance monitoring to ensure deterministic execution times and prevent resource exhaustion. In Linux environments, quantitative developers frequently interact with the /proc pseudo-filesystem to extract telemetry data without the overhead of external monitoring agents. Task Implement the calculateUsage method to determine a process's CPU usage percentage over an interval. The function receives two stat file snapshots (stat1, stat2), the elapsed_t