Searched refs:numPeriods (Results 1 – 6 of 6) sorted by relevance
107 int64_t numPeriods = (mCounter64 + period - 1) / period; in roundUp64() local108 mCounter64 = numPeriods * period; in roundUp64()
302 const auto numPeriods = static_cast<float>(vsync - knownVsync) / (period * divisor); in isVSyncInPhase() local303 const auto error = std::abs(std::round(numPeriods) - numPeriods); in isVSyncInPhase()
954 const auto numPeriods = displayRefreshRate.getValue() / layerFrameRate.getValue(); in getFrameRateDivisor() local955 const auto numPeriodsRounded = std::round(numPeriods); in getFrameRateDivisor()956 if (std::abs(numPeriods - numPeriodsRounded) > kThreshold) { in getFrameRateDivisor()
199 int numPeriods = int((duration + mDisplayPeriod/2) / in updateStatsLocked() local204 if (numPeriods < nextBucket) { in updateStatsLocked()
2587 size_t numPeriods = static_cast<size_t>(elapsedTime / stats.vsyncPeriod); in postComposition() local2588 if (numPeriods < SurfaceFlingerBE::NUM_BUCKETS - 1) { in postComposition()2589 getBE().mFrameBuckets[numPeriods] += elapsedTime; in postComposition()
912 float numPeriods = currentMode.getRefreshRate() / frameRateHz;913 float numPeriodsRound = Math.round(numPeriods);914 if (Math.abs(numPeriods - numPeriodsRound) > THRESHOLD_FOR_REFRESH_RATES_DIVISORS) {