Home
last modified time | relevance | path

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

12

/external/llvm/lib/Support/
DStatistic.cpp51 std::vector<const Statistic*> Stats; member in __anon2b4521dc0111::StatisticInfo
58 Stats.push_back(S); in addStatistic()
113 StatisticInfo &Stats = *StatInfo; in PrintStatistics() local
117 for (size_t i = 0, e = Stats.Stats.size(); i != e; ++i) { in PrintStatistics()
119 (unsigned)utostr(Stats.Stats[i]->getValue()).size()); in PrintStatistics()
121 (unsigned)std::strlen(Stats.Stats[i]->getName())); in PrintStatistics()
125 std::stable_sort(Stats.Stats.begin(), Stats.Stats.end(), NameCompare()); in PrintStatistics()
133 for (size_t i = 0, e = Stats.Stats.size(); i != e; ++i) in PrintStatistics()
135 MaxValLen, Stats.Stats[i]->getValue(), in PrintStatistics()
136 MaxNameLen, Stats.Stats[i]->getName(), in PrintStatistics()
[all …]
/external/chromium/net/disk_cache/
Dstats.cc20 int data_sizes[disk_cache::Stats::kDataSizesLength];
21 int64 counters[disk_cache::Stats::MAX_COUNTER];
65 COMPILE_ASSERT(arraysize(kCounterNames) == disk_cache::Stats::MAX_COUNTER,
119 Stats::Stats() : backend_(NULL), size_histogram_(NULL) { in Stats() function in disk_cache::Stats
122 Stats::~Stats() { in ~Stats()
125 bool Stats::Init(BackendImpl* backend, uint32* storage_addr) { in Init()
162 void Stats::ModifyStorageStats(int32 old_size, int32 new_size) { in ModifyStorageStats()
177 void Stats::OnEvent(Counters an_event) { in OnEvent()
182 void Stats::SetCounter(Counters counter, int64 value) { in SetCounter()
187 int64 Stats::GetCounter(Counters counter) const { in GetCounter()
[all …]
Dstats_histogram.cc16 const Stats* StatsHistogram::stats_ = NULL;
29 Sample maximum = disk_cache::Stats::kDataSizesLength - 1; in StatsHistogramFactoryGet()
30 size_t bucket_count = disk_cache::Stats::kDataSizesLength; in StatsHistogramFactoryGet()
55 bool StatsHistogram::Init(const Stats* stats) { in Init()
72 return disk_cache::Stats::kDataSizesLength; in bucket_count()
Dbackend_impl.cc575 stats_.OnEvent(Stats::DOOM_CACHE); in SyncDoomAllEntries()
632 stats_.OnEvent(Stats::DOOM_RECENT); in SyncDoomEntriesSince()
677 stats_.OnEvent(Stats::OPEN_MISS); in OpenEntryImpl()
684 stats_.OnEvent(Stats::OPEN_MISS); in OpenEntryImpl()
692 stats_.OnEvent(Stats::OPEN_HIT); in OpenEntryImpl()
742 stats_.OnEvent(Stats::CREATE_ERROR); in CreateEntryImpl()
750 stats_.OnEvent(Stats::CREATE_ERROR); in CreateEntryImpl()
762 stats_.OnEvent(Stats::CREATE_ERROR); in CreateEntryImpl()
788 stats_.OnEvent(Stats::CREATE_HIT); in CreateEntryImpl()
929 stats_.OnEvent(Stats::DOOM_ENTRY); in InternalDoomEntry()
[all …]
Dstats.h23 class Stats {
52 Stats();
53 ~Stats();
91 DISALLOW_COPY_AND_ASSIGN(Stats);
Dstats_histogram.h15 class Stats; variable
41 bool Init(const Stats* stats);
51 static const Stats* stats_;
Dbackend_impl.h202 void OnEvent(Stats::Counters an_event);
373 Stats stats_; // Usage statistcs.
Deviction.cc133 backend_->OnEvent(Stats::TRIM_ENTRY); in TrimCache()
279 backend_->OnEvent(Stats::TRIM_ENTRY); in EvictEntry()
/external/llvm/tools/llvm-bcanalyzer/
Dllvm-bcanalyzer.cpp553 const PerBlockIDStats &Stats = I->second; in AnalyzeBitcode() local
554 outs() << " Num Instances: " << Stats.NumInstances << "\n"; in AnalyzeBitcode()
556 PrintSize(Stats.NumBits); in AnalyzeBitcode()
558 double pct = (Stats.NumBits * 100.0) / BufferSizeBits; in AnalyzeBitcode()
560 if (Stats.NumInstances > 1) { in AnalyzeBitcode()
562 PrintSize(Stats.NumBits/(double)Stats.NumInstances); in AnalyzeBitcode()
564 outs() << " Tot/Avg SubBlocks: " << Stats.NumSubBlocks << "/" in AnalyzeBitcode()
565 << Stats.NumSubBlocks/(double)Stats.NumInstances << "\n"; in AnalyzeBitcode()
566 outs() << " Tot/Avg Abbrevs: " << Stats.NumAbbrevs << "/" in AnalyzeBitcode()
567 << Stats.NumAbbrevs/(double)Stats.NumInstances << "\n"; in AnalyzeBitcode()
[all …]
/external/eigen/bench/spbench/
Dspbenchsolver.h70 struct Stats{ struct
126 Stats call_solver(Solver &solver, const typename Solver::MatrixType& A, const Matrix<Scalar, Dynami… in call_solver()
128 Stats stat; in call_solver()
180 Stats call_directsolver(Solver& solver, const typename Solver::MatrixType& A, const Matrix<Scalar, … in call_directsolver()
182 Stats stat; in call_directsolver()
188 Stats call_itersolver(Solver &solver, const typename Solver::MatrixType& A, const Matrix<Scalar, Dy… in call_itersolver()
190 Stats stat; in call_itersolver()
199 inline void printStatItem(Stats *stat, int solver_id, int& best_time_id, double& best_time_val) in printStatItem()
244 inline void printHtmlStatLine(Stats *stat, int best_time_id, string& statline) in printHtmlStatLine()
287 …signed int sym, Matrix<Scalar, Dynamic, 1>& b, const Matrix<Scalar, Dynamic, 1>& refX, Stats *stat) in SelectSolvers()
[all …]
/external/chromium/chrome/browser/chromeos/
Dboot_times_loader.h146 struct Stats { struct
153 const std::string& name, const Stats& stats); argument
154 static Stats GetCurrentStats();
161 Stats chrome_main_stats_;
Dboot_times_loader.cc309 void BootTimesLoader::RecordStats(const std::string& name, const Stats& stats) { in RecordStats()
316 BootTimesLoader::Stats BootTimesLoader::GetCurrentStats() { in GetCurrentStats()
319 Stats stats; in GetCurrentStats()
/external/clang/tools/scan-build/
Dscan-build290 my $Stats = shift;
313 push @$Stats, $Row;
330 my $Stats = shift;
390 AddStatLine($BugDescription, $Stats);
432 my $Stats = shift;
436 my $TotalFunctions = scalar(@$Stats);
444 foreach my $Row (@$Stats) {
503 my @Stats;
504 foreach my $file (@files) { ScanFile(\@Index, $Dir, $file, \@Stats); }
820 print CalcStats(\@Stats) if $AnalyzerStats;
/external/llvm/lib/Support/Unix/
DProcess.inc71 malloc_statistics_t Stats;
72 malloc_zone_statistics(malloc_default_zone(), &Stats);
73 return Stats.size_in_use; // darwin
96 malloc_statistics_t Stats;
97 malloc_zone_statistics(malloc_default_zone(), &Stats);
98 return Stats.size_allocated; // darwin
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DGrammarReport.java33 import org.antlr.runtime.misc.Stats;
194 data.mink = Stats.min(depths); in getReportData()
195 data.maxk = Stats.max(depths); in getReportData()
196 data.avgk = Stats.avg(depths); in getReportData()
/external/valgrind/tsan/
Dts_stats.h67 struct Stats : private ThreadLocalStats { struct
68 Stats() { in Stats() argument
Dthread_sanitizer.h275 extern Stats *G_stats;
/external/dbus/test/
Ddecode-gcov.c1917 typedef struct Stats Stats; typedef
1919 struct Stats struct
1977 merge_stats_for_file (Stats *stats, in merge_stats_for_file()
2273 Stats *stats) in print_poorly_tested_functions()
2334 Stats *stats) in print_n_untested_blocks_by_function()
2406 print_stats (Stats *stats, in print_stats()
2530 Stats stats = { 0, }; in main()
2581 Stats *dir_stats; in main()
2597 dir_stats = dbus_new0 (Stats, 1); in main()
2614 Stats *dir_stats = _dbus_hash_iter_get_value (&iter); in main()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/Misc/
DStats.cs51 public class Stats class
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Misc/
DStats.cs47 public class Stats { class
/external/clang/docs/analyzer/
Ddebug-checks.txt87 The debug.Stats checker collects various information about the analysis of each function, such as h…
89 …ag, which enables various statistics within the analyzer engine. Note the Stats checker (which pro…
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/
DStats.java40 public class Stats { class
/external/antlr/antlr-3.4/runtime/Python/antlr3/
Dmain.py147 stats = pstats.Stats('profile.dat')
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/
DTool.java33 import org.antlr.runtime.misc.Stats;
484 Stats.writeReport(GrammarReport.GRAMMAR_STATS_FILENAME, in process()
/external/chromium/chrome/browser/ui/cocoa/
Dfirst_run_dialog.mm207 DCHECK_NE(statsCheckbox_, view) << "Stats checkbox shouldn't be in list";

12