fn lock_report(&self) -> MutexGuard<'_, Histogram<u64>> {
        let mut report = self.report.lock();
        // Remove all values from the merged
        report.reset();
        let windows = self.windows.lock();
        for w in windows.active.iter() {
            // The report histogram must have been created with the same
            // configuration as the other histograms, so they all either share a
            // max value or are all resizable.
            report.add(w).expect("Histograms must merge");
        }
        report
    }
/// Lock the inner report, clear it, and repopulate from the active windows.
Lock the inner report, clear it, and repopulate from the active windows.
Lock the inner report clear it and repopulate from the active windows .
fn lock_report(&self) -> MutexGuard<'_, Histogram<u64>> {
        let mut report = self.report.lock();
        // Remove all values from the merged
        report.reset();
        let windows = self.windows.lock();
        for w in windows.active.iter() {
            // The report histogram must have been created with the same
            // configuration as the other histograms, so they all either share a
            // max value or are all resizable.
            report.add(w).expect("Histograms must merge");
        }
        report
    }
fn lock_report ( & self ) -> MutexGuard < ' _ , Histogram < u64 > > { let mut report = self . report . lock ( ) ; // Remove all values from the merged report . reset ( ) ; let windows = self . windows . lock ( ) ; for w in windows . active . iter ( ) { // The report histogram must have been created with the same // configuration as the other histograms, so they all either share a // max value or are all resizable. report . add ( w ) . expect ( " " ) ; } report }
Lock the inner report, clear it, and repopulate from the active windows.
Lock the inner report clear it and repopulate from the active windows .
&self
&self