fn quantile(hist: &[u64; 128], total: u64, pct: u64) -> u64
The upper bound of the first bucket whose cumulative count reaches pct% of total. 0 when nothing was sampled.
pct
total
0