Return Codes All of the functions contained in the PerfAPI return standardized error codes. Values greater than or equal to zero indicate success, less than zero indicates failure.
◆ PAPI_EATTR
Invalid or missing event attributes
Definition at line 277 of file papi.h.
◆ PAPI_EBUF
Buffer size exceeded
Definition at line 275 of file papi.h.
◆ PAPI_EBUG
Internal error, please send mail to the developers
Definition at line 261 of file papi.h.
◆ PAPI_ECLOST
Access to the counters was lost or interrupted
Definition at line 260 of file papi.h.
◆ PAPI_ECMP
Not supported by component
Definition at line 258 of file papi.h.
◆ PAPI_ECMP_DISABLED
#define PAPI_ECMP_DISABLED -25 |
Component containing event is disabled
Definition at line 280 of file papi.h.
◆ PAPI_ECNFLCT
Event exists, but cannot be counted due to counter resource limitations
Definition at line 263 of file papi.h.
◆ PAPI_ECOMBO
Bad combination of features
Definition at line 279 of file papi.h.
◆ PAPI_ECOUNT
Too many events or attributes
Definition at line 278 of file papi.h.
◆ PAPI_EDELAY_INIT
#define PAPI_EDELAY_INIT -26 |
Delayed initialization component
Definition at line 281 of file papi.h.
◆ PAPI_EINVAL
Invalid argument
Definition at line 255 of file papi.h.
◆ PAPI_EINVAL_DOM
#define PAPI_EINVAL_DOM -21 |
EventSet domain is not supported for the operation
Definition at line 276 of file papi.h.
◆ PAPI_EISRUN
EventSet is currently counting
Definition at line 265 of file papi.h.
◆ PAPI_EMISC
Unknown error code
Definition at line 269 of file papi.h.
◆ PAPI_EMULPASS
#define PAPI_EMULPASS -27 |
Event exists, but cannot be counted due to multiple passes required by hardware
Definition at line 282 of file papi.h.
◆ PAPI_ENOCMP
Component Index isn't set
Definition at line 272 of file papi.h.
◆ PAPI_ENOCNTR
Hardware does not support performance counters
Definition at line 268 of file papi.h.
◆ PAPI_ENOEVNT
Event does not exist
Definition at line 262 of file papi.h.
◆ PAPI_ENOEVST
No such EventSet Available
Definition at line 266 of file papi.h.
◆ PAPI_ENOIMPL
Not implemented
Definition at line 274 of file papi.h.
◆ PAPI_ENOINIT
PAPI hasn't been initialized yet
Definition at line 271 of file papi.h.
◆ PAPI_ENOMEM
Insufficient memory
Definition at line 256 of file papi.h.
◆ PAPI_ENOSUPP
Not supported
Definition at line 273 of file papi.h.
◆ PAPI_ENOTPRESET
#define PAPI_ENOTPRESET -12 |
Event in argument is not a valid preset
Definition at line 267 of file papi.h.
◆ PAPI_ENOTRUN
EventSet is currently not running
Definition at line 264 of file papi.h.
◆ PAPI_EPERM
Permission level does not permit operation
Definition at line 270 of file papi.h.
◆ PAPI_ESBSTR
Backwards compatibility
Definition at line 259 of file papi.h.
◆ PAPI_ESYS
A System/C library call failed
Definition at line 257 of file papi.h.
◆ PAPI_HIGH_LEVEL_INITED
#define PAPI_HIGH_LEVEL_INITED 2 /* High level has called library init */ |
◆ PAPI_LOW_LEVEL_INITED
#define PAPI_LOW_LEVEL_INITED 1 /* Low level has called library init */ |
◆ PAPI_NOT_INITED
#define PAPI_NOT_INITED 0 |
◆ PAPI_NUM_ERRORS
#define PAPI_NUM_ERRORS 28 |
Number of error messages specified in this API
Definition at line 283 of file papi.h.
◆ PAPI_OK
No error
Definition at line 254 of file papi.h.
◆ PAPI_THREAD_LEVEL_INITED
#define PAPI_THREAD_LEVEL_INITED 4 /* Threads have been inited */ |