percentile

Function percentile 

Source
pub fn percentile(buckets: &[i64], p: f64) -> f64
Expand description

Percentile estimate from non-cumulative bucket counts: the first bound whose cumulative count reaches p * total (else the last bound — everything past it is reported as 10 s, the honest ceiling).