ICounterTimingCallback

Interface for a callback to end the measurement of the execution elapsed time.

Description

The ICounterTimingCallback interface defines the method used for a callback to end the measurement of the execution elapsed time.

Instance methods

endTiming

Ends measurement of execution elapsed time and updates specified counter. See also CounterTiming.endTiming

void endTiming(String name, float elapsed)

  • name: string - a counter name
  • elapsed: number - execution elapsed time in milliseconds to update the counter.