Home
last modified time | relevance | path

Searched refs:numVsync (Results 1 – 3 of 3) sorted by relevance

/hardware/google/graphics/common/libhwc2.1/libvrr/RefreshRateCalculator/
DInstantRefreshRateCalculator.cpp53 auto numVsync = durationToVsync((presentTimeNs - mLastPresentTimeNs)); in onPresentInternal() local
54 numVsync = std::max(mMinVsyncNum, std::min(mVsyncRate, numVsync)); in onPresentInternal()
55 auto currentRefreshRate = roundDivide(mVsyncRate, numVsync); in onPresentInternal()
DPeriodRefreshRateCalculator.cpp63 int numVsync = std::max(mMinVsyncNum, durationToVsync(periodNs)); in onPresentInternal() local
65 ++mStatistics[Fraction<int>(mVsyncRate, numVsync)]; in onPresentInternal()
/hardware/google/graphics/common/libhwc2.1/libvrr/Statistics/
DVariableRefreshRateStatistic.cpp148 int numVsync = roundDivide((presentTimeInBootClockNs - mLastPresentTimeInBootClockNs), in onPresent() local
150 numVsync = std::max(1, std::min(mTeFrequency, numVsync)); in onPresent()
151 mDisplayPresentProfile.mNumVsync = numVsync; in onPresent()
241 int numVsync = roundDivide(durationFromLastPresentNs, mTeIntervalNs); in updateIdleStats() local
244 if (numVsync <= mDisplayPresentProfile.mNumVsync) return; in updateIdleStats()
248 auto count = (numVsync - 1) / mDisplayPresentProfile.mNumVsync; in updateIdleStats()