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() function
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.cpp136 TraceValue traceValue = convertUnits(typedValue.second); in logOutput()
144 TraceValue traceValue = convertUnits(result->second); in logOutput()
154 TraceValue total = convertUnits(mTotalSize); in logTotals()
155 TraceValue purgeable = convertUnits(mPurgeableSize); in logTotals()
160 SkiaMemoryTracer::TraceValue SkiaMemoryTracer::convertUnits(const TraceValue& value) { in convertUnits()
161 TraceValue output(value); in convertUnits()