Searched refs:MAX_COUNTER (Results 1 – 5 of 5) sorted by relevance
15 #define MAX_COUNTER 10 macro26 printf( "tick %d/%d a %.2fs\n", counter, MAX_COUNTER, now/1000. ); in timer_func()27 if (counter < MAX_COUNTER) in timer_func()
19 #define MAX_COUNTER 30 macro32 printf( "tick %d/%d a %.2fs\n", counter, MAX_COUNTER, now/1000. ); in timer_func()33 if (counter < MAX_COUNTER) in timer_func()
25 int64 counters[disk_cache::Stats::MAX_COUNTER];70 COMPILE_ASSERT(arraysize(kCounterNames) == disk_cache::Stats::MAX_COUNTER,178 DCHECK(an_event >= MIN_COUNTER && an_event < MAX_COUNTER); in OnEvent()183 DCHECK(counter >= MIN_COUNTER && counter < MAX_COUNTER); in SetCounter()188 DCHECK(counter >= MIN_COUNTER && counter < MAX_COUNTER); in GetCounter()200 for (int i = MIN_COUNTER; i < MAX_COUNTER; i++) { in GetItems()
50 MAX_COUNTER enumerator93 int64 counters_[MAX_COUNTER];
73 disk_cache::Stats::MAX_COUNTER * sizeof(int64); in DumpStats()89 for (int i = 0; i < disk_cache::Stats::MAX_COUNTER; i++) in DumpStats()