The ICounterTimingCallback interface defines the method used for a callback to end the measurement of the execution elapsed time.
Ends measurement of execution elapsed time and updates specified counter. See also CounterTiming.endTiming
endTiming(name: string, elapsed: number): void
- name: string - a counter name
- elapsed: number - execution elapsed time in milliseconds to update the counter.