Lines Matching refs:Counter
25 // A single counter in a counter collection.
26 class Counter {
49 Counter* GetNextCounter();
56 Counter counters_[kMaxCounters];
63 Counter* Lookup(const char* name) {
67 return reinterpret_cast<Counter*>(answer->value);
69 void Set(const char* name, Counter* value) {
82 Counter* CurrentValue() { return static_cast<Counter*>(entry_->value); }
472 static Counter* GetCounter(const char* name, bool is_histogram);