Skip to main content

absorb_stats

Function absorb_stats 

Source
pub fn absorb_stats(
    entries: impl IntoIterator<Item = ((&'static str, &'static str), u64)>,
)
Expand description

Fold entries (as produced by drain_stats) back into this thread’s counters. The parallel function-pass driver drains each worker thread’s counters before the thread exits (thread-local state would otherwise be lost) and re-absorbs them on the master thread, so the per-round statistics table is identical to a sequential run.