Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/
DOccupancyTracker.cpp70 mPendingSegment.totalTime += delta; in registerOccupancyChange()
71 if (mPendingSegment.mOccupancyTimes.count(mLastOccupancy)) { in registerOccupancyChange()
72 mPendingSegment.mOccupancyTimes[mLastOccupancy] += delta; in registerOccupancyChange()
74 mPendingSegment.mOccupancyTimes[mLastOccupancy] = delta; in registerOccupancyChange()
78 ++mPendingSegment.numFrames; in registerOccupancyChange()
98 if (mPendingSegment.numFrames > LONG_SEGMENT_THRESHOLD) { in recordPendingSegment()
101 for (const auto& timePair : mPendingSegment.mOccupancyTimes) { in recordPendingSegment()
104 mPendingSegment.totalTime; in recordPendingSegment()
108 mSegmentHistory.push_front({mPendingSegment.totalTime, in recordPendingSegment()
109 mPendingSegment.numFrames, occupancyAverage, usedThirdBuffer}); in recordPendingSegment()
[all …]
/frameworks/native/libs/gui/include/gui/
DOccupancyTracker.h36 : mPendingSegment(), in OccupancyTracker()
94 PendingSegment mPendingSegment; variable