Lines Matching refs:Stats
20 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) {
122 Stats::~Stats() {
125 bool Stats::Init(BackendImpl* backend, uint32* storage_addr) {
151 // Stats may be reused when the cache is re-created, but we want only one
162 void Stats::ModifyStorageStats(int32 old_size, int32 new_size) {
177 void Stats::OnEvent(Counters an_event) {
182 void Stats::SetCounter(Counters counter, int64 value) {
187 int64 Stats::GetCounter(Counters counter) const {
192 void Stats::GetItems(StatsItems* items) {
207 int Stats::GetHitRatio() const {
211 int Stats::GetResurrectRatio() const {
215 void Stats::ResetRatios() {
222 int Stats::GetLargeEntriesSize() {
232 void Stats::Store() {
246 int Stats::GetBucketRange(size_t i) const {
267 void Stats::Snapshot(StatsHistogram::StatsSamples* samples) const {
298 int Stats::GetStatsBucket(int32 size) {
320 int Stats::GetRatio(Counters hit, Counters miss) const {