Home
last modified time | relevance | path

Searched refs:per_cpu_ (Results 1 – 2 of 2) sorted by relevance

/external/perfetto/src/traced/probes/ftrace/
Dftrace_controller.cc173 PERFETTO_DCHECK(per_cpu_.empty()); in StartIfNeeded()
181 per_cpu_.clear(); in StartIfNeeded()
182 per_cpu_.reserve(ftrace_procfs_->NumberOfCpus()); in StartIfNeeded()
188 per_cpu_.emplace_back(std::move(reader), period_page_quota); in StartIfNeeded()
246 for (size_t i = 0; i < per_cpu_.size(); i++) { in ReadTick()
247 size_t orig_quota = per_cpu_[i].period_page_quota; in ReadTick()
252 size_t pages_read = per_cpu_[i].reader->ReadCycle( in ReadTick()
256 per_cpu_[i].period_page_quota = new_quota; in ReadTick()
282 for (auto& per_cpu : per_cpu_) in ReadTick()
328 for (size_t i = 0; i < per_cpu_.size(); i++) { in Flush()
[all …]
Dftrace_controller.h123 std::vector<PerCpuState> per_cpu_; // empty if tracing isn't active variable