Struct conserve::report::Counts
[−]
[src]
pub struct Counts { /* fields omitted */ }
Holds the actual counters, in an inner object that can be referenced by multiple Report values.
Methods
impl Counts
[src]
fn get_duration(&self, name: &str) -> Duration
[src]
fn get_count(&self, counter_name: &str) -> u64
[src]
Return the value of a counter. A counter that has not yet been updated is 0.
fn get_size(&self, counter_name: &str) -> Sizes
[src]
Get size of data processed.
For any size-counter name, returns a pair of (compressed, uncompressed) sizes, in bytes.