/// `clear` reset the histogram. Helpful in situations where we need to reset the metrics
`clear` reset the histogram. Helpful in situations where we need to reset the metrics
` clear ` reset the histogram . Helpful in situations where we need to reset the metrics
pub fn clear(&self) {
        self.count.store(0, Ordering::SeqCst);
        self.count_per_bucket
            .iter()
            .for_each(|val| val.store(0, Ordering::SeqCst));
        self.sum.store(0, Ordering::SeqCst);
        self.max.store(0, Ordering::SeqCst);
        self.min.store(0, Ordering::SeqCst);
    }
pub fn clear ( & self ) { self . count . store ( 0 , Ordering :: SeqCst ) ; self . count_per_bucket . iter ( ) . for_each ( | val | val . store ( 0 , Ordering :: SeqCst ) ) ; self . sum . store ( 0 , Ordering :: SeqCst ) ; self . max . store ( 0 , Ordering :: SeqCst ) ; self . min . store ( 0 , Ordering :: SeqCst ) ; }
`clear` reset the histogram.
` clear ` reset the histogram .
&self