Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DProfileData.cpp177 uint32_t framebucket = frameCountIndexForFrameTime(duration); in reportFrame() local
178 if (framebucket <= mFrameCounts.size()) { in reportFrame()
179 mFrameCounts[framebucket]++; in reportFrame()
181 framebucket = (ns2ms(duration) - kSlowFrameBucketStartMs) / kSlowFrameBucketIntervalMs; in reportFrame()
182 framebucket = std::min(framebucket, static_cast<uint32_t>(mSlowFrameCounts.size() - 1)); in reportFrame()
183 mSlowFrameCounts[framebucket]++; in reportFrame()