Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/pipeline/skia/
DSkiaMemoryTracer.h57 struct TraceValue { struct
58 TraceValue(const char* units, uint64_t value) : units(units), value(value), count(1) {} in TraceValue() function
59 TraceValue(const TraceValue& v) : units(v.units), value(v.value), count(v.count) {} in TraceValue() argument
68 TraceValue convertUnits(const TraceValue& value); argument
75 TraceValue mTotalSize;
76 TraceValue mPurgeableSize;
80 std::unordered_map<const char*, TraceValue> mCurrentValues;
83 std::unordered_map<std::string, std::unordered_map<const char*, TraceValue>> mResults;
DSkiaMemoryTracer.cpp109 TraceValue sizeValue = sizeResult->second; in processElement()
137 TraceValue traceValue = convertUnits(typedValue.second); in logOutput()
145 TraceValue traceValue = convertUnits(result->second); in logOutput()
155 TraceValue total = convertUnits(mTotalSize); in logTotals()
156 TraceValue purgeable = convertUnits(mPurgeableSize); in logTotals()
161 SkiaMemoryTracer::TraceValue SkiaMemoryTracer::convertUnits(const TraceValue& value) { in convertUnits()
162 TraceValue output(value); in convertUnits()