Macro rin::util::timed [−][src]
macro_rules! timed { ($descr: expr, $func: block) => { ... }; }
quick macro to log times that a section of code takes to run
rin::util::timed!("some operation", { // do something });
will run the code inside the curly braces and at the end print the time it took to run