PAPI 7.1.0.0
|
Go to the source code of this file.
Data Structures | |
struct | EventSetDomainInfo_t |
struct | EventSetGranularityInfo_t |
struct | EventSetOverflowInfo_t |
struct | EventSetAttachInfo_t |
struct | EventSetCpuInfo_t |
struct | EventSetInheritInfo_t |
struct | EventSetProfileInfo_t |
struct | EventInfo_t |
struct | NativeInfo_t |
struct | PapiInfo |
struct | MasterEvent |
struct | Threadlist |
struct | EventSetInfo_t |
struct | DynamicArray_t |
struct | _papi_int_attach_t |
struct | _papi_int_cpu_t |
struct | _papi_int_multiplex_t |
struct | _papi_int_defdomain_t |
struct | _papi_int_domain_t |
struct | _papi_int_granularity_t |
struct | _papi_int_overflow_t |
struct | _papi_int_profile_t |
struct | _papi_int_inherit_t |
struct | _papi_int_addr_range_t |
union | _papi_int_option_t |
struct | _papi_hwi_context_t |
struct | papi_mdi_t |
struct | PAPI_os_info_t |
struct | _papi_hwi_sysdetect_t |
Macros | |
#define | DEADBEEF 0xdedbeef |
#define | PAPI_ERROR_CODE_str "Error Code" |
#define | PAPI_SHUTDOWN_str "PAPI_shutdown: PAPI is not initialized" |
#define | PAPI_SHUTDOWN_SYNC_str "PAPI_shutdown: other threads still have running EventSets" |
#define | PAPI_INT_MPX_SIGNAL SIGPROF |
#define | PAPI_INT_SIGNAL SIGPROF |
#define | PAPI_INT_ITIMER ITIMER_PROF |
#define | PAPI_INT_ITIMER_MS 1 |
#define | PAPI_NSIG 128 |
#define | PAPI_INT_MPX_DEF_US 10000 /*Default resolution in us. of mpx handler */ |
#define | NOT_DERIVED 0x0 |
#define | DERIVED_ADD 0x1 |
#define | DERIVED_PS 0x2 |
#define | DERIVED_ADD_PS 0x4 |
#define | DERIVED_CMPD 0x8 |
#define | DERIVED_SUB 0x10 |
#define | DERIVED_POSTFIX 0x20 |
#define | DERIVED_INFIX 0x40 |
#define | LOWLEVEL_TLS PAPI_NUM_TLS+0 |
#define | NUM_INNER_TLS 1 |
#define | PAPI_MAX_TLS (NUM_INNER_TLS+PAPI_NUM_TLS) |
#define | INTERNAL_LOCK PAPI_NUM_LOCK+0 /* papi_internal.c */ |
#define | MULTIPLEX_LOCK PAPI_NUM_LOCK+1 /* multiplex.c */ |
#define | THREADS_LOCK PAPI_NUM_LOCK+2 /* threads.c */ |
#define | HIGHLEVEL_LOCK PAPI_NUM_LOCK+3 /* papi_hl.c */ |
#define | MEMORY_LOCK PAPI_NUM_LOCK+4 /* papi_memory.c */ |
#define | COMPONENT_LOCK PAPI_NUM_LOCK+5 /* per-component */ |
#define | GLOBAL_LOCK PAPI_NUM_LOCK+6 /* papi.c for global variable (static and non) initialization/shutdown */ |
#define | CPUS_LOCK PAPI_NUM_LOCK+7 /* cpus.c */ |
#define | NAMELIB_LOCK PAPI_NUM_LOCK+8 /* papi_pfm4_events.c */ |
#define | NEED_CONTEXT 1 |
#define | DONT_NEED_CONTEXT 0 |
#define | PAPI_EVENTS_IN_DERIVED_EVENT 8 |
#define | hwd_context_t void |
#define | hwd_control_state_t void |
#define | hwd_reg_alloc_t void |
#define | hwd_register_t void |
#define | hwd_siginfo_t void |
#define | hwd_ucontext_t void |
#define | inline_static inline static |
Typedefs | |
typedef PAPI_itimer_option_t | _papi_int_itimer_t |
Enumerations | |
enum | { PAPI_SYSDETECT_QUERY__DEV_TYPE_ENUM , PAPI_SYSDETECT_QUERY__DEV_TYPE_ATTR , PAPI_SYSDETECT_QUERY__DEV_ATTR } |
Definition in file papi_internal.h.
#define COMPONENT_LOCK PAPI_NUM_LOCK+5 /* per-component */ |
Definition at line 90 of file papi_internal.h.
#define CPUS_LOCK PAPI_NUM_LOCK+7 /* cpus.c */ |
Definition at line 92 of file papi_internal.h.
#define DEADBEEF 0xdedbeef |
Definition at line 26 of file papi_internal.h.
#define DERIVED_ADD 0x1 |
Add counters
Definition at line 69 of file papi_internal.h.
#define DERIVED_ADD_PS 0x4 |
Add 2 counters then divide by the cycle counter and xl8 to secs.
Definition at line 71 of file papi_internal.h.
#define DERIVED_CMPD 0x8 |
Event lives in operand index but takes 2 or more codes
Definition at line 72 of file papi_internal.h.
#define DERIVED_INFIX 0x40 |
Process counters based on specified infix string
Definition at line 75 of file papi_internal.h.
#define DERIVED_POSTFIX 0x20 |
Process counters based on specified postfix string
Definition at line 74 of file papi_internal.h.
#define DERIVED_PS 0x2 |
Divide by the cycle counter and convert to seconds
Definition at line 70 of file papi_internal.h.
#define DERIVED_SUB 0x10 |
Sub all counters from counter with operand_index
Definition at line 73 of file papi_internal.h.
#define DONT_NEED_CONTEXT 0 |
Definition at line 98 of file papi_internal.h.
#define GLOBAL_LOCK PAPI_NUM_LOCK+6 /* papi.c for global variable (static and non) initialization/shutdown */ |
Definition at line 91 of file papi_internal.h.
#define HIGHLEVEL_LOCK PAPI_NUM_LOCK+3 /* papi_hl.c */ |
Definition at line 88 of file papi_internal.h.
#define hwd_context_t void |
Definition at line 106 of file papi_internal.h.
#define hwd_control_state_t void |
Definition at line 107 of file papi_internal.h.
#define hwd_reg_alloc_t void |
Definition at line 108 of file papi_internal.h.
#define hwd_register_t void |
Definition at line 109 of file papi_internal.h.
#define hwd_siginfo_t void |
Definition at line 110 of file papi_internal.h.
typedef struct sigcontext hwd_ucontext_t void |
Definition at line 111 of file papi_internal.h.
#define inline_static inline static |
Definition at line 123 of file papi_internal.h.
#define INTERNAL_LOCK PAPI_NUM_LOCK+0 /* papi_internal.c */ |
Definition at line 85 of file papi_internal.h.
#define LOWLEVEL_TLS PAPI_NUM_TLS+0 |
Definition at line 79 of file papi_internal.h.
#define MEMORY_LOCK PAPI_NUM_LOCK+4 /* papi_memory.c */ |
Definition at line 89 of file papi_internal.h.
#define MULTIPLEX_LOCK PAPI_NUM_LOCK+1 /* multiplex.c */ |
Definition at line 86 of file papi_internal.h.
#define NAMELIB_LOCK PAPI_NUM_LOCK+8 /* papi_pfm4_events.c */ |
Definition at line 93 of file papi_internal.h.
#define NEED_CONTEXT 1 |
Definition at line 97 of file papi_internal.h.
#define NOT_DERIVED 0x0 |
Do nothing
Definition at line 68 of file papi_internal.h.
#define NUM_INNER_TLS 1 |
Definition at line 80 of file papi_internal.h.
#define PAPI_ERROR_CODE_str "Error Code" |
Definition at line 40 of file papi_internal.h.
#define PAPI_EVENTS_IN_DERIVED_EVENT 8 |
Definition at line 100 of file papi_internal.h.
#define PAPI_INT_ITIMER ITIMER_PROF |
Definition at line 53 of file papi_internal.h.
#define PAPI_INT_ITIMER_MS 1 |
Definition at line 55 of file papi_internal.h.
#define PAPI_INT_MPX_DEF_US 10000 /*Default resolution in us. of mpx handler */ |
Definition at line 64 of file papi_internal.h.
#define PAPI_INT_MPX_SIGNAL SIGPROF |
Definition at line 51 of file papi_internal.h.
#define PAPI_INT_SIGNAL SIGPROF |
Definition at line 52 of file papi_internal.h.
#define PAPI_MAX_TLS (NUM_INNER_TLS+PAPI_NUM_TLS) |
Definition at line 81 of file papi_internal.h.
#define PAPI_NSIG 128 |
Definition at line 59 of file papi_internal.h.
#define PAPI_SHUTDOWN_str "PAPI_shutdown: PAPI is not initialized" |
Definition at line 41 of file papi_internal.h.
#define PAPI_SHUTDOWN_SYNC_str "PAPI_shutdown: other threads still have running EventSets" |
Definition at line 42 of file papi_internal.h.
#define THREADS_LOCK PAPI_NUM_LOCK+2 /* threads.c */ |
Definition at line 87 of file papi_internal.h.
Definition at line 363 of file papi_internal.h.
anonymous enum |
Enumerator | |
---|---|
PAPI_SYSDETECT_QUERY__DEV_TYPE_ENUM | |
PAPI_SYSDETECT_QUERY__DEV_TYPE_ATTR | |
PAPI_SYSDETECT_QUERY__DEV_ATTR |
Definition at line 495 of file papi_internal.h.
int _papi_hwi_add_event | ( | EventSetInfo_t * | ESI, |
int | EventCode | ||
) |
Definition at line 1337 of file papi_internal.c.
int _papi_hwi_assign_eventset | ( | EventSetInfo_t * | ESI, |
int | cidx | ||
) |
Definition at line 762 of file papi_internal.c.
int _papi_hwi_cleanup_eventset | ( | EventSetInfo_t * | ESI | ) |
Definition at line 1758 of file papi_internal.c.
Definition at line 522 of file papi_internal.c.
int _papi_hwi_convert_eventset_to_multiplex | ( | _papi_int_multiplex_t * | mpx | ) |
Definition at line 1870 of file papi_internal.c.
int _papi_hwi_create_eventset | ( | int * | EventSet, |
ThreadInfo_t * | handle | ||
) |
Definition at line 939 of file papi_internal.c.
Definition at line 2247 of file papi_internal.c.
void _papi_hwi_dummy_handler | ( | int | EventSet, |
void * | address, | ||
long long | overflow_vector, | ||
void * | context | ||
) |
Definition at line 2041 of file papi_internal.c.
Definition at line 2758 of file papi_internal.c.
Definition at line 583 of file papi_internal.c.
void _papi_hwi_free_EventSet | ( | EventSetInfo_t * | ESI | ) |
Definition at line 894 of file papi_internal.c.
void _papi_hwi_free_papi_event_string | ( | ) |
Definition at line 110 of file papi_internal.c.
hwd_context_t * _papi_hwi_get_context | ( | EventSetInfo_t * | ESI, |
int * | is_dirty | ||
) |
Definition at line 2702 of file papi_internal.c.
int _papi_hwi_get_dev_attr | ( | void * | handle, |
int | id, | ||
PAPI_dev_attr_e | attr, | ||
void * | val | ||
) |
Definition at line 2785 of file papi_internal.c.
int _papi_hwi_get_dev_type_attr | ( | void * | handle, |
PAPI_dev_type_attr_e | attr, | ||
void * | val | ||
) |
Definition at line 2771 of file papi_internal.c.
int _papi_hwi_get_native_event_info | ( | unsigned int | EventCode, |
PAPI_event_info_t * | info | ||
) |
Definition at line 2583 of file papi_internal.c.
Definition at line 142 of file papi_internal.c.
PAPI_os_info_t * _papi_hwi_get_os_info | ( | void | ) |
unsigned int _papi_hwi_get_papi_event_code | ( | void | ) |
Definition at line 136 of file papi_internal.c.
char * _papi_hwi_get_papi_event_string | ( | void | ) |
int _papi_hwi_get_preset_event_info | ( | int | EventCode, |
PAPI_event_info_t * | info | ||
) |
Definition at line 2291 of file papi_internal.c.
int _papi_hwi_get_user_event_info | ( | int | EventCode, |
PAPI_event_info_t * | info | ||
) |
Definition at line 2351 of file papi_internal.c.
void _papi_hwi_init_errors | ( | void | ) |
Definition at line 482 of file papi_internal.c.
Definition at line 1938 of file papi_internal.c.
int _papi_hwi_init_global_internal | ( | void | ) |
Definition at line 1982 of file papi_internal.c.
int _papi_hwi_init_os | ( | void | ) |
int _papi_hwi_is_sw_multiplex | ( | EventSetInfo_t * | ESI | ) |
Definition at line 2678 of file papi_internal.c.
int _papi_hwi_lookup_EventCodeIndex | ( | const EventSetInfo_t * | ESI, |
unsigned int | EventCode | ||
) |
Definition at line 1007 of file papi_internal.c.
EventSetInfo_t * _papi_hwi_lookup_EventSet | ( | int | eventset | ) |
Definition at line 2659 of file papi_internal.c.
void _papi_hwi_map_events_to_native | ( | EventSetInfo_t * | ESI | ) |
Definition at line 1087 of file papi_internal.c.
Definition at line 2545 of file papi_internal.c.
Definition at line 2443 of file papi_internal.c.
int _papi_hwi_native_to_eventcode | ( | int | cidx, |
int | event_code, | ||
int | ntv_idx, | ||
const char * | event_name | ||
) |
Definition at line 560 of file papi_internal.c.
Definition at line 2412 of file papi_internal.c.
int _papi_hwi_read | ( | hwd_context_t * | context, |
EventSetInfo_t * | ESI, | ||
long long * | values | ||
) |
Definition at line 1705 of file papi_internal.c.
int _papi_hwi_remove_event | ( | EventSetInfo_t * | ESI, |
int | EventCode | ||
) |
Definition at line 1622 of file papi_internal.c.
int _papi_hwi_remove_EventSet | ( | EventSetInfo_t * | ESI | ) |
Definition at line 1025 of file papi_internal.c.
Definition at line 119 of file papi_internal.c.
void _papi_hwi_set_papi_event_string | ( | const char * | event_string | ) |
Definition at line 93 of file papi_internal.c.
void _papi_hwi_shutdown_global_internal | ( | void | ) |
Definition at line 2005 of file papi_internal.c.
void PAPIERROR | ( | char * | format, |
... | |||
) |
void PAPIWARN | ( | char * | format, |
... | |||
) |
|
extern |
Definition at line 84 of file papi_internal.c.
|
extern |
Definition at line 63 of file papi_internal.c.
|
extern |
Definition at line 55 of file papi_internal.c.
|
extern |
Definition at line 57 of file papi_internal.c.
|
extern |
Definition at line 453 of file papi_internal.h.
|
extern |
Definition at line 58 of file papi_internal.c.
|
extern |
Definition at line 56 of file papi_internal.c.
|
extern |
|
extern |
|
extern |
Definition at line 62 of file papi_internal.c.
|
extern |
Definition at line 53 of file papi_internal.c.
|
extern |
Definition at line 1928 of file papi_internal.c.