|
PAPI 7.1.0.0
|
Return the number of events in an event set. More...
PAPI_num_events() returns the number of preset and/or native events contained in an event set. The event set should be created by PAPI_create_eventset .
| [in] | EventSet | – an integer handle for a PAPI event set created by PAPI_create_eventset. |
| [out] | *count | – (Fortran only) On output the variable contains the number of events in the event set |
| On | success, this function returns the positive number of events in the event set. |
| PAPI_EINVAL | The event count is zero; only if code is compiled with debug enabled. |
| PAPI_ENOEVST | The EventSet specified does not exist. |