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]

[src]

create a new empty set of Meters

[src]

update the count of events for a given metric

[src]

update the Percentile for a given metric

[src]

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

[src]

gets the count for a given metric

[src]

get the Percentile for a given metric

[src]

get the Allan Deviation for the channel for a given Tau

Trait Implementations

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

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