Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/
DTimeStatsHelper.cpp98 std::string TimeStatsHelper::TimeStatsGlobal::toString(std::optional<uint32_t> maxLayers) const { in toString()
114 const auto dumpStats = generateDumpStats(maxLayers); in toString()
141 std::optional<uint32_t> maxLayers) const { in toProto()
161 const auto dumpStats = generateDumpStats(maxLayers); in toProto()
170 TimeStatsHelper::TimeStatsGlobal::generateDumpStats(std::optional<uint32_t> maxLayers) const { in generateDumpStats()
182 if (maxLayers && (*maxLayers < dumpStats.size())) { in generateDumpStats()
183 dumpStats.resize(*maxLayers); in generateDumpStats()
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/include/timestatsproto/
DTimeStatsHelper.h67 std::string toString(std::optional<uint32_t> maxLayers) const;
68 SFTimeStatsGlobalProto toProto(std::optional<uint32_t> maxLayers) const;
72 std::optional<uint32_t> maxLayers) const;
/frameworks/native/services/surfaceflinger/TimeStats/
DTimeStats.cpp50 std::optional<uint32_t> maxLayers = std::nullopt; in parseArgs() local
55 maxLayers = static_cast<uint32_t>(value); in parseArgs()
58 dump(asProto, maxLayers, result); in parseArgs()
601 void TimeStats::dump(bool asProto, std::optional<uint32_t> maxLayers, std::string& result) { in dump() argument
615 SFTimeStatsGlobalProto timeStatsProto = mTimeStats.toProto(maxLayers); in dump()
619 result.append(mTimeStats.toString(maxLayers)); in dump()
DTimeStats.h153 void dump(bool asProto, std::optional<uint32_t> maxLayers, std::string& result);