Function dhat::ad_hoc_event
source · [−]pub fn ad_hoc_event(weight: usize)Expand description
Registers an event during ad hoc profiling.
The meaning of the weight argument is determined by the user. A call to
this function has no effect if a Profiler is not running or not doing ad
hoc profiling.