Home
last modified time | relevance | path

Searched refs:num_cpus_ (Results 1 – 6 of 6) sorted by relevance

/external/perfetto/src/traced/probes/
Dkmem_activity_trigger.cc84 num_cpus_ = ftrace_procfs_->NumberOfCpus(); in WorkerData()
85 for (size_t cpu = 0; cpu < num_cpus_; cpu++) { in WorkerData()
Dkmem_activity_trigger.h53 size_t num_cpus_ = 0; variable
/external/stressapptest/src/
Dos.cc72 num_cpus_ = 0; in OsLayer()
108 if (num_cpus_ == 0) { in Initialize()
110 num_cpus_ = sysconf(_SC_NPROCESSORS_ONLN); in Initialize()
111 num_cpus_per_node_ = num_cpus_ / num_nodes_; in Initialize()
113 logprintf(5, "Log: %d nodes, %d cpus.\n", num_nodes_, num_cpus_); in Initialize()
114 sat_assert(CPU_SETSIZE >= num_cpus_); in Initialize()
Dos.h339 int num_cpus() const { return num_cpus_; } in num_cpus()
388 int num_cpus_; // Number of cpus in the system. variable
Dworker.cc3442 : num_cpus_(num_cpus), in CpuFreqThread()
3525 data[0].resize(num_cpus_); in Work()
3526 data[1].resize(num_cpus_); in Work()
3540 for (int cpu = 0; cpu < num_cpus_; cpu++) { in Work()
3559 for (int cpu = 0; cpu < num_cpus_; cpu++) { in Work()
Dworker.h884 int num_cpus_; variable