list the events in an event set
More...
Detailed Description
- Parameters:
-
| EventSet | An integer handle for a PAPI event set as created by PAPI_create_eventset |
| *Events | An array of codes for events, such as PAPI_INT_INS. No more than *number codes will be stored into the array. |
| *number | On input the variable determines the size of the Events array. On output the variable contains the number of counters in the event set. Note that if the given array Events is too short to hold all the counters in the event set the *number variable will be greater than the actually stored number of counter codes. |
- Return values:
-
| PAPI_EINVAL | |
| PAPI_ENOEVST | * PAPIF_list_events(C_INT EventSet, C_INT(*) Events, C_INT number, C_INT check ) PAPI_list_events() decomposes an event set into the hardware events it contains. This call assumes an initialized PAPI library and a successfully added event set. |
- Examples:
-
- See also:
- PAPI_event_code_to_name
-
PAPI_event_name_to_code
-
PAPI_add_event PAPI_create_eventset
The documentation for this class was generated from the following file: