PAPI  5.3.2.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Option definitions

Macros

#define PAPI_INHERIT_ALL   1
 
#define PAPI_INHERIT_NONE   0
 
#define PAPI_DETACH   1
 
#define PAPI_DEBUG   2
 
#define PAPI_MULTIPLEX   3
 
#define PAPI_DEFDOM   4
 
#define PAPI_DOMAIN   5
 
#define PAPI_DEFGRN   6
 
#define PAPI_GRANUL   7
 
#define PAPI_DEF_MPX_NS   8
 
#define PAPI_MAX_MPX_CTRS   11
 
#define PAPI_PROFIL   12
 
#define PAPI_PRELOAD   13
 
#define PAPI_CLOCKRATE   14
 
#define PAPI_MAX_HWCTRS   15
 
#define PAPI_HWINFO   16
 
#define PAPI_EXEINFO   17
 
#define PAPI_MAX_CPUS   18
 
#define PAPI_ATTACH   19
 
#define PAPI_SHLIBINFO   20
 
#define PAPI_LIB_VERSION   21
 
#define PAPI_COMPONENTINFO   22
 
#define PAPI_DATA_ADDRESS   23
 
#define PAPI_INSTR_ADDRESS   24
 
#define PAPI_DEF_ITIMER   25
 
#define PAPI_DEF_ITIMER_NS   26
 
#define PAPI_CPU_ATTACH   27
 
#define PAPI_INHERIT   28
 
#define PAPI_USER_EVENTS_FILE   29
 
#define PAPI_INIT_SLOTS
 
#define PAPI_MIN_STR_LEN   64 /* For small strings, like names & stuff */
 
#define PAPI_MAX_STR_LEN   128 /* For average run-of-the-mill strings */
 
#define PAPI_2MAX_STR_LEN   256 /* For somewhat longer run-of-the-mill strings */
 
#define PAPI_HUGE_STR_LEN   1024 /* This should be defined in terms of a system parameter */
 
#define PAPI_DERIVED   0x1 /* Flag to indicate that the event is derived */
 

Detailed Description

Macro Definition Documentation

#define PAPI_2MAX_STR_LEN   256 /* For somewhat longer run-of-the-mill strings */

Definition at line 464 of file papi.h.

#define PAPI_ATTACH   19

Attach to a another tid/pid instead of ourself

Definition at line 445 of file papi.h.

#define PAPI_CLOCKRATE   14

Clock rate in MHz

Definition at line 440 of file papi.h.

#define PAPI_COMPONENTINFO   22

Find out what the component supports

Definition at line 448 of file papi.h.

#define PAPI_CPU_ATTACH   27

Specify a cpu number the event set should be tied to

Definition at line 455 of file papi.h.

#define PAPI_DATA_ADDRESS   23

Option to set data address range restriction

Definition at line 450 of file papi.h.

#define PAPI_DEBUG   2

Option to turn on debugging features of the PAPI library

Definition at line 428 of file papi.h.

#define PAPI_DEF_ITIMER   25

Option to set the type of itimer used in both software multiplexing, overflowing and profiling

Definition at line 452 of file papi.h.

#define PAPI_DEF_ITIMER_NS   26

Multiplexing/overflowing interval in ns, same as PAPI_DEF_MPX_NS

Definition at line 453 of file papi.h.

#define PAPI_DEF_MPX_NS   8

Multiplexing/overflowing interval in ns, same as PAPI_DEF_ITIMER_NS

Definition at line 434 of file papi.h.

#define PAPI_DEFDOM   4

Domain for all new eventsets. Takes non-NULL option pointer.

Definition at line 430 of file papi.h.

#define PAPI_DEFGRN   6

Granularity for all new eventsets

Definition at line 432 of file papi.h.

#define PAPI_DERIVED   0x1 /* Flag to indicate that the event is derived */

Definition at line 467 of file papi.h.

#define PAPI_DETACH   1

Detach

Definition at line 427 of file papi.h.

#define PAPI_DOMAIN   5

Domain for an eventset

Definition at line 431 of file papi.h.

#define PAPI_EXEINFO   17

Executable information

Definition at line 443 of file papi.h.

#define PAPI_GRANUL   7

Granularity for an eventset

Definition at line 433 of file papi.h.

#define PAPI_HUGE_STR_LEN   1024 /* This should be defined in terms of a system parameter */

Definition at line 465 of file papi.h.

#define PAPI_HWINFO   16

Hardware information

Definition at line 442 of file papi.h.

#define PAPI_INHERIT   28

Option to set counter inheritance flag

Definition at line 456 of file papi.h.

#define PAPI_INHERIT_ALL   1

The flag to this to inherit all children's counters

Definition at line 423 of file papi.h.

#define PAPI_INHERIT_NONE   0

The flag to this to inherit none of the children's counters

Definition at line 424 of file papi.h.

#define PAPI_INIT_SLOTS
Value:
64 /*Number of initialized slots in
DynamicArray of EventSets */

Definition at line 459 of file papi.h.

#define PAPI_INSTR_ADDRESS   24

Option to set instruction address range restriction

Definition at line 451 of file papi.h.

#define PAPI_LIB_VERSION   21

Option to find out the complete version number of the PAPI library

Definition at line 447 of file papi.h.

#define PAPI_MAX_CPUS   18

Number of ncpus we can talk to from here

Definition at line 444 of file papi.h.

#define PAPI_MAX_HWCTRS   15

Number of physical hardware counters

Definition at line 441 of file papi.h.

#define PAPI_MAX_MPX_CTRS   11

Maximum number of counters we can multiplex

Definition at line 437 of file papi.h.

#define PAPI_MAX_STR_LEN   128 /* For average run-of-the-mill strings */

Definition at line 463 of file papi.h.

#define PAPI_MIN_STR_LEN   64 /* For small strings, like names & stuff */

Definition at line 462 of file papi.h.

#define PAPI_MULTIPLEX   3

Turn on/off or multiplexing for an eventset

Definition at line 429 of file papi.h.

#define PAPI_PRELOAD   13

Option to find out the environment variable that can preload libraries

Definition at line 439 of file papi.h.

#define PAPI_PROFIL   12

Option to turn on the overflow/profil reporting software [not implemented]

Definition at line 438 of file papi.h.

#define PAPI_SHLIBINFO   20

Shared Library information

Definition at line 446 of file papi.h.

#define PAPI_USER_EVENTS_FILE   29

Option to set file from where to parse user defined events

Definition at line 457 of file papi.h.