reth_network

Macro duration_metered_exec

Source
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.