Searched refs:Stats (Results 1 – 10 of 10) sorted by relevance
19 int data_sizes[disk_cache::Stats::kDataSizesLength];20 int64 counters[disk_cache::Stats::MAX_COUNTER];61 COMPILE_ASSERT(arraysize(kCounterNames) == disk_cache::Stats::MAX_COUNTER,113 bool Stats::Init(BackendImpl* backend, uint32* storage_addr) { in Init()150 Stats::~Stats() { in ~Stats()175 int Stats::GetStatsBucket(int32 size) { in GetStatsBucket()197 int Stats::GetBucketRange(size_t i) const { in GetBucketRange()218 void Stats::Snapshot(StatsHistogram::StatsSamples* samples) const { in Snapshot()228 void Stats::ModifyStorageStats(int32 old_size, int32 new_size) { in ModifyStorageStats()243 void Stats::OnEvent(Counters an_event) { in OnEvent()[all …]
13 const Stats* StatsHistogram::stats_ = NULL;20 Sample maximum = disk_cache::Stats::kDataSizesLength - 1; in StatsHistogramFactoryGet()21 size_t bucket_count = disk_cache::Stats::kDataSizesLength; in StatsHistogramFactoryGet()46 bool StatsHistogram::Init(const Stats* stats) { in Init()71 return disk_cache::Stats::kDataSizesLength; in bucket_count()
363 stats_.OnEvent(Stats::OPEN_MISS); in OpenEntry()370 stats_.OnEvent(Stats::OPEN_MISS); in OpenEntry()379 stats_.OnEvent(Stats::OPEN_HIT); in OpenEntry()428 stats_.OnEvent(Stats::CREATE_ERROR); in CreateEntry()436 stats_.OnEvent(Stats::CREATE_ERROR); in CreateEntry()447 stats_.OnEvent(Stats::CREATE_ERROR); in CreateEntry()468 stats_.OnEvent(Stats::CREATE_HIT); in CreateEntry()515 stats_.OnEvent(Stats::DOOM_CACHE); in DoomAllEntries()778 stats_.OnEvent(Stats::DOOM_ENTRY); in InternalDoomEntry()869 int64 last_report = stats_.GetCounter(Stats::LAST_REPORT); in ShouldReportAgain()[all …]
22 class Stats {50 Stats() : backend_(NULL) {} in Stats() function51 ~Stats();89 DISALLOW_COPY_AND_ASSIGN(Stats);
14 class Stats; variable41 bool Init(const Stats* stats);51 static const Stats* stats_;
178 void OnEvent(Stats::Counters an_event);301 Stats stats_; // Usage statistcs.
103 backend_->OnEvent(Stats::TRIM_ENTRY); in TrimCache()216 backend_->OnEvent(Stats::TRIM_ENTRY); in EvictEntry()
209 backend_->OnEvent(Stats::READ_DATA); in ReadData()302 backend_->OnEvent(Stats::WRITE_DATA); in WriteData()
219 backend_->OnEvent(Stats::OPEN_RANKINGS); in GetRanking()
1916 typedef struct Stats Stats; typedef1918 struct Stats struct1976 merge_stats_for_file (Stats *stats, in merge_stats_for_file()2272 Stats *stats) in print_poorly_tested_functions()2333 Stats *stats) in print_n_untested_blocks_by_function()2405 print_stats (Stats *stats, in print_stats()2529 Stats stats = { 0, }; in main()2580 Stats *dir_stats; in main()2596 dir_stats = dbus_new0 (Stats, 1); in main()2613 Stats *dir_stats = _dbus_hash_iter_get_value (&iter); in main()