pub fn increment_by(&mut self, time: u64, value: u64, count: u64) -> Result<(), &'static str> {
        self.data.counters.entries_total = self.data.counters.entries_total.saturating_add(count);

        match self.histogram_index(time) {
            Ok(histogram_index) => self.data.data[histogram_index].increment_by(value, count),
            Err(e) => Err(e),
        }
    }
/// increment additional counts for value at a time
///
/// # Example
/// ```
/// extern crate heatmap;
/// extern crate time;
///
/// let mut h = heatmap::Heatmap::new();
///
/// h.increment_by(time::precise_time_ns(), 1, 1).unwrap();
/// assert_eq!(h.entries(), 1);
///
/// h.increment_by(time::precise_time_ns(), 2, 2).unwrap();
/// assert_eq!(h.entries(), 3);
///
/// h.increment_by(time::precise_time_ns(), 10, 10).unwrap();
/// assert_eq!(h.entries(), 13);
/// ```
increment additional counts for value at a time
increment additional counts for value at a time
pub fn increment_by(&mut self, time: u64, value: u64, count: u64) -> Result<(), &'static str> {
        self.data.counters.entries_total = self.data.counters.entries_total.saturating_add(count);
        match self.histogram_index(time) {
            Ok(histogram_index) => self.data.data[histogram_index].increment_by(value, count),
            Err(e) => Err(e),
        }
    }
pub fn increment_by ( & mut self , time : u64 , value : u64 , count : u64 ) -> Result < ( ) , & ' static str > { self . data . counters . entries_total = self . data . counters . entries_total . saturating_add ( count ) ; match self . histogram_index ( time ) { Ok ( histogram_index ) => self . data . data [ histogram_index ] . increment_by ( value , count ) , Err ( e ) => Err ( e ) , } }
increment additional counts for value at a time
increment additional counts for value at a time
&mut self
time
u64
value
u64
count
u64
example
```
extern crate heatmap;
extern crate time.

let mut h = heatmap::Heatmap::new().






` ` ` extern crate heatmap ; extern crate time . let mut h = heatmap :: Heatmap :: new () .