Searched refs:TraceValue (Results 1 – 5 of 5) sorted by relevance
/aosp12/frameworks/native/libs/renderengine/skia/debug/ |
H A D | SkiaMemoryReporter.h | 74 struct TraceValue { struct 75 TraceValue(const char* units, uint64_t value) : units(units), value(value), count(1) {} in TraceValue() function 76 TraceValue(const TraceValue& v) : units(v.units), value(v.value), count(v.count) {} in TraceValue() function 86 TraceValue convertUnits(const TraceValue& value); argument 92 TraceValue mTotalSize; 93 TraceValue mPurgeableSize; 97 std::unordered_map<const char*, TraceValue> mCurrentValues; 101 std::unordered_map<std::string, std::unordered_map<const char*, TraceValue>> mResults; 102 std::unordered_map<std::string, std::unordered_map<const char*, TraceValue>> mWrappedResults;
|
H A D | SkiaMemoryReporter.cpp | 142 TraceValue traceValue = convertUnits(result->second); in logOutput() 154 TraceValue size = convertUnits(result->second); in logOutput() 162 TraceValue traceValue = convertUnits(itemValues.second); in logOutput() 184 TraceValue total = convertUnits(mTotalSize); in logTotals() 185 TraceValue purgeable = convertUnits(mPurgeableSize); in logTotals() 190 SkiaMemoryReporter::TraceValue SkiaMemoryReporter::convertUnits(const TraceValue& value) { in convertUnits() 191 TraceValue output(value); in convertUnits()
|
/aosp12/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | SkiaMemoryTracer.h | 59 struct TraceValue { struct 60 TraceValue(const char* units, uint64_t value) : units(units), value(value), count(1) {} in TraceValue() argument 61 TraceValue(const TraceValue& v) : units(v.units), value(v.value), count(v.count) {} in TraceValue() argument 70 TraceValue convertUnits(const TraceValue& value); argument 77 TraceValue mTotalSize; 78 TraceValue mPurgeableSize; 82 std::unordered_map<const char*, TraceValue> mCurrentValues; 85 std::unordered_map<std::string, std::unordered_map<const char*, TraceValue>> mResults;
|
H A D | SkiaMemoryTracer.cpp | 106 TraceValue sizeValue = sizeResult->second; in processElement() 140 TraceValue traceValue = convertUnits(typedValue.second); in logOutput() 148 TraceValue traceValue = convertUnits(result->second); in logOutput() 166 TraceValue total = convertUnits(mTotalSize); in logTotals() 167 TraceValue purgeable = convertUnits(mPurgeableSize); in logTotals() 172 SkiaMemoryTracer::TraceValue SkiaMemoryTracer::convertUnits(const TraceValue& value) { in convertUnits() 173 TraceValue output(value); in convertUnits()
|
H A D | ATraceMemoryDump.h | 64 struct TraceValue { struct 70 std::unordered_map<std::string, TraceValue> mCurrentValues; argument
|