Skip to main content

machine_percent

Function machine_percent 

Source
pub fn machine_percent(process_cpu: f32, cpus: usize) -> f64
Expand description

A process’s CPU as sysinfo reports it (percent of one core, and over 100 for several) as a percent of the machine, so it reads on the machine’s own scale.