Macro duration_metered_exec
macro_rules! duration_metered_exec {
($code:expr, $acc:expr) => { ... };
}
Expand description
Measures the duration of executing the given code block. The duration is added to the given accumulator value passed as a mutable reference.