diff options
Diffstat (limited to 'libs/hwui/ProfileData.h')
-rw-r--r-- | libs/hwui/ProfileData.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libs/hwui/ProfileData.h b/libs/hwui/ProfileData.h index d53ee29511f0..1e688ab6fa68 100644 --- a/libs/hwui/ProfileData.h +++ b/libs/hwui/ProfileData.h @@ -70,8 +70,8 @@ public: void histogramForEach(const std::function<void(HistogramEntry)>& callback) const; constexpr static int HistogramSize() { - return std::tuple_size<decltype(ProfileData::mFrameCounts)>::value - + std::tuple_size<decltype(ProfileData::mSlowFrameCounts)>::value; + return std::tuple_size<decltype(ProfileData::mFrameCounts)>::value + + std::tuple_size<decltype(ProfileData::mSlowFrameCounts)>::value; } // Visible for testing @@ -82,7 +82,7 @@ private: // Open our guts up to unit tests friend class MockProfileData; - std::array <uint32_t, NUM_BUCKETS> mJankTypeCounts; + std::array<uint32_t, NUM_BUCKETS> mJankTypeCounts; // See comments on kBucket* constants for what this holds std::array<uint32_t, 57> mFrameCounts; // Holds a histogram of frame times in 50ms increments from 150ms to 5s @@ -106,4 +106,3 @@ public: } /* namespace uirenderer */ } /* namespace android */ - |