Searched refs:threads_ (Results 1 – 8 of 8) sorted by relevance
/system/extras/memory_replay/ |
D | Threads.cpp | 65 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 …]
|
D | Threads.h | 43 Thread* threads_ = nullptr; variable
|
/system/extras/simpleperf/ |
D | inplace_sampler_lib.cpp | 89 std::map<int, ThreadInfo> threads_; member in __anonbb2ff1350111::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()
|
D | event_selection_set.h | 97 threads_.insert(threads.begin(), threads.end()); in AddMonitoredThreads() 102 const std::set<pid_t>& GetMonitoredThreads() const { return threads_; } in GetMonitoredThreads() 105 return !processes_.empty() || !threads_.empty(); in HasMonitoredTarget() 161 std::set<pid_t> threads_; variable
|
D | event_selection_set.cpp | 397 std::map<pid_t, std::set<pid_t>> process_map = PrepareThreads(processes_, threads_); in OpenEventFiles() 753 std::map<pid_t, std::set<pid_t>> process_map = PrepareThreads(processes_, threads_); in HandleCpuOnlineEvent() 838 for (const auto& tid : threads_) { in CheckMonitoredTargets()
|
/system/core/libmemunreachable/tests/ |
D | ThreadCapture_test.cpp | 55 threads_.reserve(threads); in StartThreads() 58 threads_.emplace_back([&, i, threads, this]() { in StartThreads() 89 for (auto i = threads_.begin(); i != threads_.end(); i++) { in StopThreads() 92 threads_.clear(); in StopThreads() 123 std::vector<std::thread> threads_; member in ThreadListTest
|
/system/extras/iotop/ |
D | taskstats.h | 44 int threads() const { return threads_; } in threads() 77 int threads_; variable
|
D | taskstats.cpp | 198 threads_ = 1; in TaskStatistics() 214 threads_++; in AddPidToTgid()
|