Searched refs:earlyHint (Results 1 – 2 of 2) sorted by relevance
363 std::optional<nsecs_t> PowerAdvisor::estimateWorkDuration(bool earlyHint) { in estimateWorkDuration() argument364 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()
246 std::optional<nsecs_t> estimateWorkDuration(bool earlyHint);