Searched refs:Stats (Results 1 - 25 of 36) sorted by relevance

12

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/
H A DStatistic.cpp60 std::vector<TrackingStatistic *> Stats; member in class:__anon3805::StatisticInfo
74 void addStatistic(TrackingStatistic *S) { Stats.push_back(S); }
76 const_iterator begin() const { return Stats.begin(); }
77 const_iterator end() const { return Stats.end(); }
137 Stats, [](const TrackingStatistic *LHS, const TrackingStatistic *RHS) {
155 for (auto *Stat : Stats) {
167 Stats.clear();
171 StatisticInfo &Stats = *StatInfo; local
175 for (size_t i = 0, e = Stats.Stats
202 StatisticInfo &Stats = *StatInfo; local
229 StatisticInfo &Stats = *StatInfo; local
[all...]
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/scudo/
H A Dscudo_allocator_combined.h29 Stats.Init();
41 return Secondary.Allocate(&Stats, Size, Alignment);
49 Secondary.Deallocate(&Stats, Ptr);
53 Cache->Init(&Stats);
57 Cache->Destroy(&Primary, &Stats);
61 Stats.Get(StatType);
72 AllocatorGlobalStats Stats; member in class:CombinedAllocator
H A Dscudo_allocator_secondary.h74 void *Allocate(AllocatorStats *Stats, uptr Size, uptr Alignment) { argument
140 Stats->Add(AllocatorStatAllocated, CommittedSize);
141 Stats->Add(AllocatorStatMapped, CommittedSize);
151 void Deallocate(AllocatorStats *Stats, void *Ptr) { argument
159 Stats->Sub(AllocatorStatAllocated, Size);
160 Stats->Sub(AllocatorStatMapped, Size);
173 Printf("Stats: LargeMmapAllocator: allocated %zd times (%zd K), "
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
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]);
H A Dlocal_cache.h52 Stats.initLinkerInitialized();
54 S->link(&Stats);
66 S->unlink(&Stats);
85 Stats.add(StatAllocated, ClassSize);
86 Stats.sub(StatFree, ClassSize);
101 Stats.sub(StatAllocated, ClassSize);
102 Stats.add(StatFree, ClassSize);
119 LocalStats &getStats() { return Stats; }
130 LocalStats Stats; member in struct:scudo::SizeClassAllocatorLocalCache
H A Dprimary32.h119 Sci->Stats.PoppedBlocks += B->getCount();
129 Sci->Stats.PushedBlocks += B->getCount();
177 PoppedBlocks += Sci->Stats.PoppedBlocks;
178 PushedBlocks += Sci->Stats.PushedBlocks;
180 Str->append("Stats: SizeClassAllocator32: %zuM mapped in %zu allocations; "
242 SizeClassStats Stats; variable
417 const uptr InUse = Sci->Stats.PoppedBlocks - Sci->Stats.PushedBlocks;
422 Sci->Stats.PoppedBlocks, Sci->Stats
[all...]
H A Dprimary64.h121 Region->Stats.PoppedBlocks += B->getCount();
130 Region->Stats.PushedBlocks += B->getCount();
176 PoppedBlocks += Region->Stats.PoppedBlocks;
177 PushedBlocks += Region->Stats.PushedBlocks;
179 Str->append("Stats: SizeClassAllocator64: %zuM mapped (%zuM rss) in %zu "
289 RegionStats Stats; member in struct:scudo::SizeClassAllocator64::UnpaddedRegionInfo
427 const uptr InUse = Region->Stats.PoppedBlocks - Region->Stats.PushedBlocks;
434 Region->Stats.PoppedBlocks, Region->Stats
[all...]
H A Dsecondary.h229 Stats.initLinkerInitialized();
231 S->link(&Stats);
286 LocalStats Stats;
325 Stats.add(StatAllocated, BlockSize);
326 Stats.add(StatMapped, H->MapSize);
385 Stats.add(StatAllocated, CommitSize);
386 Stats.add(StatMapped, H->MapSize);
400 Stats.sub(StatAllocated, CommitSize);
401 Stats.sub(StatMapped, H->MapSize);
414 "Stats
[all...]
H A Dstats.h83 for (const auto &Stats : StatsList) {
85 S[I] += Stats.get(static_cast<StatType>(I));
H A Dcombined.h160 Stats.initLinkerInitialized();
163 Secondary.initLinkerInitialized(&Stats, ReleaseToOsIntervalMs);
215 Cache->initLinkerInitialized(&Stats, &Primary);
226 TSD->Cache.destroy(&Stats);
588 Stats.disable();
599 Stats.enable();
708 Stats.get(S);
906 GlobalStats Stats; member in class:scudo::Allocator
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-dwarfdump/
H A DStatistics.cpp560 PerFunctionStats &Stats = Entry.getValue(); local
561 unsigned TotalVars = Stats.VarsInFunction.size() *
562 (Stats.NumFnInlined + Stats.NumFnOutOfLine);
564 if (!Stats.IsFunction)
566 Stats.NumLocalVars + Stats.ConstantMembers + Stats.NumArtificial;
567 unsigned Constants = Stats.ConstantMembers;
568 VarParamWithLoc += Stats
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/source/Utility/
H A DTimer.cpp109 struct Stats { struct in namespace:__anon3013
117 static bool CategoryMapIteratorSortCriterion(const Stats &lhs,
118 const Stats &rhs) {
131 std::vector<Stats> sorted;
137 Stats stats{i->m_name, nanos, nanos_total, count};
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeAnalyzer.cpp657 const PerBlockIDStats &Stats = I->second; local
658 O.OS << " Num Instances: " << Stats.NumInstances << "\n";
660 printSize(O.OS, Stats.NumBits);
662 double pct = (Stats.NumBits * 100.0) / BufferSizeBits;
664 if (Stats.NumInstances > 1) {
666 printSize(O.OS, Stats.NumBits / (double)Stats.NumInstances);
668 O.OS << " Tot/Avg SubBlocks: " << Stats.NumSubBlocks << "/"
669 << Stats.NumSubBlocks / (double)Stats
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Driver/
H A DSanitizerArgs.h51 bool Stats = false; member in class:clang::driver::SanitizerArgs
83 bool needsStatsRt() const { return Stats; }
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
H A DPDBSymbol.cpp130 TagStats Stats; local
131 getChildStats(Stats);
133 for (auto &Stat : Stats) {
169 PDBSymbol::getChildStats(TagStats &Stats) const {
173 Stats.clear();
175 ++Stats[Child->getSymTag()];
/freebsd-13-stable/sys/contrib/dev/acpica/components/utilities/
H A Dutxface.c320 * PARAMETERS: Stats - Where the statistics are returned
330 ACPI_STATISTICS *Stats)
337 if (!Stats)
344 Stats->SciCount = AcpiSciCount;
345 Stats->GpeCount = AcpiGpeCount;
347 memcpy (Stats->FixedEventCount, AcpiFixedEventCount,
352 Stats->MethodCount = AcpiMethodCount;
/freebsd-13-stable/contrib/libarchive/libarchive/
H A Darchive_ppmd8_private.h32 CPpmd_State_Ref Stats; member in struct:CPpmd8_Context_
100 #define Ppmd8_GetStats(p, ctx) ((ctx)->Stats)
104 #define Ppmd8_GetStats(p, ctx) ((CPpmd_State *)Ppmd8_GetPtr((p), ((ctx)->Stats)))
H A Darchive_ppmd7_private.h38 CPpmd_State_Ref Stats; member in struct:CPpmd7_Context_
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DDebugify.cpp311 DebugifyStatistics *Stats = nullptr;
313 Stats = &StatsMap->operator[](NameOfWrappedPass);
364 if (Stats) {
365 Stats->NumDbgLocsExpected += OriginalNumLines;
366 Stats->NumDbgLocsMissing += MissingLines.count();
367 Stats->NumDbgValuesExpected += OriginalNumVars;
368 Stats->NumDbgValuesMissing += MissingVars.count();
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerFork.cpp32 struct Stats { struct in namespace:fuzzer
38 static Stats ParseFinalStatsFromLog(const std::string &LogPath) {
41 Stats Res;
181 auto Stats = ParseFinalStatsFromLog(Job->LogPath); local
182 NumRuns += Stats.number_of_executed_units;
207 Stats.average_exec_per_sec, NumOOMs, NumTimeouts, NumCrashes,
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/
H A DPDBExtras.h43 raw_ostream &operator<<(raw_ostream &OS, const TagStats &Stats);
H A DPDBSymbol.h151 std::unique_ptr<IPDBEnumSymbols> getChildStats(TagStats &Stats) const;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/Unix/
H A DProcess.inc97 malloc_statistics_t Stats;
98 malloc_zone_statistics(malloc_default_zone(), &Stats);
99 return Stats.size_in_use; // darwin
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp791 ValueSitesStats &Stats, raw_fd_ostream &OS,
794 Stats.TotalNumValueSites += NS;
798 Stats.TotalNumValues += NV;
800 Stats.TotalNumValueSitesWithValueProfile++;
801 if (NV > Stats.ValueSitesHistogram.size())
802 Stats.ValueSitesHistogram.resize(NV, 0);
803 Stats.ValueSitesHistogram[NV - 1]++;
825 ValueSitesStats &Stats) {
826 OS << " Total number of sites: " << Stats.TotalNumValueSites << "\n";
828 << Stats
790 traverseAllValueSites(const InstrProfRecord &Func, uint32_t VK, ValueSitesStats &Stats, raw_fd_ostream &OS, InstrProfSymtab *Symtab) argument
824 showValueSitesStats(raw_fd_ostream &OS, uint32_t VK, ValueSitesStats &Stats) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DDumpOutputStyle.cpp274 StatCollection Stats; local
278 Stats.update(S.kind(), S.length());
281 return Stats;
293 Stats.update(S.kind(), S.length());
297 return Stats;
302 StatCollection Stats; local
304 Stats.update(uint32_t(Chunk.kind()), Chunk.getRecordLength());
307 return Stats;
331 const StatCollection &Stats) {
336 Stats
330 printModuleDetailStats(LinePrinter &P, StringRef Label, const StatCollection &Stats) argument
[all...]

Completed in 271 milliseconds

12