beginTiming method
Begins measurement of execution time interval.
It returns CounterTiming
object which has to be called at
CounterTiming.endTiming
to end the measurement and update the counter.
name
a counter name of Interval type. Return aCounterTiming
callback object to end timing.
Implementation
@override
CounterTiming beginTiming(String name) {
return CounterTiming(name, this);
}