Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/tests/unit/
DGraphicsStatsServiceTests.cpp66 for (size_t i = 0; i < mockData.frameCounts.size(); i++) { in TEST()
67 mockData.frameCounts[i] = ((i % 10) + 1) * 2; in TEST()
86 EXPECT_EQ(mockData.frameCounts.size() + mockData.slowFrameCounts.size(), in TEST()
90 if (i < mockData.frameCounts.size()) { in TEST()
94 int temp = i - mockData.frameCounts.size(); in TEST()
112 for (size_t i = 0; i < mockData.frameCounts.size(); i++) { in TEST()
113 mockData.frameCounts[i] = ((i % 10) + 1) * 2; in TEST()
121 for (size_t i = 0; i < mockData.frameCounts.size(); i++) { in TEST()
122 mockData.frameCounts[i] = (i % 5) + 1; in TEST()
142 EXPECT_EQ(mockData.frameCounts.size() + mockData.slowFrameCounts.size(), in TEST()
[all …]
/frameworks/base/libs/hwui/
DJankTracker.cpp212 for (size_t i = 0; i < mData->frameCounts.size(); i++) { in switchStorageToAshmem()
213 newData->frameCounts[i] >>= divider; in switchStorageToAshmem()
214 newData->frameCounts[i] += mData->frameCounts[i]; in switchStorageToAshmem()
278 mData->frameCounts[framebucket]++; in addFrame()
287 if (framebucket <= mData->frameCounts.size()) { in addFrame()
288 mData->frameCounts[framebucket]++; in addFrame()
336 for (size_t i = 0; i < data->frameCounts.size(); i++) { in dumpData()
338 data->frameCounts[i]); in dumpData()
349 mData->frameCounts.fill(0); in reset()
368 for (int i = data->frameCounts.size() - 1; i >= 0; i--) { in findPercentile()
[all …]
DJankTracker.h48 std::array<uint32_t, 57> frameCounts; member
/frameworks/base/libs/hwui/service/
DGraphicsStatsService.cpp41 std::tuple_size<decltype(ProfileData::frameCounts)>::value +
116 for (size_t i = 0; i < data->frameCounts.size(); i++) { in mergeProfileDataIntoProto()
127 bucket->set_frame_count(bucket->frame_count() + data->frameCounts[i]); in mergeProfileDataIntoProto()
136 constexpr int offset = std::tuple_size<decltype(ProfileData::frameCounts)>::value; in mergeProfileDataIntoProto()