Skip to main content

cpu_time

Function cpu_time 

Source
fn cpu_time(tid: u32) -> Option<u64>
Expand description

CPU time thread tid has run, in nanoseconds, from /proc/<tid>/schedstat.

ยงArguments

  • tid - Thread id.