Searched refs:threads_ (Results 1 – 12 of 12) sorted by relevance
65 if (threads_) { in ~Threads()66 munmap(threads_, data_size_); in ~Threads()67 threads_ = nullptr; in ~Threads()97 return threads_ + index; in FindThread()111 pid_t cur_tid = threads_[i].tid_; in WaitForAllToQuiesce()114 threads_[i].WaitForReady(); in WaitForAllToQuiesce()126 if (threads_[index].tid_ == 0) { in FindEmptyEntry()127 return threads_ + index; in FindEmptyEntry()150 if (threads_[i].tid_ != 0) { in FinishAll()152 threads_[i].SetPending(); in FinishAll()[all …]
43 Thread* threads_ = nullptr; variable
48 assert(threads_.empty()); in start()55 threads_.emplace_back(std::thread([=]() { in start()64 if (shutdown_ || threads_.empty()) { in shutdown()74 for (auto& thread : threads_) { in shutdown()77 threads_.clear(); in shutdown()
95 if (threads_.empty()) { in enqueueTask()115 if (threads_.empty()) { in enqueueTaskWithFd()195 std::vector<std::thread> threads_; variable
142 threads_.insert(threads.begin(), threads.end()); in AddMonitoredThreads()147 const std::set<pid_t>& GetMonitoredThreads() const { return threads_; } in GetMonitoredThreads()151 threads_.clear(); in ClearMonitoredTargets()154 bool HasMonitoredTarget() const { return !processes_.empty() || !threads_.empty(); } in HasMonitoredTarget()207 std::set<pid_t> threads_; variable
82 threads_.insert(gettid()); in MonitorCurrentThread()95 threads_.insert(threads.begin(), threads.end()); in MonitorThreadsInCurrentProcess()104 std::set<pid_t> threads_; member in simpleperf::PerfEventSetImpl148 if (threads_.empty()) { in CreateEventSelectionSet()152 set->AddMonitoredThreads(threads_); in CreateEventSelectionSet()
609 std::set<pid_t> threads = PrepareThreads(processes_, threads_); in OpenEventFiles()818 for (const auto& tid : threads_) { in CheckMonitoredTargets()
183 CHECK(threads_.empty()); in CreateThreads()193 threads_.push_back( in CreateThreads()206 return threads_; in GetWorkers()222 STLDeleteElements(&threads_); in DeleteThreads()321 for (ThreadPoolWorker* worker : threads_) { in SetPthreadPriority()328 for (ThreadPoolWorker* worker : threads_) { in CheckPthreadPriority()
115 return threads_.size(); in GetThreadCount()202 std::vector<ThreadPoolWorker*> threads_; variable
57 threads_.reserve(threads); in StartThreads()60 threads_.emplace_back([&, threads, this]() { in StartThreads()91 for (auto i = threads_.begin(); i != threads_.end(); i++) { in StopThreads()94 threads_.clear(); in StopThreads()123 std::vector<std::thread> threads_; member in android::ThreadListTest
47 int threads() const { return threads_; } in threads()83 int threads_; variable
196 threads_ = 1; in TaskStatistics()212 threads_++; in AddPidToTgid()