OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:nr_cpus
(Results
1 - 6
of
6
) 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/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
);
Completed in 231 milliseconds