Macro tempus_fugit::measure
[−]
[src]
macro_rules! measure { ($e:expr) => { ... }; }
This macro measures the execution time of an expression, then returns a (result, duration) tuple where:
result
is the result of executing the expression on its ownduration
is a chrono::Duration.