PAPI 7.1.0.0
|
Convert a numeric hardware event code to a name. More...
PAPI_event_code_to_name is used to translate a 32-bit integer PAPI event code into an ASCII PAPI event name. Either Preset event codes or Native event codes can be passed to this routine. Native event codes and names differ from platform to platform.
EventCode | The numeric code for the event. |
*EventName | A string containing the event name as listed in PAPI_presets or discussed in PAPI_native. |
PAPI_EINVAL | One or more of the arguments is invalid. |
PAPI_ENOTPRESET | The hardware event specified is not a valid PAPI preset. |
PAPI_ENOEVNT | The hardware event is not available on the underlying hardware. |