macro_rules! timed {
($metric:expr, $($k:expr => $v:expr),+; $block:expr) => { ... };
($metric:expr; $block:expr) => { ... };
}Expand description
Zero-cost timing macro. Expands inline at compile time.
macro_rules! timed {
($metric:expr, $($k:expr => $v:expr),+; $block:expr) => { ... };
($metric:expr; $block:expr) => { ... };
}Zero-cost timing macro. Expands inline at compile time.