Skip to main content

quantile

Function quantile 

Source
fn quantile(hist: &[u64; 128], total: u64, pct: u64) -> u64
Expand description

The upper bound of the first bucket whose cumulative count reaches pct% of total. 0 when nothing was sampled.