Home
last modified time | relevance | path

Searched refs:earlyHint (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/surfaceflinger/DisplayHardware/
DPowerAdvisor.cpp363 std::optional<nsecs_t> PowerAdvisor::estimateWorkDuration(bool earlyHint) { in estimateWorkDuration() argument
364 if (earlyHint && (!mExpectedPresentTimes.isFull() || !mCommitStartTimes.isFull())) { in estimateWorkDuration()
384 nsecs_t referenceFrameStartTime = (earlyHint ? mCommitStartTimes[-1] : mCommitStartTimes[0]); in estimateWorkDuration()
389 nsecs_t lastFramePresentTime = (earlyHint ? mExpectedPresentTimes[-1] : mLastPresentFenceTime); in estimateWorkDuration()
419 estimatedTiming = earlyHint in estimateWorkDuration()
433 idleDuration += earlyHint ? 0 : referenceTiming.hwcPresentDelayDuration; in estimateWorkDuration()
449 nsecs_t estimatedFlingerEndTime = earlyHint ? estimatedEndTime : mLastSfPresentEndTime; in estimateWorkDuration()
DPowerAdvisor.h246 std::optional<nsecs_t> estimateWorkDuration(bool earlyHint);