|
PAPI
5.7.0.0
|
Empty and destroy an EventSet. More...
PAPI_cleanup_eventset removes all events from a PAPI event set and turns off profiling and overflow for all events in the EventSet. This can not be called if the EventSet is not stopped.
| EventSet | An integer handle for a PAPI event set as created by PAPI_create_eventset. |
| PAPI_EINVAL | One or more of the arguments is invalid. Attempting to destroy a non-empty event set or passing in a null pointer to be destroyed. |
| PAPI_ENOEVST | The EventSet specified does not exist. |
| PAPI_EISRUN | The EventSet is currently counting events. |
| PAPI_EBUG | Internal error, send mail to ptools-perfapi@icl.utk.edu and complain. |