Searched refs:ThreadIdNameManager (Results 1 – 9 of 9) sorted by relevance
30 ThreadIdNameManager::ThreadIdNameManager() in ThreadIdNameManager() function in base::ThreadIdNameManager38 ThreadIdNameManager::~ThreadIdNameManager() = default;40 ThreadIdNameManager* ThreadIdNameManager::GetInstance() { in GetInstance()41 return Singleton<ThreadIdNameManager, in GetInstance()42 LeakySingletonTraits<ThreadIdNameManager> >::get(); in GetInstance()45 const char* ThreadIdNameManager::GetDefaultInternedString() { in GetDefaultInternedString()49 void ThreadIdNameManager::RegisterThread(PlatformThreadHandle::Handle handle, in RegisterThread()57 void ThreadIdNameManager::InstallSetNameCallback(SetNameCallback callback) { in InstallSetNameCallback()62 void ThreadIdNameManager::SetName(const std::string& name) { in SetName()103 const char* ThreadIdNameManager::GetName(PlatformThreadId id) { in GetName()[all …]
20 base::ThreadIdNameManager* manager = base::ThreadIdNameManager::GetInstance(); in TEST_F()35 base::ThreadIdNameManager* manager = base::ThreadIdNameManager::GetInstance(); in TEST_F()51 base::ThreadIdNameManager* manager = base::ThreadIdNameManager::GetInstance(); in TEST_F()66 base::ThreadIdNameManager* manager = base::ThreadIdNameManager::GetInstance(); in TEST_F()78 base::ThreadIdNameManager* manager = base::ThreadIdNameManager::GetInstance(); in TEST_F()
22 class BASE_EXPORT ThreadIdNameManager {24 static ThreadIdNameManager* GetInstance();50 friend struct DefaultSingletonTraits<ThreadIdNameManager>;58 ThreadIdNameManager();59 ~ThreadIdNameManager();75 DISALLOW_COPY_AND_ASSIGN(ThreadIdNameManager);
72 ThreadIdNameManager::GetInstance()->RegisterThread( in ThreadFunc()78 ThreadIdNameManager::GetInstance()->RemoveName( in ThreadFunc()193 return ThreadIdNameManager::GetInstance()->GetName(CurrentId()); in GetName()
63 ThreadIdNameManager::GetInstance()->SetName(name); in SetName()
129 ThreadIdNameManager::GetInstance()->SetName(name); in SetName()
148 @@ -94,8 +95,9 @@ void ThreadIdNameManager::SetName(const std::string& name) {151 // ThreadIdNameManager itself when holding the lock.159 const char* ThreadIdNameManager::GetName(PlatformThreadId id) {
376 return ThreadIdNameManager::GetInstance()->GetName(thread_id_); in GetThreadName()
1219 ThreadIdNameManager::GetInstance()->GetName(thread_id); in AddTraceEventWithThreadIdAndTimestamp()