Searched refs:cpu_readers_ (Results 1 – 4 of 4) sorted by relevance
228 PERFETTO_DCHECK(cpu_readers_.size() == num_cpus); in DrainCPUs()249 cpu_readers_[cpu]->Drain(started_data_sources_); in DrainCPUs()297 PERFETTO_DCHECK(cpu_readers_.empty()); in StartIfNeeded()308 cpu_readers_.clear(); in StartIfNeeded()309 cpu_readers_.reserve(ftrace_procfs_->NumberOfCpus()); in StartIfNeeded()311 cpu_readers_.emplace_back( in StartIfNeeded()393 cpu_readers_.clear(); in StopIfNeeded()466 for (const auto& cpu_reader : cpu_readers_) in IssueThreadSyncCmd()
129 std::vector<std::unique_ptr<CpuReader>> cpu_readers_; variable
329 if (cpu_readers_.find(cpu) != cpu_readers_.end()) in open_on_cpu()353 cpu_readers_[cpu] = reader; in open_on_cpu()360 if (cpu_readers_.size() != 0 || epfd_ != -1) in open_all_cpu()378 auto it = cpu_readers_.find(cpu); in close_on_cpu()379 if (it == cpu_readers_.end()) in close_on_cpu()384 cpu_readers_.erase(it); in close_on_cpu()403 for (auto it : cpu_readers_) in close_all_cpu()423 epoll_wait(epfd_, ep_events_.get(), cpu_readers_.size(), timeout_ms); in poll()
333 std::map<int, perf_reader*> cpu_readers_; variable