Struct pprof::ReportBuilder [−][src]
pub struct ReportBuilder<'a> { /* fields omitted */ }
Expand description
A builder of Report
and UnresolvedReport
. It builds report from a running Profiler
.
Implementations
pub fn frames_post_processor<T>(
&mut self,
frames_post_processor: T
) -> &mut Self where
T: Fn(&mut Frames) + 'static,
pub fn frames_post_processor<T>(
&mut self,
frames_post_processor: T
) -> &mut Self where
T: Fn(&mut Frames) + 'static,
Set frames_post_processor
of a ReportBuilder
. Before finally building a report, frames_post_processor
will be applied to every Frames.
Build an UnresolvedReport