Home
last modified time | relevance | path

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

/frameworks/native/libs/renderengine/skia/debug/
DSkiaMemoryReporter.h75 struct TraceValue { struct
76 TraceValue(const char* units, uint64_t value) : units(units), value(value), count(1) {} in TraceValue() function
77 TraceValue(const TraceValue& v) : units(v.units), value(v.value), count(v.count) {} in TraceValue() argument
87 TraceValue convertUnits(const TraceValue& value); argument
93 TraceValue mTotalSize;
94 TraceValue mPurgeableSize;
98 std::unordered_map<const char*, TraceValue> mCurrentValues;
102 std::unordered_map<std::string, std::unordered_map<const char*, TraceValue>> mResults;
103 std::unordered_map<std::string, std::unordered_map<const char*, TraceValue>> mWrappedResults;
DSkiaMemoryReporter.cpp141 TraceValue traceValue = convertUnits(result->second); in logOutput()
153 TraceValue size = convertUnits(result->second); in logOutput()
161 TraceValue traceValue = convertUnits(itemValues.second); in logOutput()
183 TraceValue total = convertUnits(mTotalSize); in logTotals()
184 TraceValue purgeable = convertUnits(mPurgeableSize); in logTotals()
189 SkiaMemoryReporter::TraceValue SkiaMemoryReporter::convertUnits(const TraceValue& value) { in convertUnits()
190 TraceValue output(value); in convertUnits()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaMemoryTracer.h60 struct TraceValue { struct
61 TraceValue(const char* units, uint64_t value) : units(units), value(value), count(1) {} in TraceValue() argument
62 TraceValue(const TraceValue& v) : units(v.units), value(v.value), count(v.count) {} in TraceValue() function
71 TraceValue convertUnits(const TraceValue& value); argument
78 TraceValue mTotalSize;
79 TraceValue mPurgeableSize;
83 std::unordered_map<std::string, TraceValue> mCurrentValues;
86 std::unordered_map<std::string, std::unordered_map<std::string, TraceValue>> mResults;
DSkiaMemoryTracer.cpp105 TraceValue sizeValue = sizeResult->second; in processElement()
139 TraceValue traceValue = convertUnits(typedValue.second); in logOutput()
148 TraceValue traceValue = convertUnits(result->second); in logOutput()
167 TraceValue total = convertUnits(mTotalSize); in logTotals()
168 TraceValue purgeable = convertUnits(mPurgeableSize); in logTotals()
173 SkiaMemoryTracer::TraceValue SkiaMemoryTracer::convertUnits(const TraceValue& value) { in convertUnits()
174 TraceValue output(value); in convertUnits()
DATraceMemoryDump.h65 struct TraceValue { struct
71 std::unordered_map<std::string, TraceValue> mCurrentValues; argument