Searched refs:threads_ (Results 1 – 8 of 8) sorted by relevance
61 threads_ = new (memory) Thread[max_threads_]; in Threads()65 if (threads_) { in ~Threads()66 munmap(threads_, data_size_); in ~Threads()67 threads_ = nullptr; in ~Threads()95 pid_t cur_tid = threads_[index].tid_; in FindThread()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()[all …]
43 Thread* threads_ = nullptr; variable
140 threads_.insert(threads.begin(), threads.end()); in AddMonitoredThreads()145 const std::set<pid_t>& GetMonitoredThreads() const { return threads_; } in GetMonitoredThreads()149 threads_.clear(); in ClearMonitoredTargets()153 return !processes_.empty() || !threads_.empty(); in HasMonitoredTarget()210 std::set<pid_t> threads_; variable
80 threads_.insert(gettid()); in MonitorCurrentThread()93 threads_.insert(threads.begin(), threads.end()); in MonitorThreadsInCurrentProcess()102 std::set<pid_t> threads_; member in simpleperf::PerfEventSetImpl146 if (threads_.empty()) { in CreateEventSelectionSet()150 set->AddMonitoredThreads(threads_); in CreateEventSelectionSet()
600 std::set<pid_t> threads = PrepareThreads(processes_, threads_); in OpenEventFiles()799 for (const auto& tid : threads_) { in CheckMonitoredTargets()
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
204 threads_ = 1; in TaskStatistics()220 threads_++; in AddPidToTgid()