Home
last modified time | relevance | path

Searched refs:nr_counters (Results 1 – 5 of 5) sorted by relevance

/external/oprofile/libop/
Dop_alloc_counter.c202 int i, nr_counters, nr_pmc_events; in map_event_to_counter() local
213 nr_counters = op_get_nr_counters(cpu_type); in map_event_to_counter()
215 nr_counters = op_get_counter_mask(&unavailable_counters); in map_event_to_counter()
218 if (nr_counters <= 0) { in map_event_to_counter()
219 nr_counters = op_get_nr_counters(cpu_type); in map_event_to_counter()
220 unavailable_counters = (~0) << nr_counters; in map_event_to_counter()
226 if (++nr_pmc_events > nr_counters) in map_event_to_counter()
Dop_cpu_type.c23 unsigned int nr_counters; member
210 return cpu_descrs[cpu_type].nr_counters; in op_get_nr_counters()
Dop_xml_events.c62 int nr_counters; in xml_help_for_event() local
71 nr_counters = op_get_nr_counters(cpu_type); in xml_help_for_event()
/external/oprofile/utils/
Dophelp.c92 size_t nr_counters; in help_for_event() local
96 nr_counters = op_get_nr_counters(cpu_type); in help_for_event()
108 if (hweight(mask) == nr_counters) { in help_for_event()
194 size_t nr_counters = op_get_nr_counters(cpu_type); in resolve_events() local
227 if (count_events > nr_counters) { in resolve_events()
231 (unsigned long) nr_counters); in resolve_events()
/external/oprofile/
DChangeLog-20032853 * libop/op_cpu_type.c: fix nr_counters cpu type check