Home
last modified time | relevance | path

Searched refs:ProfileData (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/
DJankTracker.cpp125 mData = new ProfileData; in JankTracker()
136 munmap(mData, sizeof(ProfileData)); in freeData()
146 if (regionSize < static_cast<int>(sizeof(ProfileData))) { in switchStorageToAshmem()
148 regionSize, static_cast<unsigned int>(sizeof(ProfileData))); in switchStorageToAshmem()
151 ProfileData* newData = reinterpret_cast<ProfileData*>( in switchStorageToAshmem()
152 mmap(NULL, sizeof(ProfileData), PROT_READ | PROT_WRITE, in switchStorageToAshmem()
250 if (bufsize < sizeof(ProfileData)) { in dumpBuffer()
253 const ProfileData* data = reinterpret_cast<const ProfileData*>(buffer); in dumpBuffer()
257 void JankTracker::dumpData(const ProfileData* data, int fd) { in dumpData()
296 uint32_t JankTracker::findPercentile(const ProfileData* data, int percentile) { in findPercentile()
DJankTracker.h44 struct ProfileData { struct
77 static uint32_t findPercentile(const ProfileData* data, int p);
78 static void dumpData(const ProfileData* data, int fd);
82 ProfileData* mData;