Searched refs:ProfileData (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/libs/hwui/ |
D | ProfileDataContainer.cpp | 32 munmap(mData, sizeof(ProfileData)); in freeData() 47 mData = new ProfileData; in rotateStorage() 60 if (regionSize < static_cast<int>(sizeof(ProfileData))) { in switchStorageToAshmem() 62 static_cast<unsigned int>(sizeof(ProfileData))); in switchStorageToAshmem() 65 ProfileData* newData = reinterpret_cast<ProfileData*>( in switchStorageToAshmem() 66 mmap(NULL, sizeof(ProfileData), PROT_READ | PROT_WRITE, MAP_SHARED, ashmemfd, 0)); in switchStorageToAshmem()
|
D | ProfileData.h | 47 class ProfileData { 48 PREVENT_COPY_AND_ASSIGN(ProfileData); 51 ProfileData() { reset(); } in ProfileData() function 54 void mergeWith(const ProfileData& other); 74 return std::tuple_size<decltype(ProfileData::mFrameCounts)>::value + in HistogramSize() 75 std::tuple_size<decltype(ProfileData::mSlowFrameCounts)>::value; in HistogramSize() 98 class MockProfileData : public ProfileData {
|
D | ProfileData.cpp | 63 uint32_t ProfileData::frameTimeForFrameCountIndex(uint32_t index) { in frameTimeForFrameCountIndex() 76 uint32_t ProfileData::frameTimeForSlowFrameCountIndex(uint32_t index) { in frameTimeForSlowFrameCountIndex() 80 void ProfileData::mergeWith(const ProfileData& other) { in mergeWith() 103 void ProfileData::dump(int fd) const { in dump() 122 uint32_t ProfileData::findPercentile(int percentile) const { in findPercentile() 140 void ProfileData::reset() { in reset() 149 void ProfileData::reportFrame(int64_t duration) { in reportFrame() 161 void ProfileData::histogramForEach(const std::function<void(HistogramEntry)>& callback) const { in histogramForEach()
|
D | ProfileDataContainer.h | 36 ProfileData* get() { return mData; } in get() 37 ProfileData* operator->() { return mData; } 44 ProfileData* mData = new ProfileData;
|
D | JankTracker.h | 74 const ProfileData* data);
|
D | JankTracker.cpp | 188 const ProfileData* data) { in dumpData()
|
D | Android.bp | 245 "ProfileData.cpp",
|
/frameworks/base/services/core/jni/ |
D | com_android_server_GraphicsStatsService.cpp | 32 return sizeof(ProfileData); in getAshmemSize() 44 const ProfileData* data = nullptr; in addToDump() 49 LOG_ALWAYS_FATAL_IF(buffer.size() != sizeof(ProfileData), in addToDump() 50 "Buffer size %zu doesn't match expected %zu!", buffer.size(), sizeof(ProfileData)); in addToDump() 51 data = reinterpret_cast<const ProfileData*>(buffer.get()); in addToDump() 83 LOG_ALWAYS_FATAL_IF(buffer.size() != sizeof(ProfileData), in saveBuffer() 84 "Buffer size %zu doesn't match expected %zu!", buffer.size(), sizeof(ProfileData)); in saveBuffer() 92 const ProfileData* data = reinterpret_cast<const ProfileData*>(buffer.get()); in saveBuffer()
|
/frameworks/base/libs/hwui/service/ |
D | GraphicsStatsService.h | 47 const ProfileData* data); 52 int64_t startTime, int64_t endTime, const ProfileData* data);
|
D | GraphicsStatsService.cpp | 42 constexpr int sHistogramSize = ProfileData::HistogramSize(); 46 int64_t startTime, int64_t endTime, const ProfileData* data); 158 const ProfileData* data) { in mergeProfileDataIntoProto() 193 data->histogramForEach([&](ProfileData::HistogramEntry entry) { in mergeProfileDataIntoProto() 261 const ProfileData* data) { in saveBuffer() 327 int64_t startTime, int64_t endTime, const ProfileData* data) { in addToDump()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | GraphicsStatsServiceTests.cpp | 95 expectedBucket = ProfileData::frameTimeForFrameCountIndex(i); in TEST() 99 expectedBucket = ProfileData::frameTimeForSlowFrameCountIndex(temp); in TEST() 152 expectedBucket = ProfileData::frameTimeForFrameCountIndex(i); in TEST() 157 expectedBucket = ProfileData::frameTimeForSlowFrameCountIndex(temp); in TEST()
|