Home
last modified time | relevance | path

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

/system/extras/memory_replay/
DThreads.cpp61 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 …]
DThreads.h43 Thread* threads_ = nullptr; variable
/system/extras/simpleperf/
Devent_selection_set.h140 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
Drecord_lib_interface.cpp80 threads_.insert(gettid()); in MonitorCurrentThread()
93 threads_.insert(threads.begin(), threads.end()); in MonitorThreadsInCurrentProcess()
102 std::set<pid_t> threads_; member in simpleperf::PerfEventSetImpl
146 if (threads_.empty()) { in CreateEventSelectionSet()
150 set->AddMonitoredThreads(threads_); in CreateEventSelectionSet()
Devent_selection_set.cpp600 std::set<pid_t> threads = PrepareThreads(processes_, threads_); in OpenEventFiles()
799 for (const auto& tid : threads_) { in CheckMonitoredTargets()
/system/memory/libmemunreachable/tests/
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
/system/extras/iotop/
Dtaskstats.h47 int threads() const { return threads_; } in threads()
83 int threads_; variable
Dtaskstats.cpp204 threads_ = 1; in TaskStatistics()
220 threads_++; in AddPidToTgid()