MovingAverageMillisecondsTracker

Used to track a MovingAverage that represents the number of milliseconds that elapse within the execution of a block of code.

Constructors

Link copied to clipboard
constructor()
constructor(weight: Double)

Functions

Link copied to clipboard
open fun beginSample()
Call at the point in execution when the tracker should start measuring elapsed milliseconds.
Link copied to clipboard
open fun endSample()
Call at the point in execution when the tracker should stop measuring elapsed milliseconds and post a new sample.
Link copied to clipboard
open fun getAverage(): Double