Skip to main content

ProfilingStep

Trait ProfilingStep 

Source
pub trait ProfilingStep {
    // Required methods
    fn process(&mut self, events: &[(u64, ProfilingEvent)]);
    fn name(&self) -> &str;
}
Expand description

A step in the profiling pipeline.

Required Methods§

Source

fn process(&mut self, events: &[(u64, ProfilingEvent)])

Process a batch of events.

Source

fn name(&self) -> &str

Name of this step.

Implementors§