fn record(&self, time: u64, recorder: &Recorder<AtomicU32>, reading: Entry) {
        record_counter(
            recorder,
            Statistic::BandwidthRead,
            time,
            reading.read_bytes(),
        );
        record_counter(
            recorder,
            Statistic::BandwidthWrite,
            time,
            reading.write_bytes(),
        );
        record_counter(
            recorder,
            Statistic::OperationsRead,
            time,
            reading.read_ops(),
        );
        record_counter(
            recorder,
            Statistic::OperationsWrite,
            time,
            reading.write_ops(),
        );
    }
/// send deltas to the stats library
send deltas to the stats library
send deltas to the stats library
fn record(&self, time: u64, recorder: &Recorder<AtomicU32>, reading: Entry) {
        record_counter(
            recorder,
            Statistic::BandwidthRead,
            time,
            reading.read_bytes(),
        );
        record_counter(
            recorder,
            Statistic::BandwidthWrite,
            time,
            reading.write_bytes(),
        );
        record_counter(
            recorder,
            Statistic::OperationsRead,
            time,
            reading.read_ops(),
        );
        record_counter(
            recorder,
            Statistic::OperationsWrite,
            time,
            reading.write_ops(),
        );
    }
fn record ( & self , time : u64 , recorder : & Recorder < AtomicU32 > , reading : Entry ) { record_counter ( recorder , Statistic :: BandwidthRead , time , reading . read_bytes ( ) , ) ; record_counter ( recorder , Statistic :: BandwidthWrite , time , reading . write_bytes ( ) , ) ; record_counter ( recorder , Statistic :: OperationsRead , time , reading . read_ops ( ) , ) ; record_counter ( recorder , Statistic :: OperationsWrite , time , reading . write_ops ( ) , ) ; }
send deltas to the stats library
send deltas to the stats library
&self
time
u64
recorder
&Recorder<AtomicU32>
reading
Entry
&self
time
u64
recorder
&Recorder<AtomicU32>
reading
Entry