Searched defs:counter_map (Results 1 - 4 of 4) sorted by relevance

/external/oprofile/libop/
H A Dop_alloc_counter.c105 * @param counter_map array of counter number mapping, returned results go
108 * return non zero on succees, in this case counter_map is set to the counter
117 * counter_map entry will be -1.
127 u32 allocated_mask, size_t * counter_map)
134 /* If ctr_arc is not available, counter_map is -1 */
136 counter_map[depth] = -1;
139 counter_map))
148 counter_map[depth] = arc->counter;
152 counter_map))
201 size_t * counter_map; local
126 allocate_counter(counter_arc_head const * ctr_arc, int max_depth, int depth, u32 allocated_mask, size_t * counter_map) argument
[all...]
/external/oprofile/libop/tests/
H A Dalloc_counter_tests.c138 static void show_counter_map(size_t const * counter_map, size_t nr_events) argument
142 printf("%lu ", (unsigned long)counter_map[i]);
150 size_t * counter_map; local
172 counter_map = map_event_to_counter(event, nr_events, it->cpu_type);
173 if (!counter_map) {
182 if (counter_map[i] != it->alloc_map[i]) {
187 show_counter_map(counter_map, nr_events);
201 free(counter_map);
/external/oprofile/utils/
H A Dophelp.c193 size_t * counter_map; local
235 counter_map = map_event_to_counter(selected_events, count, cpu_type);
237 if (!counter_map) {
243 if(counter_map[i] == (size_t)-1)
249 printf("%d ", (unsigned int) counter_map[i]);
252 free(counter_map);
/external/iptables/libiptc/
H A Dlibiptc.c79 struct counter_map struct
101 struct counter_map counter_map; member in struct:rule_head
103 unsigned int index; /* index (needed for counter_map) */
122 struct counter_map counter_map; member in struct:chain_head
129 unsigned int foot_index; /* index (needed for counter_map) */
831 /* save counter and counter_map information */
832 h->chain_iterator_cur->counter_map.maptype =
834 h->chain_iterator_cur->counter_map
[all...]

Completed in 173 milliseconds