summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--services/surfaceflinger/DisplayHardware/PowerAdvisor.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/services/surfaceflinger/DisplayHardware/PowerAdvisor.h b/services/surfaceflinger/DisplayHardware/PowerAdvisor.h
index 859cf3d369..c4a35e0af2 100644
--- a/services/surfaceflinger/DisplayHardware/PowerAdvisor.h
+++ b/services/surfaceflinger/DisplayHardware/PowerAdvisor.h
@@ -251,11 +251,11 @@ private:
RingBuffer<nsecs_t, 2> mCommitStartTimes;
// Buffer of recent expected present times
RingBuffer<nsecs_t, 2> mExpectedPresentTimes;
- // Most recent present fence time, set at the end of the frame once known
+ // Most recent present fence time, provided by SF after composition engine finishes presenting
nsecs_t mLastPresentFenceTime = -1;
- // Most recent present fence time, set at the end of the frame once known
+ // Most recent composition engine present end time, returned with the present fence from SF
nsecs_t mLastSfPresentEndTime = -1;
- // Target for the entire pipeline including gpu
+ // Target duration for the entire pipeline including gpu
std::optional<nsecs_t> mTotalFrameTargetDuration;
// Updated list of display IDs
std::vector<DisplayId> mDisplayIds;