Home
last modified time | relevance | path

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

/frameworks/base/include/androidfw/
DByteBucketArray.h38 for (size_t i = 0; i < NUM_BUCKETS; i++) { in ~ByteBucketArray()
47 return NUM_BUCKETS * BUCKET_SIZE; in size()
89 enum { NUM_BUCKETS = 16, BUCKET_SIZE = 16 }; enumerator
91 T* mBuckets[NUM_BUCKETS];
/frameworks/base/libs/hwui/
DJankTracker.h39 NUM_BUCKETS, enumerator
45 std::array<uint32_t, NUM_BUCKETS> jankTypeCounts;
80 std::array<int64_t, NUM_BUCKETS> mThresholds;
DJankTracker.cpp241 for (int i = 0; i < NUM_BUCKETS; i++) { in addFrame()
269 for (int i = 0; i < NUM_BUCKETS; i++) { in dumpData()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.h525 static const size_t NUM_BUCKETS = 8; // < 1-7, 7+ variable
526 nsecs_t mFrameBuckets[NUM_BUCKETS];
DSurfaceFlinger.cpp1099 if (numPeriods < NUM_BUCKETS - 1) { in postComposition()
1102 mFrameBuckets[NUM_BUCKETS - 1] += elapsedTime; in postComposition()
2724 for (size_t b = 0; b < NUM_BUCKETS - 1; ++b) { in dumpStaticScreenStats()
2731 float bucketTimeSec = mFrameBuckets[NUM_BUCKETS - 1] / 1e9; in dumpStaticScreenStats()
2733 static_cast<float>(mFrameBuckets[NUM_BUCKETS - 1]) / mTotalTime; in dumpStaticScreenStats()
2735 NUM_BUCKETS - 1, bucketTimeSec, percent); in dumpStaticScreenStats()
DSurfaceFlinger_hwc1.cpp1092 if (numPeriods < NUM_BUCKETS - 1) { in postComposition()
1095 mFrameBuckets[NUM_BUCKETS - 1] += elapsedTime; in postComposition()
2740 for (size_t b = 0; b < NUM_BUCKETS - 1; ++b) { in dumpStaticScreenStats()
2747 float bucketTimeSec = mFrameBuckets[NUM_BUCKETS - 1] / 1e9; in dumpStaticScreenStats()
2749 static_cast<float>(mFrameBuckets[NUM_BUCKETS - 1]) / mTotalTime; in dumpStaticScreenStats()
2751 NUM_BUCKETS - 1, bucketTimeSec, percent); in dumpStaticScreenStats()