Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DProfileData.cpp151 uint32_t framebucket = frameCountIndexForFrameTime(duration); in reportFrame() local
152 if (framebucket <= mFrameCounts.size()) { in reportFrame()
153 mFrameCounts[framebucket]++; in reportFrame()
155 framebucket = (ns2ms(duration) - kSlowFrameBucketStartMs) / kSlowFrameBucketIntervalMs; in reportFrame()
156 framebucket = std::min(framebucket, static_cast<uint32_t>(mSlowFrameCounts.size() - 1)); in reportFrame()
157 mSlowFrameCounts[framebucket]++; in reportFrame()