Skip to main content

load_average_one

Function load_average_one 

Source
pub fn load_average_one() -> f64
Expand description

Returns the 1-minute load average as reported by the OS.

On platforms where sysinfo cannot read load average (very old Linux without /proc/loadavg), returns 0.0 so callers default to “no saturation detected”.