pub fn cpu_time() -> Result<CpuTime>Expand description
The CPU time this process has used so far: one system call, no allocation.
let t = sys_lib::process::cpu_time()?;
println!("cpu {:?} (user {:?}, system {:?})", t.total(), t.user, t.system);ยงErrors
Os when the call fails.