Searched refs:idealPeriod (Results 1 – 3 of 3) sorted by relevance
87 nsecs_t VSyncPredictor::idealPeriod() const { in idealPeriod() function in android::scheduler::VSyncPredictor98 (timestamp - aValidTimestamp) % idealPeriod() * kMaxPercent / idealPeriod(); in validate()109 const auto distancePercent = std::abs(*iter - timestamp) * kMaxPercent / idealPeriod(); in validate()120 return mRateMap.find(idealPeriod())->second.slope; in currentPeriod()133 const auto slope = mRateMap.find(idealPeriod())->second.slope; in minFramePeriodLocked()175 mRateMap[idealPeriod()] = {idealPeriod(), 0}; in addVsyncTimestamp()199 auto it = mRateMap.find(idealPeriod()); in addVsyncTimestamp()237 it->second = {idealPeriod(), 0}; in addVsyncTimestamp()245 auto const percent = std::abs(anticipatedPeriod - idealPeriod()) * kMaxPercent / idealPeriod(); in addVsyncTimestamp()247 it->second = {idealPeriod(), 0}; in addVsyncTimestamp()[all …]
75 mRateMap.find(idealPeriod())->second.slope; in isCurrentMode()99 VsyncTimeline(TimePoint knownVsync, Period idealPeriod, std::optional<Fps> renderRateOpt);138 nsecs_t idealPeriod() const REQUIRES(mMutex);
221 auto constexpr idealPeriod = 16600000; in TEST_F() local225 tracker.setDisplayModePtr(displayMode(idealPeriod)); in TEST_F()240 auto idealPeriod = 11110000; in TEST_F() local244 tracker.setDisplayModePtr(displayMode(idealPeriod)); in TEST_F()267 auto idealPeriod = 45454545; in TEST_F() local271 tracker.setDisplayModePtr(displayMode(idealPeriod)); in TEST_F()293 auto idealPeriod = 2000000; in TEST_F() local297 tracker.setDisplayModePtr(displayMode(idealPeriod)); in TEST_F()350 auto idealPeriod = 100000; in TEST_F() local351 tracker.setDisplayModePtr(displayMode(idealPeriod)); in TEST_F()[all …]