Searched refs:SAMPLE_NUMBER (Results 1 – 2 of 2) sorted by relevance
105 static float alpha = 1.f / SAMPLE_NUMBER; in UpdateFPSByAverageSamplingMethod()110 alpha = 1.f / SAMPLE_NUMBER; in UpdateFPSByAverageSamplingMethod()132 static int32_t deltaTimeQueue[SAMPLE_NUMBER] = {0}; in UpdateFPSByPreciseSamplingMethod()153 if (!isQueueFull && (frameCount == SAMPLE_NUMBER)) { in UpdateFPSByPreciseSamplingMethod()156 frameCount %= SAMPLE_NUMBER; in UpdateFPSByPreciseSamplingMethod()161 fps_ = 1.f * SAMPLE_NUMBER / sumDuration * MILLISECONDS_PER_SECOND; in UpdateFPSByPreciseSamplingMethod()
33 static constexpr int16_t SAMPLE_NUMBER = 100; variable