Home
last modified time | relevance | path

Searched refs:thread_status_data_ (Results 1 – 2 of 2) sorted by relevance

/rocksdb-6.9/monitoring/
Dthread_status_updater.cc20 if (UNLIKELY(thread_status_data_ == nullptr)) { in RegisterThread()
21 thread_status_data_ = new ThreadStatusData(); in RegisterThread()
22 thread_status_data_->thread_type = ttype; in RegisterThread()
23 thread_status_data_->thread_id = thread_id; in RegisterThread()
25 thread_data_set_.insert(thread_status_data_); in RegisterThread()
32 if (thread_status_data_ != nullptr) { in UnregisterThread()
34 thread_data_set_.erase(thread_status_data_); in UnregisterThread()
35 delete thread_status_data_; in UnregisterThread()
36 thread_status_data_ = nullptr; in UnregisterThread()
207 if (thread_status_data_ == nullptr) { in GetLocalThreadStatus()
[all …]
Dthread_status_updater.h199 static __thread ThreadStatusData* thread_status_data_;
208 return thread_status_data_; in Get()
229 static ThreadStatusData* thread_status_data_;