Home
last modified time | relevance | path

Searched refs:threads_ (Results 1 – 12 of 12) sorted by relevance

/aosp12/system/extras/memory_replay/
H A DThreads.cpp65 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 …]
H A DThreads.h43 Thread* threads_ = nullptr; variable
/aosp12/frameworks/native/cmds/dumpstate/
H A DDumpPool.cpp48 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()
H A DDumpPool.h95 if (threads_.empty()) { in enqueueTask()
115 if (threads_.empty()) { in enqueueTaskWithFd()
195 std::vector<std::thread> threads_; variable
/aosp12/system/extras/simpleperf/
H A Devent_selection_set.h142 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
H A Drecord_lib_interface.cpp82 threads_.insert(gettid()); in MonitorCurrentThread()
95 threads_.insert(threads.begin(), threads.end()); in MonitorThreadsInCurrentProcess()
104 std::set<pid_t> threads_; member in simpleperf::PerfEventSetImpl
148 if (threads_.empty()) { in CreateEventSelectionSet()
152 set->AddMonitoredThreads(threads_); in CreateEventSelectionSet()
H A Devent_selection_set.cpp609 std::set<pid_t> threads = PrepareThreads(processes_, threads_); in OpenEventFiles()
818 for (const auto& tid : threads_) { in CheckMonitoredTargets()
/aosp12/art/runtime/
H A Dthread_pool.cc183 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()
H A Dthread_pool.h115 return threads_.size(); in GetThreadCount()
202 std::vector<ThreadPoolWorker*> threads_; variable
/aosp12/system/memory/libmemunreachable/tests/
H A DThreadCapture_test.cpp57 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
/aosp12/system/extras/iotop/
H A Dtaskstats.h47 int threads() const { return threads_; } in threads()
83 int threads_; variable
H A Dtaskstats.cpp196 threads_ = 1; in TaskStatistics()
212 threads_++; in AddPidToTgid()