OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:num_cpus_
(Results
1 - 2
of
2
) sorted by null
/external/stressapptest/src/
os.h
228
int num_cpus() const { return
num_cpus_
; }
266
int
num_cpus_
; // Number of cpus in the system.
member in class:OsLayer
os.cc
68
num_cpus_
= 0;
96
if (
num_cpus_
== 0) {
98
num_cpus_
= sysconf(_SC_NPROCESSORS_ONLN);
99
num_cpus_per_node_ =
num_cpus_
/ num_nodes_;
101
logprintf(5, "Log: %d nodes, %d cpus.\n", num_nodes_,
num_cpus_
);
102
sat_assert(CPU_SETSIZE >=
num_cpus_
);
Completed in 127 milliseconds