Lines Matching refs:thread_status_data_
16 __thread ThreadStatusData* ThreadStatusUpdater::thread_status_data_ = nullptr; member in ROCKSDB_NAMESPACE::ThreadStatusUpdater
20 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()
210 if (!thread_status_data_->enable_tracking) { in GetLocalThreadStatus()
211 assert(thread_status_data_->cf_key.load(std::memory_order_relaxed) == in GetLocalThreadStatus()
215 return thread_status_data_; in GetLocalThreadStatus()