pub struct Histo { /* private fields */ }
Expand description
A histogram collector that uses zero-configuration logarithmic buckets.
Implementations
sourceimpl Histo
impl Histo
sourcepub fn percentile(&self, p: f64) -> f64
pub fn percentile(&self, p: f64) -> f64
Retrieve a percentile [0-100]. Returns NAN if no metrics have been collected yet.
sourcepub fn print_percentiles(&self)
pub fn print_percentiles(&self)
Dump out some common percentiles.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more