fn sample_slot(index: u64) -> Option<usize>Expand description
Returns the slot of a HISTOGRAM_CAP-value sample that the value numbered index in an
interval replaces, if it is sampled: each of the first values takes the next slot, then each
later value replaces a random slot with probability HISTOGRAM_CAP / (index + 1).