Lines Matching refs:StatsTable
94 class StatsTable::Private {
121 (slot_id-1) * (StatsTable::kMaxThreadNameLength)]; in thread_name()
131 (counter_id-1) * (StatsTable::kMaxCounterNameLength)]; in counter_name()
166 StatsTable::Private* StatsTable::Private::New(const std::string& name, in New()
194 void StatsTable::Private::InitializeTable(void* memory, int size, in InitializeTable()
208 void StatsTable::Private::ComputeMappedPointers(void* memory) { in ComputeMappedPointers()
221 max_threads() * StatsTable::kMaxThreadNameLength; in ComputeMappedPointers()
234 max_counters() * StatsTable::kMaxCounterNameLength; in ComputeMappedPointers()
249 struct StatsTable::TLSData {
250 StatsTable* table;
255 StatsTable* StatsTable::global_table_ = NULL;
257 StatsTable::StatsTable(const std::string& name, int max_threads, in StatsTable() function in base::StatsTable
275 StatsTable::~StatsTable() { in ~StatsTable()
292 int StatsTable::GetSlot() const { in GetSlot()
299 int StatsTable::RegisterThread(const std::string& name) { in RegisterThread()
336 int StatsTable::CountThreadsRegistered() const { in CountThreadsRegistered()
351 int StatsTable::FindCounter(const std::string& name) { in FindCounter()
373 int* StatsTable::GetLocation(int counter_id, int slot_id) const { in GetLocation()
383 const char* StatsTable::GetRowName(int index) const { in GetRowName()
390 int StatsTable::GetRowValue(int index) const { in GetRowValue()
394 int StatsTable::GetRowValue(int index, int pid) const { in GetRowValue()
407 int StatsTable::GetCounterValue(const std::string& name) { in GetCounterValue()
411 int StatsTable::GetCounterValue(const std::string& name, int pid) { in GetCounterValue()
421 int StatsTable::GetMaxCounters() const { in GetMaxCounters()
427 int StatsTable::GetMaxThreads() const { in GetMaxThreads()
433 int* StatsTable::FindLocation(const char* name) { in FindLocation()
435 StatsTable *table = StatsTable::current(); in FindLocation()
453 void StatsTable::UnregisterThread() { in UnregisterThread()
457 void StatsTable::UnregisterThread(TLSData* data) { in UnregisterThread()
471 void StatsTable::SlotReturnFunction(void* data) { in SlotReturnFunction()
482 int StatsTable::FindEmptyThread() const { in FindEmptyThread()
505 int StatsTable::FindCounterOrEmptyRow(const std::string& name) const { in FindCounterOrEmptyRow()
527 int StatsTable::AddCounter(const std::string& name) { in AddCounter()
562 StatsTable::TLSData* StatsTable::GetTLSData() const { in GetTLSData()