pub(crate) fn sinks_by_widest_gap(deltas: &[u64]) -> Option<Vec<bool>>Expand description
Split the host’s own handler-time distribution at its widest gap: sinks are the CPUs above the cut (§G33, §R.26).
No unit-carrying threshold – the cut is wherever the sorted per-CPU tick deltas separate the most, so it adapts to any host, any device, and any load without claiming to know in advance what “loud” means. Deltas feed ratios directly, so no clock or tick-rate conversion exists. A zero delta means “under one tick this window” and enters the ranking at half a tick – the midpoint of what the measurement could not resolve – keeping every ratio finite so a lone loud CPU still separates from an otherwise-quiet machine. A flat distribution has no gap and therefore no sinks; a cut that would condemn half the machine has measured host-wide load, not pinned interrupt affinity (None).