PAPI 7.1.0.0
|
Read performance events at the beginning of a region. More...
region | – a unique region name |
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 errors. |
PAPI_ENOMEM | – Insufficient memory. |
PAPI_hl_region_begin reads performance events and stores them internally at the beginning of an instrumented code region. If not specified via the 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 performance events are recorded.