Struct tic::Receiver
[−]
[src]
pub struct Receiver<T> { /* fields omitted */ }
a Receiver
processes incoming Sample
s and generates stats
Methods
impl<T: Hash + Eq + Send + Display + Clone> Receiver<T>
[src]
fn new() -> Receiver<T>
create a new Receiver
using the defaults
fn configured(config: Config<T>) -> Receiver<T>
create a Receiver
from a tic::Config
fn configure() -> Config<T>
Create a new Config which can be used to build() a Receiver
fn get_sender(&self) -> Sender<T>
returns a clone of the Sender
fn get_clocksource(&self) -> Clocksource
returns a clone of the Clocksource
fn add_interest(&mut self, interest: Interest<T>)
register a stat for export
fn clear_heatmaps(&mut self)
clear the heatmaps
fn run_once(&mut self)
run the receive loop for one window
fn run(&mut self)
run the receive loop for all windows, output waterfall and traces as requested
fn save_files(&mut self)
save all artifacts
fn clone_meters(&self) -> Meters<T>
Trait Implementations
impl<T: Hash + Eq + Send + Clone + Display> Default for Receiver<T>
[src]
fn default() -> Self
create a default Receiver