Skip to main content

SYSTEM_LOAD_REFRESH_INTERVAL_SECS

Constant SYSTEM_LOAD_REFRESH_INTERVAL_SECS 

Source
pub const SYSTEM_LOAD_REFRESH_INTERVAL_SECS: u64 = 1;
Expand description

Minimum interval, in seconds, between two /proc/loadavg reads.

The saturation check is consulted before every spawn decision, so an unthrottled read would issue one syscall per decision for a value that changes on a one-minute average. Throttle, not a deadline, so it takes no XDG key.