Skip to main content

tree_evict_pid

Function tree_evict_pid 

Source
pub(crate) fn tree_evict_pid(counts: &mut HashMap<u32, u32>, pid: u32)
Expand description

Remove one sample of pid from the per-pid accounting when the window evicts its oldest sample, pruning the entry when the count reaches zero so the map cannot grow with retired pids.