MovingAverageTimer

constructor()

Create a new MovingAverageTimer with a ring buffer size of 100 and a resolution of milliseconds.


constructor(bufSize: Int)

Create a new MovingAverageTimer with the specified buffer size and a resolution of milliseconds.

Parameters

bufSize

the size of the ring buffer


constructor(bufSize: Int, formatStringResolution: Time)

Create a new MovingAverageTimer with the specified buffer size and resolution.

Parameters

bufSize

the size of the ring buffer

formatStringResolution

the resolution of the timer for format strings