PAPI_get_overflow_event_index(3) | PAPI | PAPI_get_overflow_event_index(3) |
PAPI_get_overflow_event_index -
converts an overflow vector into an array of indexes to overflowing events
Parameters:
Return values:
Examples
void handler(int EventSet, void *address, long_long overflow_vector, void *context){ int Events[4], number, i; int total = 0, retval; printf("Overflow #%d0 Handler(%d) Overflow at %p! vector=%#llx0, total, EventSet, address, overflow_vector); total++; number = 4; retval = PAPI_get_overflow_event_index(EventSet, overflow_vector, Events, &number); if(retval == PAPI_OK) for(i=0; i<number; i++) printf("Event index[%d] = %d", i, Events[i]);}
See Also:
Generated automatically by Doxygen for PAPI from the source code.
Mon Nov 14 2022 | Version 7.0.0.0 |