Home
last modified time | relevance | path

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

/system/extras/memory_replay/
DThreads.cpp65 threads_ = new (memory) Thread[max_threads_]; in Threads()
69 if (threads_) { in ~Threads()
70 munmap(threads_, data_size_); in ~Threads()
71 threads_ = nullptr; in ~Threads()
99 pid_t cur_tid = threads_[index].tid_; in FindThread()
101 return threads_ + index; in FindThread()
115 pid_t cur_tid = threads_[i].tid_; in WaitForAllToQuiesce()
118 threads_[i].WaitForReady(); in WaitForAllToQuiesce()
130 if (threads_[index].tid_ == 0) { in FindEmptyEntry()
131 return threads_ + index; in FindEmptyEntry()
[all …]
DThreads.h43 Thread* threads_ = nullptr; variable
/system/extras/simpleperf/
Dinplace_sampler_lib.cpp89 std::map<int, ThreadInfo> threads_; member in __anon56195e7e0111::SampleManager
235 auto it = threads_.find(tid); in CheckThreadNameChange()
236 if (it == threads_.end() || it->second.name != pair.second) { in CheckThreadNameChange()
237 threads_[tid].name = pair.second; in CheckThreadNameChange()
252 for (auto it = threads_.begin(); it != threads_.end();) { in CheckThreadNameChange()
255 it = threads_.erase(it); in CheckThreadNameChange()
Devent_selection_set.h120 threads_.insert(threads.begin(), threads.end()); in AddMonitoredThreads()
125 const std::set<pid_t>& GetMonitoredThreads() const { return threads_; } in GetMonitoredThreads()
128 return !processes_.empty() || !threads_.empty(); in HasMonitoredTarget()
186 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.cpp524 std::map<pid_t, std::set<pid_t>> process_map = PrepareThreads(processes_, threads_); in OpenEventFiles()
799 std::map<pid_t, std::set<pid_t>> process_map = PrepareThreads(processes_, threads_); in HandleCpuOnlineEvent()
867 for (const auto& tid : threads_) { in CheckMonitoredTargets()
/system/core/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()