Function sys_metrics::cpu::get_cpustats[][src]

pub fn get_cpustats() -> Result<CpuStats, Error>
Expand description

Get basic CpuStats info the host.

It only contains raw information, to get the delta you need to get the diff between N and N-1.