Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/tests/unit/
DGraphicsStatsServiceTests.cpp69 for (size_t i = 0; i < mockData.slowFrameCounts.size(); i++) { in TEST()
70 mockData.slowFrameCounts[i] = (i % 5) + 1; in TEST()
86 EXPECT_EQ(mockData.frameCounts.size() + mockData.slowFrameCounts.size(), in TEST()
115 for (size_t i = 0; i < mockData.slowFrameCounts.size(); i++) { in TEST()
116 mockData.slowFrameCounts[i] = (i % 5) + 1; in TEST()
124 for (size_t i = 0; i < mockData.slowFrameCounts.size(); i++) { in TEST()
125 mockData.slowFrameCounts[i] = ((i % 10) + 1) * 2; in TEST()
142 EXPECT_EQ(mockData.frameCounts.size() + mockData.slowFrameCounts.size(), in TEST()
/frameworks/base/libs/hwui/
DJankTracker.cpp293 static_cast<uint32_t>(mData->slowFrameCounts.size() - 1)); in addFrame()
295 mData->slowFrameCounts[framebucket]++; in addFrame()
340 for (size_t i = 0; i < data->slowFrameCounts.size(); i++) { in dumpData()
342 data->slowFrameCounts[i]); in dumpData()
350 mData->slowFrameCounts.fill(0); in reset()
362 for (int i = data->slowFrameCounts.size() - 1; i >= 0; i--) { in findPercentile()
363 remaining -= data->slowFrameCounts[i]; in findPercentile()
DJankTracker.h50 std::array<uint16_t, 97> slowFrameCounts; member
/frameworks/base/libs/hwui/service/
DGraphicsStatsService.cpp42 std::tuple_size<decltype(ProfileData::slowFrameCounts)>::value;
129 for (size_t i = 0; i < data->slowFrameCounts.size(); i++) { in mergeProfileDataIntoProto()
141 bucket->set_frame_count(bucket->frame_count() + data->slowFrameCounts[i]); in mergeProfileDataIntoProto()