Lines Matching refs:Stat
160 for (auto *Stat : Stats) { in reset() local
163 Stat->Initialized = false; in reset()
164 Stat->Value = 0; in reset()
180 for (TrackingStatistic *Stat : Stats.Stats) { in PrintStatistics()
181 MaxValLen = std::max(MaxValLen, (unsigned)utostr(Stat->getValue()).size()); in PrintStatistics()
183 std::max(MaxDebugTypeLen, (unsigned)std::strlen(Stat->getDebugType())); in PrintStatistics()
194 for (TrackingStatistic *Stat : Stats.Stats) in PrintStatistics()
195 OS << format("%*" PRIu64 " %-*s - %s\n", MaxValLen, Stat->getValue(), in PrintStatistics()
196 MaxDebugTypeLen, Stat->getDebugType(), Stat->getDesc()); in PrintStatistics()
211 for (const TrackingStatistic *Stat : Stats.Stats) { in PrintStatisticsJSON() local
213 assert(yaml::needsQuotes(Stat->getDebugType()) == yaml::QuotingType::None && in PrintStatisticsJSON()
215 assert(yaml::needsQuotes(Stat->getName()) == yaml::QuotingType::None && in PrintStatisticsJSON()
217 OS << "\t\"" << Stat->getDebugType() << '.' << Stat->getName() << "\": " in PrintStatisticsJSON()
218 << Stat->getValue(); in PrintStatisticsJSON()
260 for (const auto &Stat : StatInfo->statistics()) in GetStatistics() local
261 ReturnStats.emplace_back(Stat->getName(), Stat->getValue()); in GetStatistics()