Home | History | Annotate | Download | only in base

Lines Matching refs:impl_

248     : impl_(NULL),
258 impl_ = StatsTablePrivate::New(name, table_size, max_threads, max_counters);
260 if (!impl_)
274 delete impl_;
283 if (!impl_)
290 base::SharedMemoryAutoLock lock(impl_->shared_memory());
300 base::strlcpy(impl_->thread_name(slot), thread_name.c_str(),
302 *(impl_->thread_tid(slot)) = PlatformThread::CurrentId();
303 *(impl_->thread_pid(slot)) = base::GetCurrentProcId();
332 DCHECK(impl_);
335 char* name = impl_->thread_name(data->slot);
355 if (!impl_)
361 for (int index = 1; index <= impl_->max_threads(); index++) {
362 char* name = impl_->thread_name(index);
385 if (!impl_)
389 for (; index <= impl_->max_threads(); index++) {
390 char* name = impl_->thread_name(index);
394 if (index > impl_->max_threads())
407 if (!impl_)
411 for (int index = 1; index <= impl_->max_counters(); index++) {
412 char* row_name = impl_->counter_name(index);
425 if (!impl_)
444 if (!impl_)
451 base::SharedMemoryAutoLock lock(impl_->shared_memory());
461 base::strlcpy(impl_->counter_name(counter_id), counter_name.c_str(),
474 if (!impl_)
476 if (slot_id > impl_->max_threads())
479 int* row = impl_->row(counter_id);
484 if (!impl_)
487 return impl_->counter_name(index);
491 if (!impl_)
495 int* row = impl_->row(index);
496 for (int slot_id = 0; slot_id < impl_->max_threads(); slot_id++) {
497 if (pid == 0 || *impl_->thread_pid(slot_id) == pid)
508 if (!impl_)
522 if (!impl_)
524 return impl_->max_counters();
528 if (!impl_)
530 return impl_->max_threads();