Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DProfileData.cpp157 uint32_t framebucket = frameCountIndexForFrameTime(duration); in reportFrame() local
158 if (framebucket <= mFrameCounts.size()) { in reportFrame()
159 mFrameCounts[framebucket]++; in reportFrame()
161 framebucket = (ns2ms(duration) - kSlowFrameBucketStartMs) / kSlowFrameBucketIntervalMs; in reportFrame()
162 framebucket = std::min(framebucket, static_cast<uint32_t>(mSlowFrameCounts.size() - 1)); in reportFrame()
163 mSlowFrameCounts[framebucket]++; in reportFrame()