Lines Matching refs:Stat

78   auto printStatWithDelta = [&](const std::string &Name, uint64_t Stat,  in print()
80 OS << format("%'20lld : ", Stat * opts::DynoStatsScale) << Name; in print()
82 if (Stat != OtherStat) { in print()
84 OS << format(" (%+.1f%%)", ((float)Stat - (float)OtherStat) * 100.0 / in print()
93 for (auto Stat = DynoStats::FIRST_DYNO_STAT + 1; in print() local
94 Stat < DynoStats::LAST_DYNO_STAT; ++Stat) { in print()
96 if (!PrintAArch64Stats && Stat == DynoStats::VENEER_CALLS_AARCH64) in print()
99 printStatWithDelta(Desc[Stat], Stats[Stat], Other ? (*Other)[Stat] : 0); in print()
106 for (const OpcodeStatTy &Stat : OpcodeHistogram) in print() local
107 SortedHistogram.emplace_back(Stat.second.first, Stat.first); in print()
114 for (auto Stat = SortedHistogram.rbegin(); Stat != SortedHistogram.rend(); in print() local
115 ++Stat) { in print()
116 OS << format("%20s,%'18lld", Printer->getOpcodeName(Stat->second).data(), in print()
117 Stat->first * opts::DynoStatsScale); in print()
120 OpcodeHistogram.at(Stat->second).second; in print()
132 for (auto Stat = DynoStats::FIRST_DYNO_STAT + 1; in operator +=() local
133 Stat < DynoStats::LAST_DYNO_STAT; ++Stat) { in operator +=()
134 Stats[Stat] += Other[Stat]; in operator +=()
136 for (const OpcodeStatTy &Stat : Other.OpcodeHistogram) { in operator +=() local
137 auto I = OpcodeHistogram.find(Stat.first); in operator +=()
139 OpcodeHistogram.emplace(Stat); in operator +=()
143 I->second.first += Stat.second.first; in operator +=()
145 auto &OtherMMap = Stat.second.second; in operator +=()