Skip to main content

over_budget

Function over_budget 

Source
pub async fn over_budget(
    watch: &MemoryWatch,
    pgid: i32,
    seen: &SharedSeen,
    rss_fallback: bool,
) -> u64
Expand description

Samples group pgid every watch.interval, recording the peak in seen; completes with the sample once one is over the budget (never without a budget). A sample that can’t be read (see group_memory) is skipped: no kill on a guess.