Abstract
Returns the elapsed time, in milliseconds since the initial value
Returns the oldest value in the buffer
Last seen value. If no values have been added, it will return the initial value
Returns number of recorded values (includes the initial value in the count)
Notification that buffer has been trimmed
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.
Rest
...p: V[]
A tracked value of type
V
.