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.
macro_rules! duration_metered_exec {
($code:expr, $acc:expr) => { ... };
}
Measures the duration of executing the given code block. The duration is added to the given accumulator value passed as a mutable reference.