PAPI 7.1.0.0
|
Query if PAPI event exists. More...
PAPI_query_event() asks the PAPI library if the PAPI Preset event can be counted on this architecture. If the event CAN be counted, the function returns PAPI_OK. If the event CANNOT be counted, the function returns an error code. This function also can be used to check the syntax of native and user events.
EventCode | – a defined event such as PAPI_TOT_INS. |
PAPI_EINVAL | One or more of the arguments is invalid. |
PAPI_ENOEVNT | The PAPI preset is not available on the underlying hardware. |