Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DFrameTracker.cpp84 mOffset = (mOffset+1) % NUM_FRAME_RECORDS; in advanceFrame()
106 for (size_t i = 0; i < NUM_FRAME_RECORDS; i++) { in clearStats()
126 for (size_t i = 1; i < NUM_FRAME_RECORDS; i++) { in getStats()
127 const size_t index = (offset + i) % NUM_FRAME_RECORDS; in getStats()
155 for (int i = 1; i < NUM_FRAME_RECORDS && numFences > 0; i++) { in processFencesLocked()
156 size_t idx = (mOffset+NUM_FRAME_RECORDS-i) % NUM_FRAME_RECORDS; in processFencesLocked()
190 size_t prevFrameIdx = (newFrameIdx+NUM_FRAME_RECORDS-1) % in updateStatsLocked()
191 NUM_FRAME_RECORDS; in updateStatsLocked()
242 for (size_t i = 1; i < NUM_FRAME_RECORDS; i++) { in dumpStats()
243 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];