Searched refs:threads_ (Results 1 – 7 of 7) sorted by relevance
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_thread_registry.cpp | 126 *total = threads_.size(); in GetNumberOfThreads() 145 tid = threads_.size(); in CreateThread() 147 threads_.push_back(tctx); in CreateThread() 223 ThreadContextBase *tctx = threads_[tid]; in SetThreadName() 233 threads_[tid->second]->SetName(name); in SetThreadNameByUserId() 238 ThreadContextBase *tctx = threads_[tid]; in DetachThread() 287 ThreadContextBase *tctx = threads_[tid]; in FinishThread() 314 ThreadContextBase *tctx = threads_[tid]; in StartThread() 351 auto *tctx = threads_[tid]; in ConsumeThreadUserId() 359 ThreadContextBase *tctx = threads_[tid]; in SetThreadUserId() [all …]
|
| H A D | sanitizer_stoptheworld_mac.cpp | 45 InternalMmapVector<SuspendedThreadInfo> threads_; member in __sanitizer::SuspendedThreadsListMac 112 CHECK_LT(index, threads_.size()); in GetThreadID() 113 return threads_[index].tid; in GetThreadID() 117 CHECK_LT(index, threads_.size()); in GetThread() 118 return threads_[index].thread; in GetThread() 122 return threads_.size(); in ThreadCount() 126 for (uptr i = 0; i < threads_.size(); i++) { in ContainsThread() 127 if (threads_[i].thread == thread) return true; in ContainsThread() 141 threads_.push_back({info.thread_id, thread}); in Append()
|
| H A D | sanitizer_thread_registry.h | 104 return threads_.empty() ? nullptr : threads_[tid]; in GetThreadLocked() 107 u32 NumThreadsLocked() const { return threads_.size(); } in NumThreadsLocked() 155 InternalMmapVector<ThreadContextBase *> threads_; variable
|
| /llvm-project-15.0.7/third-party/benchmark/src/ |
| H A D | benchmark_api_internal.cc | 29 threads_(thread_count) { in BenchmarkInstance() 79 name_.threads = StrFormat("threads:%d", threads_); in BenchmarkInstance() 90 State st(iters, args_, thread_id, threads_, timer, manager, in Run() 98 State st(/*iters*/ 1, args_, /*thread_id*/ 0, threads_, nullptr, nullptr, in Setup() 106 State st(/*iters*/ 1, args_, /*thread_id*/ 0, threads_, nullptr, nullptr, in Teardown()
|
| H A D | benchmark_api_internal.h | 40 int threads() const { return threads_; } in threads() 66 int threads_; // Number of concurrent threads to us variable
|
| H A D | benchmark.cc | 149 threads_(n_threads), in State() 154 BM_CHECK_LT(thread_index_, threads_) in State()
|
| /llvm-project-15.0.7/third-party/benchmark/include/benchmark/ |
| H A D | benchmark.h | 744 int threads() const { return threads_; } in threads() 799 const int threads_; variable
|