Lines Matching refs:nr_events
138 static void show_counter_map(size_t const * counter_map, size_t nr_events)
141 for (i = 0; i < nr_events; ++i)
151 size_t nr_events;
157 nr_events = parse_events(parsed, MAX_EVENTS, it->events);
159 for (i = 0; i < nr_events; ++i) {
172 counter_map = map_event_to_counter(event, nr_events, it->cpu_type);
181 for (i = 0; i < nr_events; ++i) {
186 show_counter_map(it->alloc_map, nr_events);
187 show_counter_map(counter_map, nr_events);
196 for (i = 0; i < nr_events; ++i)