beginTiming method

  1. @override
CounterTiming beginTiming(
  1. String name
)
inherited

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 a CounterTiming callback object to end timing.

Implementation

@override
CounterTiming beginTiming(String name) {
  return CounterTiming(name, this);
}