全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Quantitative Finance · 术语表

什么是 Measurement overhead?

Definition 5.2 Low-Latency Software · 第 5 章 — Measuring Latency

The measurement overhead of an instrumented region is the time the measurement itself adds: the clock reads, the fences around them, and recording the result. It is included in every figure taken and must be small against the quantity measured, or subtracted.

Cost of one read of each clock available to a Linux program (best of seven batches of a million calls, pinned to one CPU, clock source tsc, so every kernel clock is served in user space). Measured on a laptop (Intel Core Ultra 7 155H) under WSL2, no isolated cores. Data: bench_clocks.py.
Figure 5.1. Cost of one read of each clock available to a Linux program (best of seven batches of a million calls, pinned to one CPU, clock source tsc, so every kernel clock is served in user space). Measured on a laptop (Intel Core Ultra 7 155H) under WSL2, no isolated cores. Data: bench_clocks.py.
在原文中阅读 →