Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DGpuMemoryTracker.cpp44 static std::array<TypeStats, NUM_TYPES> gObjectStats; variable
50 gObjectStats[static_cast<int>(mType)].totalSize += delta; in notifySizeChanged()
57 gObjectStats[static_cast<int>(mType)].count++; in startTrackingObject()
64 gObjectStats[static_cast<int>(mType)].count--; in stopTrackingObject()
93 const TypeStats& stats = gObjectStats[type]; in dump()
102 return gObjectStats[static_cast<int>(type)].count; in getInstanceCount()
106 return gObjectStats[static_cast<int>(type)].totalSize; in getTotalSize()
114 const TypeStats& stats = gObjectStats[type]; in onFrameCompleted()