PAPI 7.1.0.0
Loading...
Searching...
No Matches
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_PMU_MAX   80 /* maximum number of pmu's supported by one component */
 
#define PAPI_DERIVED   0x1 /* Flag to indicate that the event is derived */
 

Detailed Description

Macro Definition Documentation

◆ PAPI_2MAX_STR_LEN

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

Definition at line 473 of file papi.h.

◆ PAPI_ATTACH

#define PAPI_ATTACH   19

Attach to a another tid/pid instead of ourself

Definition at line 455 of file papi.h.

◆ PAPI_CLOCKRATE

#define PAPI_CLOCKRATE   14

Clock rate in MHz

Definition at line 450 of file papi.h.

◆ PAPI_COMPONENTINFO

#define PAPI_COMPONENTINFO   22

Find out what the component supports

Definition at line 458 of file papi.h.

◆ PAPI_CPU_ATTACH

#define PAPI_CPU_ATTACH   27

Specify a cpu number the event set should be tied to

Definition at line 465 of file papi.h.

◆ PAPI_DATA_ADDRESS

#define PAPI_DATA_ADDRESS   23

Option to set data address range restriction

Definition at line 460 of file papi.h.

◆ PAPI_DEBUG

#define PAPI_DEBUG   2

Option to turn on debugging features of the PAPI library

Definition at line 440 of file papi.h.

◆ PAPI_DEF_ITIMER

#define PAPI_DEF_ITIMER   25

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

Definition at line 462 of file papi.h.

◆ PAPI_DEF_ITIMER_NS

#define PAPI_DEF_ITIMER_NS   26

Multiplexing/overflowing interval in ns, same as PAPI_DEF_MPX_NS

Definition at line 463 of file papi.h.

◆ PAPI_DEF_MPX_NS

#define PAPI_DEF_MPX_NS   8

Multiplexing/overflowing interval in ns, same as PAPI_DEF_ITIMER_NS

Definition at line 446 of file papi.h.

◆ PAPI_DEFDOM

#define PAPI_DEFDOM   4

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

Definition at line 442 of file papi.h.

◆ PAPI_DEFGRN

#define PAPI_DEFGRN   6

Granularity for all new eventsets

Definition at line 444 of file papi.h.

◆ PAPI_DERIVED

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

Definition at line 477 of file papi.h.

◆ PAPI_DETACH

#define PAPI_DETACH   1

Detach

Definition at line 439 of file papi.h.

◆ PAPI_DOMAIN

#define PAPI_DOMAIN   5

Domain for an eventset

Definition at line 443 of file papi.h.

◆ PAPI_EXEINFO

#define PAPI_EXEINFO   17

Executable information

Definition at line 453 of file papi.h.

◆ PAPI_GRANUL

#define PAPI_GRANUL   7

Granularity for an eventset

Definition at line 445 of file papi.h.

◆ PAPI_HUGE_STR_LEN

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

Definition at line 474 of file papi.h.

◆ PAPI_HWINFO

#define PAPI_HWINFO   16

Hardware information

Definition at line 452 of file papi.h.

◆ PAPI_INHERIT

#define PAPI_INHERIT   28

Option to set counter inheritance flag

Definition at line 466 of file papi.h.

◆ PAPI_INHERIT_ALL

#define PAPI_INHERIT_ALL   1

The flag to this to inherit all children's counters

Definition at line 435 of file papi.h.

◆ PAPI_INHERIT_NONE

#define PAPI_INHERIT_NONE   0

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

Definition at line 436 of file papi.h.

◆ PAPI_INIT_SLOTS

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

Definition at line 469 of file papi.h.

◆ PAPI_INSTR_ADDRESS

#define PAPI_INSTR_ADDRESS   24

Option to set instruction address range restriction

Definition at line 461 of file papi.h.

◆ PAPI_LIB_VERSION

#define PAPI_LIB_VERSION   21

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

Definition at line 457 of file papi.h.

◆ PAPI_MAX_CPUS

#define PAPI_MAX_CPUS   18

Number of ncpus we can talk to from here

Definition at line 454 of file papi.h.

◆ PAPI_MAX_HWCTRS

#define PAPI_MAX_HWCTRS   15

Number of physical hardware counters

Definition at line 451 of file papi.h.

◆ PAPI_MAX_MPX_CTRS

#define PAPI_MAX_MPX_CTRS   11

Maximum number of counters we can multiplex

Definition at line 447 of file papi.h.

◆ PAPI_MAX_STR_LEN

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

Definition at line 472 of file papi.h.

◆ PAPI_MIN_STR_LEN

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

Definition at line 471 of file papi.h.

◆ PAPI_MULTIPLEX

#define PAPI_MULTIPLEX   3

Turn on/off or multiplexing for an eventset

Definition at line 441 of file papi.h.

◆ PAPI_PMU_MAX

#define PAPI_PMU_MAX   80 /* maximum number of pmu's supported by one component */

Definition at line 476 of file papi.h.

◆ PAPI_PRELOAD

#define PAPI_PRELOAD   13

Option to find out the environment variable that can preload libraries

Definition at line 449 of file papi.h.

◆ PAPI_PROFIL

#define PAPI_PROFIL   12

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

Definition at line 448 of file papi.h.

◆ PAPI_SHLIBINFO

#define PAPI_SHLIBINFO   20

Shared Library information

Definition at line 456 of file papi.h.

◆ PAPI_USER_EVENTS_FILE

#define PAPI_USER_EVENTS_FILE   29

Option to set file from where to parse user defined events

Definition at line 467 of file papi.h.