Lines Matching refs:mPendingSegment
70 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()
114 mPendingSegment.clear(); in recordPendingSegment()