Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DJankTracker.cpp274 uint32_t framebucket = frameCountIndexForFrameTime(totalDuration); in addFrame() local
275 LOG_ALWAYS_FATAL_IF(framebucket < 0, "framebucket < 0 (%u)", framebucket); in addFrame()
278 mData->frameCounts[framebucket]++; in addFrame()
287 if (framebucket <= mData->frameCounts.size()) { in addFrame()
288 mData->frameCounts[framebucket]++; in addFrame()
290 framebucket = (ns2ms(totalDuration) - kSlowFrameBucketStartMs) in addFrame()
292 framebucket = std::min(framebucket, in addFrame()
294 framebucket = std::max(framebucket, 0u); in addFrame()
295 mData->slowFrameCounts[framebucket]++; in addFrame()