|
PAPI 7.1.0.0
|
Reads and stores hardware events at the beginning of an instrumented code region. More...
| PAPI_OK | |
| PAPI_ENOTRUN | – EventSet is currently not running or could not determined. |
| PAPI_ESYS | – A system or C library call failed inside PAPI, see the errno variable. |
| PAPI_EMISC | – PAPI has been deactivated due to previous erros. |
| PAPI_ENOMEM | – Insufficient memory. |
PAPIf_hl_region_begin reads hardware events and stores them internally at the beginning of an instrumented code region. If not specified via environment variable PAPI_EVENTS, default events are used. The first call sets all counters implicitly to zero and starts counting. Note that if PAPI_EVENTS is not set or cannot be interpreted, default hardware events are recorded.