OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:cpus
(Results
1 - 4
of
4
) sorted by null
/external/chromium/third_party/libjingle/source/talk/base/
linux.cc
72
int
cpus
= static_cast<int>(cpu_info_.size());
local
73
for (int i = 0; i <
cpus
; ++i) {
/external/oprofile/libpp/
xml_utils.cpp
127
size_t
cpus
= 0;
local
128
// count number of
cpus
131
if (cpu >
cpus
)
cpus
= cpu;
133
//
cpus
names start with 0
134
nr_cpus =
cpus
+ 1;
185
void xml_utils::set_nr_cpus(size_t
cpus
)
187
nr_cpus =
cpus
;
/external/blktrace/btreplay/
btreplay.c
142
static int cpus_to_use = -1; // Number of
CPUs
to use
145
static int ncpus = 0; // Number of
CPUs
in the system
505
cpu_set_t
cpus
;
local
507
if (sched_getaffinity(getpid(), sizeof(
cpus
), &
cpus
)) {
516
for (ncpus = 0; ncpus < CPU_SETSIZE && CPU_ISSET(ncpus, &
cpus
); ncpus++)
519
fatal(NULL, ERR_SYSCALL, "Insufficient number of
CPUs
\n");
530
cpu_set_t
cpus
;
local
534
CPU_ZERO(&
cpus
);
535
CPU_SET(tip->cpu, &
cpus
);
[
all
...]
/external/blktrace/
blkparse.c
69
struct per_cpu_info *
cpus
;
member in struct:per_dev_info
323
struct per_cpu_info *
cpus
= pdi->
cpus
;
local
330
cpus
= realloc(
cpus
, size);
331
if (!
cpus
) {
338
new_start = (char *)
cpus
+ (ncpus * sizeof(struct per_cpu_info));
343
pdi->
cpus
=
cpus
;
346
struct per_cpu_info *pci = &pdi->
cpus
[new_count]
[
all
...]
Completed in 389 milliseconds