endTiming method
Ends measurement of execution elapsed time and updates specified counter.
name
a counter nameelapsed
execution elapsed time in milliseconds to update the counter.
See CounterTiming.endTiming
Implementation
@override
void endTiming(String? name, int elapsed) {
var counter = get(name, CounterType.Interval);
_calculateStats(counter, elapsed);
_update();
}