Home
last modified time | relevance | path

Searched refs:nr_cpus (Results 1 – 3 of 3) sorted by relevance

/external/oprofile/daemon/
Dopd_perfmon.c87 static size_t nr_cpus; variable
120 for (i = 0; i < nr_cpus; ++i) { in child_sigusr1()
133 for (i = 0; i < nr_cpus; ++i) { in child_sigusr2()
431 nr_cpus = nr; in perfmon_init()
433 children = xmalloc(sizeof(struct child) * nr_cpus); in perfmon_init()
434 bzero(children, sizeof(struct child) * nr_cpus); in perfmon_init()
436 for (i = 0; i < nr_cpus; ++i) { in perfmon_init()
471 for (i = 0; i < nr_cpus; ++i) { in perfmon_exit()
494 for (i = 0; i < nr_cpus; ++i) { in perfmon_start()
515 for (i = 0; i < nr_cpus; ++i) in perfmon_stop()
/external/oprofile/libpp/
Dxml_utils.cpp25 size_t nr_cpus = 0; variable
134 nr_cpus = cpus + 1; in xml_utils()
178 if (nr_cpus > 1) str << init_attr(SEPARATED_CPUS, nr_cpus) << endl; in get_profile_header()
187 nr_cpus = cpus; in set_nr_cpus()
291 if (nr_cpus <= 1 && nr_events <= 1 && !has_nonzero_masks) in build_subclasses()
302 if (nr_cpus == 1) { in build_subclasses()
329 if (nr_cpus > 1) in build_subclasses()
352 if (nr_cpus == 1) { in get_counts_string()
Darrange_profiles.cpp428 size_t nr_cpus = 0; in identify_xml_classes() local
447 if (cpu > nr_cpus) nr_cpus = cpu; in identify_xml_classes()
454 xml_utils::set_nr_cpus(++nr_cpus); in identify_xml_classes()