Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DFrameTracker.cpp83 mOffset = (mOffset+1) % NUM_FRAME_RECORDS; in advanceFrame()
105 for (size_t i = 0; i < NUM_FRAME_RECORDS; i++) { in clearStats()
125 for (size_t i = 1; i < NUM_FRAME_RECORDS; i++) { in getStats()
126 const size_t index = (offset + i) % NUM_FRAME_RECORDS; in getStats()
154 for (int i = 1; i < NUM_FRAME_RECORDS && numFences > 0; i++) { in processFencesLocked()
155 size_t idx = (mOffset+NUM_FRAME_RECORDS-i) % NUM_FRAME_RECORDS; in processFencesLocked()
189 size_t prevFrameIdx = (newFrameIdx+NUM_FRAME_RECORDS-1) % in updateStatsLocked()
190 NUM_FRAME_RECORDS; in updateStatsLocked()
241 for (size_t i = 1; i < NUM_FRAME_RECORDS; i++) { in dumpStats()
242 const size_t index = (o+i) % NUM_FRAME_RECORDS; in dumpStats()
DFrameTracker.h42 enum { NUM_FRAME_RECORDS = 128 }; enumerator
131 FrameRecord mFrameRecords[NUM_FRAME_RECORDS];