beginTiming abstract method

CounterTiming beginTiming(
  1. String name
)

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

CounterTiming beginTiming(String name);