/external/llvm/lib/Support/ |
Statistic.cpp | 1 //===-- Statistic.cpp - Easy way to expose stats information --------------===// 12 // printed at the end of a run, when the -stats command line option is enabled 39 /// -stats - Command line option to cause transformations to emit stats about 43 Enabled("stats", cl::desc("Enable statistics output from program")); 51 std::vector<const Statistic*> Stats; 58 Stats.push_back(S); 69 // If stats are enabled, inform StatInfo that this statistic should be 110 StatisticInfo &Stats = *StatInfo; 114 for (size_t i = 0, e = Stats.Stats.size(); i != e; ++i) [all...] |
/external/chromium/net/disk_cache/ |
stats.cc | 5 #include "net/disk_cache/stats.h" 20 int data_sizes[disk_cache::Stats::kDataSizesLength]; 21 int64 counters[disk_cache::Stats::MAX_COUNTER]; 41 // WARNING: Add new stats only at the end, or change LoadStats(). 65 COMPILE_ASSERT(arraysize(kCounterNames) == disk_cache::Stats::MAX_COUNTER, 72 bool LoadStats(BackendImpl* backend, Addr address, OnDiskStats* stats) { 79 memset(stats, 0, sizeof(*stats)); 80 if (!file->Read(stats, sizeof(*stats), offset) 126 OnDiskStats stats; local [all...] |
stats_histogram.h | 15 class Stats; 17 // This class provides support for sending the disk cache size stats as a UMA 40 // We'll be reporting data from the given set of cache stats. 41 bool Init(const Stats* stats); 51 static const Stats* stats_;
|
stats.h | 23 class Stats { 52 Stats(); 53 ~Stats(); 73 // Saves the stats to disk. 91 DISALLOW_COPY_AND_ASSIGN(Stats);
|
stats_histogram.cc | 8 #include "net/disk_cache/stats.h" 16 const Stats* StatsHistogram::stats_ = NULL; 29 Sample maximum = disk_cache::Stats::kDataSizesLength - 1; 30 size_t bucket_count = disk_cache::Stats::kDataSizesLength; 55 bool StatsHistogram::Init(const Stats* stats) { 56 DCHECK(stats); 62 stats_ = stats; 72 return disk_cache::Stats::kDataSizesLength;
|
backend_impl.cc | 508 if (!stats_.Init(this, &data_->header.stats)) 575 stats_.OnEvent(Stats::DOOM_CACHE); 632 stats_.OnEvent(Stats::DOOM_RECENT); 677 stats_.OnEvent(Stats::OPEN_MISS); 684 stats_.OnEvent(Stats::OPEN_MISS); 692 stats_.OnEvent(Stats::OPEN_HIT); 742 stats_.OnEvent(Stats::CREATE_ERROR); 750 stats_.OnEvent(Stats::CREATE_ERROR); 762 stats_.OnEvent(Stats::CREATE_ERROR); 788 stats_.OnEvent(Stats::CREATE_HIT) 1881 StatsItems stats; local [all...] |
backend_impl.h | 19 #include "net/disk_cache/stats.h" 202 void OnEvent(Stats::Counters an_event); 265 virtual void GetStats(StatsItems* stats); 324 // Send UMA stats. 373 Stats stats_; // Usage statistcs.
|
/external/llvm/tools/llvm-bcanalyzer/ |
llvm-bcanalyzer.cpp | 547 // Emit per-block stats. 556 const PerBlockIDStats &Stats = I->second; 557 errs() << " Num Instances: " << Stats.NumInstances << "\n"; 559 PrintSize(Stats.NumBits); 561 double pct = (Stats.NumBits * 100.0) / BufferSizeBits; 563 if (Stats.NumInstances > 1) { 565 PrintSize(Stats.NumBits/(double)Stats.NumInstances); 567 errs() << " Tot/Avg SubBlocks: " << Stats.NumSubBlocks << "/" 568 << Stats.NumSubBlocks/(double)Stats.NumInstances << "\n" [all...] |
/external/chromium/chrome/browser/chromeos/ |
boot_times_loader.h | 87 // Existing stats files will not be overwritten. 90 // Saves away the stats at main, so the can be recorded later. At main() time 95 // file thread. Existing stats files will not be overwritten. 146 struct Stats { 153 const std::string& name, const Stats& stats); 154 static Stats GetCurrentStats(); 160 // Used to hold the stats at main(). 161 Stats chrome_main_stats_;
|
boot_times_loader.cc | 47 // Names of login stats files. 309 void BootTimesLoader::RecordStats(const std::string& name, const Stats& stats) { 313 RecordStatsDelayed, name, stats.uptime, stats.disk)); 316 BootTimesLoader::Stats BootTimesLoader::GetCurrentStats() { 319 Stats stats; local 321 file_util::ReadFileToString(kProcUptime, &stats.uptime); 322 file_util::ReadFileToString(kDiskStat, &stats.disk) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
LoadAverageService.java | 37 private static final class Stats extends ProcessStats { 43 Stats(Paint paint) { 73 private final Stats mStats; 153 mStats = new Stats(mLoadPaint); 182 final Stats stats = mStats; local 183 final int userTime = stats.getLastUserTime(); 184 final int systemTime = stats.getLastSystemTime(); 185 final int iowaitTime = stats.getLastIoWaitTime(); 186 final int irqTime = stats.getLastIrqTime() 262 final Stats stats = mStats; local [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
ProcessStats.java | 151 private final ArrayList<Stats> mProcStats = new ArrayList<Stats>(); 152 private final ArrayList<Stats> mWorkingProcs = new ArrayList<Stats>(); 174 public static class Stats { 179 final ArrayList<Stats> threadStats; 180 final ArrayList<Stats> workingThreads; 206 Stats(int _pid, int parentPid, boolean includeThreads) { 214 threadStats = new ArrayList<Stats>(); 215 workingThreads = new ArrayList<Stats>(); [all...] |
/frameworks/base/tools/localize/ |
XLIFFFile.h | 16 struct Stats 66 Stats GetStats(const string& config) const;
|
localize.cpp | 297 vector<Stats> stats; local 364 Stats beforeFilterStats = xliff->GetStats(config); 371 Stats afterFilterStats = xliff->GetStats(config); 389 stats.push_back(afterFilterStats); 406 // the stats 411 Stats totals; 417 for (vector<Stats>::iterator it=stats.begin(); it!=stats.end(); it++) [all...] |
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/ |
PlaybackGraphs.java | 121 protected static StatGen[] Stats = new StatGen[] { 162 protected double[][] mStats = new double[Metrics.length][Stats.length]; 199 for (int statIndex = 0; statIndex < Stats.length; statIndex++) { 201 Stats[statIndex].getValue(metricValues); 238 for (int statIndex = 0; statIndex < Stats.length; statIndex++) { 240 Stats[statIndex].getLabelId()).substring(0,3);
|
/frameworks/base/tests/TileBenchmark/tests/src/com/test/tilebenchmark/ |
PerformanceTest.java | 42 for (int statIndex = 0; statIndex < Stats.length; statIndex++) { 46 Stats[statIndex].getLabelId());
|
/external/valgrind/tsan/ |
ts_util.cc | 71 Stats *G_stats;
|
ts_stats.h | 37 // For stats accessed concurrently from different threads 38 // we don't want to use global stats to avoid cache line ping-pong. 68 // increment them using the global stats object). 69 struct Stats : private ThreadLocalStats { 70 Stats() {
|
thread_sanitizer.h | 53 intptr_t show_stats; // 0 -- no stats; 1 -- some stats; 2 more stats. 238 // -------- Stats ------------------- {{{1 240 extern Stats *G_stats;
|
/development/ndk/platforms/android-8/samples/bitmap-plasma/jni/ |
plasma.c | 269 /* simple stats management */ 286 } Stats; 289 stats_init( Stats* s ) 298 stats_startFrame( Stats* s ) 304 stats_endFrame( Stats* s ) 369 static Stats stats; local 374 stats_init(&stats); 392 stats_startFrame(&stats); 399 stats_endFrame(&stats); [all...] |
/development/ndk/platforms/android-9/samples/native-plasma/jni/ |
plasma.c | 278 /* simple stats management */ 295 } Stats; 298 stats_init( Stats* s ) 307 stats_startFrame( Stats* s ) 313 stats_endFrame( Stats* s ) 378 Stats stats; member in struct:engine 395 stats_startFrame(&engine->stats); 407 stats_endFrame(&engine->stats); 466 stats_init(&engine.stats); [all...] |
/external/clang/tools/scan-build/ |
scan-build | 288 my $Stats = shift; 310 # Add them to the stats array 311 push @$Stats, $Row; 328 my $Stats = shift; 388 AddStatLine($BugDescription, $Stats); 430 my $Stats = shift; 434 my $TotalFunctions = scalar(@$Stats); 442 foreach my $Row (@$Stats) { 501 my @Stats; 502 foreach my $file (@files) { ScanFile(\@Index, $Dir, $file, \@Stats); } [all...] |
/external/antlr/src/org/antlr/runtime/misc/ |
Stats.java | 33 /** Stats routines needed by profiler etc... 40 public class Stats {
|
/external/dbus/test/ |
decode-gcov.c | 2530 Stats stats = { 0, }; local [all...] |
/frameworks/base/media/libstagefright/include/ |
AwesomePlayer.h | 307 struct Stats {
|