OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:nr_cpus
(Results
1 - 12
of
12
) sorted by null
/external/linux-tools-perf/util/
cpumap.c
10
int
nr_cpus
;
local
12
nr_cpus
= sysconf(_SC_NPROCESSORS_ONLN);
13
if (
nr_cpus
< 0)
16
cpus = malloc(sizeof(*cpus) +
nr_cpus
* sizeof(int));
19
for (i = 0; i <
nr_cpus
; ++i)
22
cpus->nr =
nr_cpus
;
28
static struct cpu_map *cpu_map__trim_new(int
nr_cpus
, int *tmp_cpus)
30
size_t payload_size =
nr_cpus
* sizeof(int);
34
cpus->nr =
nr_cpus
;
45
int
nr_cpus
= 0
local
107
int i,
nr_cpus
= 0;
local
[
all
...]
trace-event.h
169
void parse_set_info(int
nr_cpus
, int long_sz);
trace-event-parse.c
[
all
...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
u_cpu_detect.h
49
unsigned
nr_cpus
;
member in struct:util_cpu_caps
u_cpu_detect.c
231
util_cpu_caps.
nr_cpus
= system_info.dwNumberOfProcessors;
234
util_cpu_caps.
nr_cpus
= sysconf(_SC_NPROCESSORS_ONLN);
235
if (util_cpu_caps.
nr_cpus
== -1)
236
util_cpu_caps.
nr_cpus
= 1;
247
util_cpu_caps.
nr_cpus
= ncpu;
250
util_cpu_caps.
nr_cpus
= 1;
321
debug_printf("util_cpu_caps.
nr_cpus
= %u\n", util_cpu_caps.
nr_cpus
);
/external/mesa3d/src/gallium/auxiliary/util/
u_cpu_detect.h
49
unsigned
nr_cpus
;
member in struct:util_cpu_caps
u_cpu_detect.c
231
util_cpu_caps.
nr_cpus
= system_info.dwNumberOfProcessors;
234
util_cpu_caps.
nr_cpus
= sysconf(_SC_NPROCESSORS_ONLN);
235
if (util_cpu_caps.
nr_cpus
== -1)
236
util_cpu_caps.
nr_cpus
= 1;
247
util_cpu_caps.
nr_cpus
= ncpu;
250
util_cpu_caps.
nr_cpus
= 1;
321
debug_printf("util_cpu_caps.
nr_cpus
= %u\n", util_cpu_caps.
nr_cpus
);
/external/oprofile/daemon/
opd_perfmon.c
87
static size_t
nr_cpus
;
variable
120
for (i = 0; i <
nr_cpus
; ++i) {
133
for (i = 0; i <
nr_cpus
; ++i) {
431
nr_cpus
= nr;
433
children = xmalloc(sizeof(struct child) *
nr_cpus
);
434
bzero(children, sizeof(struct child) *
nr_cpus
);
436
for (i = 0; i <
nr_cpus
; ++i) {
471
for (i = 0; i <
nr_cpus
; ++i) {
494
for (i = 0; i <
nr_cpus
; ++i) {
515
for (i = 0; i <
nr_cpus
; ++i
[
all
...]
/external/oprofile/libpp/
xml_utils.cpp
25
size_t
nr_cpus
= 0;
variable
134
nr_cpus
= cpus + 1;
178
if (
nr_cpus
> 1) str << init_attr(SEPARATED_CPUS,
nr_cpus
) << endl;
187
nr_cpus
= cpus;
291
if (
nr_cpus
<= 1 && nr_events <= 1 && !has_nonzero_masks)
302
if (
nr_cpus
== 1) {
329
if (
nr_cpus
> 1)
352
if (
nr_cpus
== 1) {
arrange_profiles.cpp
428
size_t
nr_cpus
= 0;
local
447
if (cpu >
nr_cpus
)
nr_cpus
= cpu;
454
xml_utils::set_nr_cpus(++
nr_cpus
);
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
lp_screen.c
487
screen->num_threads = util_cpu_caps.
nr_cpus
> 1 ? util_cpu_caps.
nr_cpus
: 0;
/external/mesa3d/src/gallium/drivers/llvmpipe/
lp_screen.c
487
screen->num_threads = util_cpu_caps.
nr_cpus
> 1 ? util_cpu_caps.
nr_cpus
: 0;
Completed in 85 milliseconds