PAPI  5.3.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Return Codes

Macros

#define PAPI_OK   0
 
#define PAPI_EINVAL   -1
 
#define PAPI_ENOMEM   -2
 
#define PAPI_ESYS   -3
 
#define PAPI_ECMP   -4
 
#define PAPI_ESBSTR   -4
 
#define PAPI_ECLOST   -5
 
#define PAPI_EBUG   -6
 
#define PAPI_ENOEVNT   -7
 
#define PAPI_ECNFLCT   -8
 
#define PAPI_ENOTRUN   -9
 
#define PAPI_EISRUN   -10
 
#define PAPI_ENOEVST   -11
 
#define PAPI_ENOTPRESET   -12
 
#define PAPI_ENOCNTR   -13
 
#define PAPI_EMISC   -14
 
#define PAPI_EPERM   -15
 
#define PAPI_ENOINIT   -16
 
#define PAPI_ENOCMP   -17
 
#define PAPI_ENOSUPP   -18
 
#define PAPI_ENOIMPL   -19
 
#define PAPI_EBUF   -20
 
#define PAPI_EINVAL_DOM   -21
 
#define PAPI_EATTR   -22
 
#define PAPI_ECOUNT   -23
 
#define PAPI_ECOMBO   -24
 
#define PAPI_NUM_ERRORS   25
 
#define PAPI_NOT_INITED   0
 
#define PAPI_LOW_LEVEL_INITED   1 /* Low level has called library init */
 
#define PAPI_HIGH_LEVEL_INITED   2 /* High level has called library init */
 
#define PAPI_THREAD_LEVEL_INITED   4 /* Threads have been inited */
 

Detailed Description

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.

Macro Definition Documentation

#define PAPI_EATTR   -22

Invalid or missing event attributes

Definition at line 273 of file papi.h.

#define PAPI_EBUF   -20

Buffer size exceeded

Definition at line 271 of file papi.h.

#define PAPI_EBUG   -6

Internal error, please send mail to the developers

Definition at line 257 of file papi.h.

#define PAPI_ECLOST   -5

Access to the counters was lost or interrupted

Definition at line 256 of file papi.h.

#define PAPI_ECMP   -4

Not supported by component

Definition at line 254 of file papi.h.

#define PAPI_ECNFLCT   -8

Event exists, but cannot be counted due to counter resource limitations

Definition at line 259 of file papi.h.

#define PAPI_ECOMBO   -24

Bad combination of features

Definition at line 275 of file papi.h.

#define PAPI_ECOUNT   -23

Too many events or attributes

Definition at line 274 of file papi.h.

#define PAPI_EINVAL   -1

Invalid argument

Definition at line 251 of file papi.h.

#define PAPI_EINVAL_DOM   -21

EventSet domain is not supported for the operation

Definition at line 272 of file papi.h.

#define PAPI_EISRUN   -10

EventSet is currently counting

Definition at line 261 of file papi.h.

#define PAPI_EMISC   -14

Unknown error code

Definition at line 265 of file papi.h.

#define PAPI_ENOCMP   -17

Component Index isn't set

Definition at line 268 of file papi.h.

#define PAPI_ENOCNTR   -13

Hardware does not support performance counters

Definition at line 264 of file papi.h.

#define PAPI_ENOEVNT   -7

Event does not exist

Definition at line 258 of file papi.h.

#define PAPI_ENOEVST   -11

No such EventSet Available

Definition at line 262 of file papi.h.

#define PAPI_ENOIMPL   -19

Not implemented

Definition at line 270 of file papi.h.

#define PAPI_ENOINIT   -16

PAPI hasn't been initialized yet

Definition at line 267 of file papi.h.

#define PAPI_ENOMEM   -2

Insufficient memory

Definition at line 252 of file papi.h.

#define PAPI_ENOSUPP   -18

Not supported

Definition at line 269 of file papi.h.

#define PAPI_ENOTPRESET   -12

Event in argument is not a valid preset

Definition at line 263 of file papi.h.

#define PAPI_ENOTRUN   -9

EventSet is currently not running

Definition at line 260 of file papi.h.

#define PAPI_EPERM   -15

Permission level does not permit operation

Definition at line 266 of file papi.h.

#define PAPI_ESBSTR   -4

Backwards compatibility

Definition at line 255 of file papi.h.

#define PAPI_ESYS   -3

A System/C library call failed

Definition at line 253 of file papi.h.

#define PAPI_HIGH_LEVEL_INITED   2 /* High level has called library init */

Definition at line 280 of file papi.h.

#define PAPI_LOW_LEVEL_INITED   1 /* Low level has called library init */

Definition at line 279 of file papi.h.

#define PAPI_NOT_INITED   0

Definition at line 278 of file papi.h.

#define PAPI_NUM_ERRORS   25

Number of error messages specified in this API

Definition at line 276 of file papi.h.

#define PAPI_OK   0

No error

Definition at line 250 of file papi.h.

#define PAPI_THREAD_LEVEL_INITED   4 /* Threads have been inited */

Definition at line 281 of file papi.h.