Skip to main content

usage_over

Function usage_over 

Source
pub fn usage_over(window: Duration) -> Result<Usage>
Expand description

CPU usage over window, clamped to 10 ms ..= 10 s. Blocks for the window.

ยงErrors

As Sampler::sample.