AbstractAbstractelapsedReturns the elapsed milliseconds since the initial value
AbstractinitialReturns the initial value, or undefined
AbstractlastAbstracttimespanReturns the millisecond period from the oldest and newest value. Returns NaN if there's no initial/last values
AbstractonReset tracker
Adds a value, returning computed result.
At this point, we check if the buffer is larger than resetAfterSamples. If so, reset() is called.
If not, we check sampleLimit. If the buffer is twice as large as sample limit, trimStore() is
called to take it down to sample limit, and onTrimmed() is called.
Abstracttrim
Base tracker class