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.
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.