macro_rules! time {
( $(> $stopwatches:expr, )+ $e:expr) => { ... };
($e:expr, |$time:pat| $time_action:expr) => { ... };
}
Expand description
Counts the time it takes to evaluate an expression.
Expects <stopwatches> => <expr>
where <stopwatches>
is a comma-separated list of
Stopwatch
.