Skip to main content

process_tree_ticks

Function process_tree_ticks 

Source
fn process_tree_ticks(root_pid: i32) -> HashMap<i32, (u64, u64)>
Expand description

Returns a map of { pid to (utime, stime) } for every process in the tree rooted at root_pid (root included). Processes that have already exited are silently skipped: this is a TOCTOU race we accept.