Skip to main content

sinks_by_widest_gap

Function sinks_by_widest_gap 

Source
pub(crate) fn sinks_by_widest_gap(deltas: &[u64]) -> Option<Vec<bool>>
Expand description

Split the host’s handler-time distribution at its widest gap: sinks are the CPUs above the cut. No unit-carrying threshold, so it adapts to any host. A zero delta enters at half a tick so every ratio stays finite. A flat set has no sinks; a cut condemning half the machine is load, not affinity (None).