Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DGpuMemoryTracker.cpp43 static std::array<TypeStats, NUM_TYPES> gObjectStats; variable
49 gObjectStats[static_cast<int>(mType)].totalSize += delta; in notifySizeChanged()
56 gObjectStats[static_cast<int>(mType)].count++; in startTrackingObject()
63 gObjectStats[static_cast<int>(mType)].count--; in stopTrackingObject()
92 const TypeStats& stats = gObjectStats[type]; in dump()
101 return gObjectStats[static_cast<int>(type)].count; in getInstanceCount()
105 return gObjectStats[static_cast<int>(type)].totalSize; in getTotalSize()
113 const TypeStats& stats = gObjectStats[type]; in onFrameCompleted()