Skip to main content

cpu_usage_from_ticks

Function cpu_usage_from_ticks 

Source
pub fn cpu_usage_from_ticks(before: CpuTicks, after: CpuTicks) -> f64
Expand description

Compute CPU usage percentage from two tick snapshots.