Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DFrameTracker.cpp80 mOffset = (mOffset+1) % NUM_FRAME_RECORDS; in advanceFrame()
102 for (size_t i = 0; i < NUM_FRAME_RECORDS; i++) { in clearStats()
122 for (size_t i = 1; i < NUM_FRAME_RECORDS; i++) { in getStats()
123 const size_t index = (offset + i) % NUM_FRAME_RECORDS; in getStats()
151 for (int i = 1; i < NUM_FRAME_RECORDS && numFences > 0; i++) { in processFencesLocked()
152 size_t idx = (mOffset+NUM_FRAME_RECORDS-i) % NUM_FRAME_RECORDS; in processFencesLocked()
186 size_t prevFrameIdx = (newFrameIdx+NUM_FRAME_RECORDS-1) % in updateStatsLocked()
187 NUM_FRAME_RECORDS; in updateStatsLocked()
238 for (size_t i = 1; i < NUM_FRAME_RECORDS; i++) { in dumpStats()
239 const size_t index = (o+i) % NUM_FRAME_RECORDS; in dumpStats()
DFrameTracker.h45 enum { NUM_FRAME_RECORDS = 128 }; enumerator
134 FrameRecord mFrameRecords[NUM_FRAME_RECORDS];