pub fn usage_over(window: Duration) -> Result<Usage>
CPU usage over window, clamped to 10 ms ..= 10 s. Blocks for the window.
window
As Sampler::sample.
Sampler::sample