Struct pprof::ProfilerGuard [−][src]
pub struct ProfilerGuard<'a> { /* fields omitted */ }
Expand description
RAII structure used to stop profiling when dropped. It is the only interface to access profiler.
Implementations
Start profiling with given sample frequency.
Generate a report