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
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for ProfilerGuard<'a>
impl<'a> Send for ProfilerGuard<'a>
impl<'a> Sync for ProfilerGuard<'a>
impl<'a> Unpin for ProfilerGuard<'a>
impl<'a> !UnwindSafe for ProfilerGuard<'a>