Home
last modified time | relevance | path

Searched refs:Stats (Results 1 – 25 of 41) sorted by relevance

12

/openbsd/gnu/llvm/llvm/lib/Support/
H A DStatistic.cpp161 for (auto *Stat : Stats) { in reset()
173 Stats.clear(); in reset()
177 StatisticInfo &Stats = *StatInfo; in PrintStatistics() local
181 for (TrackingStatistic *Stat : Stats.Stats) { in PrintStatistics()
187 Stats.sort(); in PrintStatistics()
195 for (TrackingStatistic *Stat : Stats.Stats) in PrintStatistics()
205 StatisticInfo &Stats = *StatInfo; in PrintStatisticsJSON() local
207 Stats.sort(); in PrintStatisticsJSON()
212 for (const TrackingStatistic *Stat : Stats.Stats) { in PrintStatisticsJSON()
232 StatisticInfo &Stats = *StatInfo; in PrintStatistics() local
[all …]
/openbsd/gnu/llvm/llvm/tools/llvm-dwarfdump/
H A DStatistics.cpp916 PerFunctionStats &Stats = Entry.getValue(); in collectStatsForObjectFile() local
918 (Stats.NumFnInlined + Stats.NumFnOutOfLine); in collectStatsForObjectFile()
920 if (!Stats.IsFunction) in collectStatsForObjectFile()
922 Stats.NumLocalVars + Stats.ConstantMembers + Stats.NumArtificial; in collectStatsForObjectFile()
930 NumFunctions += Stats.IsFunction; in collectStatsForObjectFile()
932 NumInlinedFunctions += Stats.IsFunction * Stats.NumFnInlined; in collectStatsForObjectFile()
933 NumAbstractOrigins += Stats.IsFunction * Stats.NumAbstractOrigins; in collectStatsForObjectFile()
934 ParamTotal += Stats.NumParams; in collectStatsForObjectFile()
935 ParamWithType += Stats.NumParamTypes; in collectStatsForObjectFile()
936 ParamWithLoc += Stats.NumParamLocations; in collectStatsForObjectFile()
[all …]
/openbsd/gnu/llvm/compiler-rt/lib/scudo/standalone/
H A Dlocal_cache.h85 Stats.init(); in init()
87 S->link(&Stats); in init()
94 S->unlink(&Stats); in destroy()
110 Stats.add(StatAllocated, ClassSize); in allocate()
111 Stats.sub(StatFree, ClassSize); in allocate()
127 Stats.sub(StatAllocated, ClassSize); in deallocate()
128 Stats.add(StatFree, ClassSize); in deallocate()
166 LocalStats &getStats() { return Stats; } in getStats()
179 LocalStats Stats; member
H A Dprimary32.h132 Sci->Stats.PoppedBlocks += B->getCount(); in popBatch()
153 Sci->Stats.PushedBlocks += Size; in pushBlocks()
178 Sci->Stats.PushedBlocks += Size; in pushBlocks()
234 PoppedBlocks += Sci->Stats.PoppedBlocks; in getStats()
235 PushedBlocks += Sci->Stats.PushedBlocks; in getStats()
303 SizeClassStats Stats; in alignas() local
636 const uptr InUse = Sci->Stats.PoppedBlocks - Sci->Stats.PushedBlocks; in getStats()
641 Sci->Stats.PoppedBlocks, Sci->Stats.PushedBlocks, InUse, in getStats()
650 DCHECK_GE(Sci->Stats.PoppedBlocks, Sci->Stats.PushedBlocks);
653 (Sci->Stats.PoppedBlocks - Sci->Stats.PushedBlocks) * BlockSize;
[all …]
H A Dprimary64.h112 Region->Stats.PoppedBlocks += B->getCount(); in popBatch()
133 Region->Stats.PushedBlocks += Size; in pushBlocks()
158 Region->Stats.PushedBlocks += Size; in pushBlocks()
204 PoppedBlocks += Region->Stats.PoppedBlocks; in getStats()
205 PushedBlocks += Region->Stats.PushedBlocks; in getStats()
335 RegionStats Stats = {}; member
641 const uptr InUse = Region->Stats.PoppedBlocks - Region->Stats.PushedBlocks; in getStats()
648 Region->Stats.PoppedBlocks, Region->Stats.PushedBlocks, InUse, in getStats()
659 DCHECK_GE(Region->Stats.PoppedBlocks, Region->Stats.PushedBlocks);
662 (Region->Stats.PoppedBlocks - Region->Stats.PushedBlocks) * BlockSize;
[all …]
H A Dwrappers_c.inc41 scudo::StatCounters Stats;
42 SCUDO_ALLOCATOR.getStats(Stats);
44 Info.hblkhd = static_cast<__scudo_mallinfo_data_t>(Stats[scudo::StatMapped]);
48 Info.fsmblks = static_cast<__scudo_mallinfo_data_t>(Stats[scudo::StatFree]);
51 static_cast<__scudo_mallinfo_data_t>(Stats[scudo::StatAllocated]);
59 scudo::StatCounters Stats;
60 SCUDO_ALLOCATOR.getStats(Stats);
62 Info.hblkhd = Stats[scudo::StatMapped];
66 Info.fsmblks = Stats[scudo::StatFree];
68 Info.uordblks = Stats[scudo::StatAllocated];
H A Dcombined.h173 Stats.init(); in init()
325 Stats.lock();
328 Stats.unlock();
553 Stats.lock();
556 Stats.unlock();
614 Stats.lock();
617 Stats.unlock();
704 Stats.disable(); in disable()
715 Stats.enable(); in enable()
860 Stats.get(S); in getStats()
[all …]
H A Dsecondary.h421 Stats.init();
423 S->link(&Stats);
482 LocalStats Stats; variable
532 Stats.add(StatAllocated, BlockSize); in allocate()
533 Stats.add(StatMapped, H->MapSize); in allocate()
596 Stats.add(StatAllocated, CommitSize); in allocate()
597 Stats.add(StatMapped, H->MapSize); in allocate()
611 Stats.sub(StatAllocated, CommitSize); in deallocate()
612 Stats.sub(StatMapped, H->MapSize); in deallocate()
H A Dstats.h79 for (const auto &Stats : StatsList) { in get() local
81 S[I] += Stats.get(static_cast<StatType>(I)); in get()
/openbsd/gnu/llvm/llvm/lib/Bitcode/Reader/
H A DBitcodeAnalyzer.cpp665 const PerBlockIDStats &Stats = Stat.second; in printStats() local
668 printSize(O.OS, Stats.NumBits); in printStats()
670 double pct = (Stats.NumBits * 100.0) / BufferSizeBits; in printStats()
672 if (Stats.NumInstances > 1) { in printStats()
674 printSize(O.OS, Stats.NumBits / (double)Stats.NumInstances); in printStats()
677 << Stats.NumSubBlocks / (double)Stats.NumInstances << "\n"; in printStats()
679 << Stats.NumAbbrevs / (double)Stats.NumInstances << "\n"; in printStats()
681 << Stats.NumRecords / (double)Stats.NumInstances << "\n"; in printStats()
687 if (Stats.NumRecords) { in printStats()
688 double pct = (Stats.NumAbbreviatedRecords * 100.0) / Stats.NumRecords; in printStats()
[all …]
/openbsd/gnu/llvm/lldb/source/Utility/
H A DTimer.cpp117 struct Stats { struct
125 static bool CategoryMapIteratorSortCriterion(const Stats &lhs, in CategoryMapIteratorSortCriterion()
126 const Stats &rhs) { in CategoryMapIteratorSortCriterion()
139 std::vector<Stats> sorted; in DumpCategoryTimes()
145 Stats stats{i->m_name, nanos, nanos_total, count}; in DumpCategoryTimes()
/openbsd/gnu/llvm/llvm/lib/DebugInfo/PDB/
H A DPDBSymbol.cpp130 TagStats Stats; in dumpChildStats() local
131 getChildStats(Stats); in dumpChildStats()
133 for (auto &Stat : Stats) { in dumpChildStats()
186 PDBSymbol::getChildStats(TagStats &Stats) const { in getChildStats()
190 Stats.clear(); in getChildStats()
192 ++Stats[Child->getSymTag()]; in getChildStats()
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DRegAllocGreedy.cpp2446 RAGreedyStats Stats; in computeStats() local
2485 ++Stats.Reloads; in computeStats()
2489 ++Stats.Spills; in computeStats()
2528 Stats.ReloadsCost = RelFreq * Stats.Reloads; in computeStats()
2529 Stats.FoldedReloadsCost = RelFreq * Stats.FoldedReloads; in computeStats()
2530 Stats.SpillsCost = RelFreq * Stats.Spills; in computeStats()
2531 Stats.FoldedSpillsCost = RelFreq * Stats.FoldedSpills; in computeStats()
2532 Stats.CopiesCost = RelFreq * Stats.Copies; in computeStats()
2533 return Stats; in computeStats()
2537 RAGreedyStats Stats; in reportStats() local
[all …]
/openbsd/gnu/llvm/clang/tools/scan-build/bin/
H A Dscan-build320 my $Stats = shift;
344 push @$Stats, $Row;
359 my $Stats = shift;
430 AddStatLine($BugDescription, $Stats, $BugFile);
476 my $Stats = shift;
480 my $TotalFunctions = scalar(@$Stats);
488 foreach my $Row (@$Stats) {
564 my @Stats;
567 foreach my $file (@filesFound) { ScanFile(\@Index, $Dir, $file, \@Stats); }
897 print CalcStats(\@Stats) if $AnalyzerStats;
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/
H A DDebugify.cpp728 DebugifyStatistics *Stats = nullptr; in checkDebugifyMetadata() local
730 Stats = &StatsMap->operator[](NameOfWrappedPass); in checkDebugifyMetadata()
781 if (Stats) { in checkDebugifyMetadata()
782 Stats->NumDbgLocsExpected += OriginalNumLines; in checkDebugifyMetadata()
783 Stats->NumDbgLocsMissing += MissingLines.count(); in checkDebugifyMetadata()
784 Stats->NumDbgValuesExpected += OriginalNumVars; in checkDebugifyMetadata()
785 Stats->NumDbgValuesMissing += MissingVars.count(); in checkDebugifyMetadata()
947 DebugifyStatistics Stats = Entry.second; in exportDebugifyStats() local
949 OS << Pass << ',' << Stats.NumDbgValuesMissing << ',' in exportDebugifyStats()
950 << Stats.NumDbgLocsMissing << ',' << Stats.getMissingValueRatio() << ',' in exportDebugifyStats()
[all …]
/openbsd/gnu/llvm/compiler-rt/lib/fuzzer/
H A DFuzzerFork.cpp32 struct Stats { struct
38 static Stats ParseFinalStatsFromLog(const std::string &LogPath) { in ParseFinalStatsFromLog()
41 Stats Res; in ParseFinalStatsFromLog()
200 auto Stats = ParseFinalStatsFromLog(Job->LogPath); in RunOneMergeJob() local
201 NumRuns += Stats.number_of_executed_units; in RunOneMergeJob()
226 Stats.average_exec_per_sec, NumOOMs, NumTimeouts, NumCrashes, in RunOneMergeJob()
/openbsd/gnu/llvm/clang/include/clang/Driver/
H A DSanitizerArgs.h56 bool Stats = false; variable
100 bool needsStatsRt() const { return Stats; } in needsStatsRt()
/openbsd/gnu/llvm/llvm/tools/llvm-pdbutil/
H A DDumpOutputStyle.cpp274 StatCollection Stats; in getSymbolStats() local
278 Stats.update(S.kind(), S.length()); in getSymbolStats()
281 return Stats; in getSymbolStats()
293 Stats.update(S.kind(), S.length()); in getSymbolStats()
297 return Stats; in getSymbolStats()
302 StatCollection Stats; in getChunkStats() local
307 return Stats; in getChunkStats()
331 const StatCollection &Stats) { in printModuleDetailStats() argument
336 Stats.Totals.Count, Stats.Totals.Size); in printModuleDetailStats()
339 for (const auto &K : Stats.getStatsSortedBySize()) { in printModuleDetailStats()
[all …]
/openbsd/gnu/llvm/llvm/tools/llvm-exegesis/lib/
H A DAnalysis.cpp322 for (const auto &Stats : Cluster.getCentroid().getStats()) { in printSchedClassClustersHtml() local
324 writeMeasurementValue<kEscapeHtml>(OS, Stats.avg()); in printSchedClassClustersHtml()
326 writeMeasurementValue<kEscapeHtml>(OS, Stats.min()); in printSchedClassClustersHtml()
328 writeMeasurementValue<kEscapeHtml>(OS, Stats.max()); in printSchedClassClustersHtml()
/openbsd/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp379 CHRStats Stats; member in __anon63fbc6c50111::CHR
403 const CHRStats &Stats) { in operator <<() argument
404 Stats.print(OS); in operator <<()
431 CHRStats *Stats) { in dumpIR() argument
438 if (Stats) in dumpIR()
439 CHR_DEBUG(dbgs() << " " << *Stats); in dumpIR()
779 ++Stats.NumBranches; in findScope()
814 ++Stats.NumBranches; in findScope()
1860 Stats.NumBranchesDelta += NumCHRedBranches - 1; in fixupBranchesAndSelects()
2059 CHR_DEBUG(dumpIR(F, "after", &Stats)); in run()
[all …]
/openbsd/usr.sbin/amd/amq/
H A Damq.c65 enum show_opt { Full, Stats, Calc, Short, ShowDone }; enumerator
108 case Stats: { in show_mti()
466 show_mt(mt, Stats, &mwid, &dwid, &twid); in main()
/openbsd/gnu/llvm/compiler-rt/lib/scudo/standalone/tests/
H A Dprimary_test.cpp191 scudo::GlobalStats Stats; in TEST() local
192 Stats.init(); in TEST()
193 Cache.init(&Stats, &Allocator); in TEST()
H A Dcombined_test.cpp419 SCUDO_TYPED_TEST(ScudoCombinedTest, Stats) { in SCUDO_TYPED_TEST() argument
430 std::string Stats(Buffer.begin(), Buffer.end()); in SCUDO_TYPED_TEST() local
433 EXPECT_NE(Stats.find("Stats: SizeClassAllocator"), std::string::npos); in SCUDO_TYPED_TEST()
434 EXPECT_NE(Stats.find("Stats: MapAllocator"), std::string::npos); in SCUDO_TYPED_TEST()
435 EXPECT_NE(Stats.find("Stats: Quarantine"), std::string::npos); in SCUDO_TYPED_TEST()
/openbsd/gnu/llvm/llvm/tools/sancov/
H A Dsancov.cpp289 static raw_ostream &operator<<(raw_ostream &OS, const CoverageStats &Stats) { in operator <<() argument
290 OS << "all-edges: " << Stats.AllPoints << "\n"; in operator <<()
291 OS << "cov-edges: " << Stats.CovPoints << "\n"; in operator <<()
292 OS << "all-functions: " << Stats.AllFns << "\n"; in operator <<()
293 OS << "cov-functions: " << Stats.CovFns << "\n"; in operator <<()
998 CoverageStats Stats = {Coverage.Points.size(), Coverage.CoveredIds.size(), in computeStats() local
1001 return Stats; in computeStats()
/openbsd/gnu/llvm/llvm/include/llvm/DebugInfo/PDB/
H A DPDBExtras.h42 raw_ostream &operator<<(raw_ostream &OS, const TagStats &Stats);

12