Function dhat::ad_hoc_event [−][src]
pub fn ad_hoc_event(weight: usize)
Expand description
Register an event during ad hoc profiling. Has no effect unless a Dhat
value that was created with Dhat::start_ad_hoc_profiling
is in scope. The
meaning of the weight argument is determined by the user.