Struct tic::Meters[][src]

pub struct Meters<T> {
    pub data: FnvHashMap<String, u64>,
    pub data_float: FnvHashMap<String, f64>,
    // some fields omitted
}

Meters are the aggregated result of stats which have been processed by the Receiver.

Fields

a map of labels to their u64 values

a map of labels to their f64 values

Methods

impl<T: Hash + Eq + Send + Display + Clone> Meters<T>
[src]

create a new empty set of Meters

update the count of events for a given metric

update the value for a given metric

update the Percentile for a given metric

update the Percentile for a given metric

update the Allan Deviation for a given metric at a specific Tau

gets the count for a given metric

get a Percentile of sample latencies for a given metric

get the Percentile of sample counts for a given metric

get the Allan Deviation for the channel for a given Tau

clear the Meters

Trait Implementations

impl<T: Clone> Clone for Meters<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Hash + Eq> Default for Meters<T>
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl<T> Send for Meters<T> where
    T: Send

impl<T> Sync for Meters<T> where
    T: Sync