Lines Matching refs:counter_id
129 char* counter_name(int counter_id) const {
131 (counter_id-1) * (StatsTable::kMaxCounterNameLength)];
133 int* row(int counter_id) const {
134 return &data_table_[(counter_id-1) * max_threads()];
373 int* StatsTable::GetLocation(int counter_id, int slot_id) const {
379 int* row = impl_->row(counter_id);
535 int counter_id = 0;
542 counter_id = FindCounterOrEmptyRow(name);
543 if (!counter_id)
549 strlcpy(impl_->counter_name(counter_id), counter_name.c_str(),
556 counters_[name] = counter_id;
558 return counter_id;