foreign_process_cpu_times_us

Function foreign_process_cpu_times_us 

Source
pub(crate) fn foreign_process_cpu_times_us(pid: u32) -> Option<(i64, i64)>
Expand description

Per-PID user+system CPU time in microseconds (same units as libc::rusage tv_sec/tv_usec combined). Used so AudioEngine CPU% matches the header formula: (Δuser + Δsys) / Δwall * 100.