beginTiming method

Timing beginTiming (String name)

Begins measurement of execution time interval. It returns Timing object which has to be called at Timing.endTiming to end the measurement and update the counter.

  • name a counter name of Interval type. Return a Timing callback object to end timing.