Home
last modified time | relevance | path

Searched refs:ThreadIdNameManager (Results 1 – 9 of 9) sorted by relevance

/external/libchrome/base/threading/
Dthread_id_name_manager.cc30 ThreadIdNameManager::ThreadIdNameManager() in ThreadIdNameManager() function in base::ThreadIdNameManager
38 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 …]
Dthread_id_name_manager_unittest.cc20 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()
Dthread_id_name_manager.h22 class BASE_EXPORT ThreadIdNameManager {
24 static ThreadIdNameManager* GetInstance();
50 friend struct DefaultSingletonTraits<ThreadIdNameManager>;
58 ThreadIdNameManager();
59 ~ThreadIdNameManager();
75 DISALLOW_COPY_AND_ASSIGN(ThreadIdNameManager);
Dplatform_thread_posix.cc72 ThreadIdNameManager::GetInstance()->RegisterThread( in ThreadFunc()
78 ThreadIdNameManager::GetInstance()->RemoveName( in ThreadFunc()
193 return ThreadIdNameManager::GetInstance()->GetName(CurrentId()); in GetName()
Dplatform_thread_android.cc63 ThreadIdNameManager::GetInstance()->SetName(name); in SetName()
Dplatform_thread_linux.cc129 ThreadIdNameManager::GetInstance()->SetName(name); in SetName()
/external/libchrome/libchrome_tools/patch/
Dtrace_event.patch148 @@ -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) {
/external/libchrome/base/message_loop/
Dmessage_loop.cc376 return ThreadIdNameManager::GetInstance()->GetName(thread_id_); in GetThreadName()
/external/libchrome/base/trace_event/
Dtrace_log.cc1219 ThreadIdNameManager::GetInstance()->GetName(thread_id); in AddTraceEventWithThreadIdAndTimestamp()