Reset the hardware event counts in an event set.
More...
- C Prototype:
- #include <papi.h>
int PAPI_reset( int EventSet );
- Parameters
-
- Return values
-
PAPI_OK | |
PAPI_ESYS | A system or C library call failed inside PAPI, see the errno variable. |
PAPI_ENOEVST | The EventSet specified does not exist. |
PAPI_reset() zeroes the values of the counters contained in EventSet. This call assumes an initialized PAPI library and a properly added event set
- Example:
int ret;
if (ret !=
PAPI_OK) handle_error(ret);
if (ret !=
PAPI_OK) handle_error(ret);
if (ret !=
PAPI_OK) handle_error(ret);
if (ret !=
PAPI_OK) handle_error(ret);
if (ret !=
PAPI_OK) handle_error(ret);
add multiple PAPI presets or native hardware events to an event set
Create a new empty PAPI EventSet.
Reset the hardware event counts in an event set.
Start counting hardware events in an event set.
Stop counting hardware events in an event set.
- See also
- PAPI_create_eventset
The documentation for this class was generated from the following file: