Skip to main content

timer_stop_and_log_debug_net

Macro timer_stop_and_log_debug_net 

Source
macro_rules! timer_stop_and_log_debug_net {
    ($name:ident, $waited:expr, $($arg:tt)+) => { ... };
}
Expand description

Like timer_stop_and_log_debug but subtracts a known blocked interval, so the logged span is the work itself. $waited is a Duration; it is reported alongside rather than dropped.