Macro profile_traits::time_profile

source ยท
macro_rules! time_profile {
    ($category:expr, $meta:expr, $profiler_chan:expr, $($callback:tt)+) => { ... };
}
Expand description

Measure the given callback with the time profiler and (if enabled) tracing.

$category must be const, because we use it to derive the span name.