Struct historian::Histo [−][src]
pub struct Histo { /* fields omitted */ }
Expand description
A histogram collector that uses zero-configuration logarithmic buckets.
Implementations
impl Histo
[src]
impl Histo
[src]pub fn percentile(&self, p: f64) -> f64
[src]
pub fn percentile(&self, p: f64) -> f64
[src]Retrieve a percentile [0-100]. Returns NAN if no metrics have been collected yet.
pub fn print_percentiles(&self)
[src]
pub fn print_percentiles(&self)
[src]Dump out some common percentiles.