reset method

void reset()

Resets all metrics to initial state.

Implementation

void reset() {
  _frameTimesMicros.fillRange(0, _sampleSize, 0);
  _renderTimesMicros.fillRange(0, _sampleSize, 0);
  _frameTimeIndex = 0;
  _renderTimeIndex = 0;
  _frameTimeCount = 0;
  _renderTimeCount = 0;
  _lastFrameElapsedMicros = null;
  _frameCount = 0;
  _skippedFrames = 0;
  _lastRenderDurationMicros = 0;
}