PAPI_cleanup_eventset(3) | PAPI | PAPI_cleanup_eventset(3) |
PAPI_cleanup_eventset -
Empty and destroy an EventSet.
@par C Interface: int PAPI_cleanup_eventset( int EventSet );
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.
Parameters:
Return values:
Examples:
* // Remove all events in the eventset * if ( PAPI_cleanup_eventset( EventSet ) != PAPI_OK ) * handle_error( 1 ); *
@see PAPI_profil @n PAPI_create_eventset @n PAPI_add_event @n PAPI_stop.fi
Generated automatically by Doxygen for PAPI from the source code.
Thu Feb 27 2020 | Version 6.0.0.0 |