[−][src]Function psutil::cpu::cpu_times_percent
pub fn cpu_times_percent(interval: f64) -> Result<CpuTimesPercent>
Return a CpuTimesPercent representing the current detailed CPU utilization as a percentage.
Interval must be > 0.0 seconds. If interval is < 0.1, the result of this function will be meaningless. The function compares all CPU times elapsed before and after the interval (blocking).
Use informations contains in '/proc/stat'