Struct tic::Meters
[−]
[src]
pub struct Meters<T> { pub data: FnvHashMap<String, u64>, pub data_float: FnvHashMap<String, f64>, // some fields omitted }
Fields
data: FnvHashMap<String, u64>
data_float: FnvHashMap<String, f64>
Methods
impl<T: Hash + Eq + Send + Display + Clone> Meters<T>
[src]
fn new() -> Meters<T>
fn set_count(&mut self, channel: T, value: u64)
fn set_percentile(&mut self, channel: T, percentile: Percentile, value: u64)
fn set_adev(&mut self, channel: T, tau: usize, value: f64)
fn count(&self, channel: &T) -> Option<&u64>
fn percentile(&self, channel: &T, percentile: Percentile) -> Option<&u64>
fn adev(&self, channel: T, tau: usize) -> Option<&f64>
Trait Implementations
impl<T: Clone> Clone for Meters<T>
[src]
fn clone(&self) -> Meters<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more