Searched refs:getPeriodNsecs (Results 1 – 16 of 16) sorted by relevance
53 constexpr auto kPeriod = kExpectedFps.getPeriodNsecs(); in TEST_F()69 constexpr auto kPeriod = kExpectedFps.getPeriodNsecs(); in TEST_F()85 const auto period = (50_Hz).getPeriodNsecs(); in TEST_F()126 constexpr auto kExpectedPeriod = kExpectedFps.getPeriodNsecs(); in TEST_F()127 constexpr auto kSmallPeriod = (250_Hz).getPeriodNsecs(); in TEST_F()150 constexpr auto kExpectedPeriod = kExpectedFps.getPeriodNsecs(); in TEST_F()151 constexpr auto kLargePeriod = (9_Hz).getPeriodNsecs(); in TEST_F()
58 static constexpr auto LO_FPS_PERIOD = LO_FPS.getPeriodNsecs();61 static constexpr auto HI_FPS_PERIOD = HI_FPS.getPeriodNsecs();118 time += frameRate.getPeriodNsecs(); in recordFramesAndExpect()
138 validateOffsets(offsets, std::chrono::nanoseconds(refreshRate.getPeriodNsecs())); in TEST_F()
59 std::chrono::nanoseconds(kMinFpsForFrequentLayer.getPeriodNsecs()) + 1ms;271 static constexpr nsecs_t kMinPeriodBetweenFrames = (240_Hz).getPeriodNsecs();275 static constexpr nsecs_t kMaxPeriodBetweenFrames = kMinFpsForFrequentLayer.getPeriodNsecs();
81 constexpr nsecs_t kInitialPeriod = (60_Hz).getPeriodNsecs(); in createTracker()
233 return mRefreshRateConfigs->getActiveMode()->getFps().getPeriodNsecs();
176 mVsyncSchedule->getTracker().currentPeriod() ?: refreshRate.getPeriodNsecs(); in makeGetVsyncPeriodFunction()440 setVsyncPeriod(refreshRate.getPeriodNsecs()); in resyncToHardwareVsync()
55 const auto [it, _] = mOffsetsCache.try_emplace(fps, constructOffsets(fps.getPeriodNsecs())); in getConfigsForRefreshRateLocked()
162 const auto displayPeriod = refreshRate.getPeriodNsecs(); in calculateNonExactMatchingLayerScoreLocked()163 const auto layerPeriod = layer.desiredRefreshRate.getPeriodNsecs(); in calculateNonExactMatchingLayerScoreLocked()
518 const nsecs_t deltaToVsync = refreshRate.getPeriodNsecs() > 0 in classifyJankLocked()519 ? std::abs(presentDelta) % refreshRate.getPeriodNsecs() in classifyJankLocked()542 deltaToVsync >= refreshRate.getPeriodNsecs() - in classifyJankLocked()563 nsecs_t adjustedDeadline = mLastLatchTime + refreshRate.getPeriodNsecs(); in classifyJankLocked()580 deltaToVsync >= refreshRate.getPeriodNsecs() - in classifyJankLocked()912 deltaToVsync = mRefreshRate.getPeriodNsecs() > 0 in classifyJank()913 ? std::abs(presentDelta) % mRefreshRate.getPeriodNsecs() in classifyJank()943 deltaToVsync >= (mRefreshRate.getPeriodNsecs() - in classifyJank()972 deltaToVsync >= (mRefreshRate.getPeriodNsecs() - in classifyJank()985 mRefreshRate.getPeriodNsecs() + in classifyJank()[all …]
35 constexpr nsecs_t kVsyncPeriods[] = {(30_Hz).getPeriodNsecs(), (60_Hz).getPeriodNsecs(),36 (72_Hz).getPeriodNsecs(), (90_Hz).getPeriodNsecs(),37 (120_Hz).getPeriodNsecs()};
30 .setVsyncPeriod(refreshRate.getPeriodNsecs())
55 constexpr nsecs_t getPeriodNsecs() const { return mPeriod; } in getPeriodNsecs() function
134 nsecs_t getVsyncPeriod() const { return mFps.getPeriodNsecs(); } in getVsyncPeriod()
267 return getActiveMode()->getFps().getPeriodNsecs(); in getVsyncPeriodFromHWC()
2349 const auto vsyncPeriod = stats.vsyncPeriod ?: (60_Hz).getPeriodNsecs(); in setCompositorTimingSnapped()3444 const nsecs_t vsyncPeriod = currRefreshRate.getPeriodNsecs(); in initScheduler()3477 refreshRate.getPeriodNsecs()); in updatePhaseConfiguration()7231 auto pipelineDepth = presentLatency.count() / refreshRate.getPeriodNsecs(); in calculateMaxAcquiredBufferCount()7232 if (presentLatency.count() % refreshRate.getPeriodNsecs()) { in calculateMaxAcquiredBufferCount()