|
PAPI
5.7.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 |
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 |
Definition in file papi_internal.h.
| #define COMPONENT_LOCK PAPI_NUM_LOCK+5 /* per-component */ |
Definition at line 91 of file papi_internal.h.
| #define CPUS_LOCK PAPI_NUM_LOCK+7 /* cpus.c */ |
Definition at line 93 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 70 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 72 of file papi_internal.h.
| #define DERIVED_CMPD 0x8 |
Event lives in operand index but takes 2 or more codes
Definition at line 73 of file papi_internal.h.
| #define DERIVED_INFIX 0x40 |
Process counters based on specified infix string
Definition at line 76 of file papi_internal.h.
| #define DERIVED_POSTFIX 0x20 |
Process counters based on specified postfix string
Definition at line 75 of file papi_internal.h.
| #define DERIVED_PS 0x2 |
Divide by the cycle counter and convert to seconds
Definition at line 71 of file papi_internal.h.
| #define DERIVED_SUB 0x10 |
Sub all counters from counter with operand_index
Definition at line 74 of file papi_internal.h.
| #define DONT_NEED_CONTEXT 0 |
Definition at line 99 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 92 of file papi_internal.h.
| #define HIGHLEVEL_LOCK PAPI_NUM_LOCK+3 /* papi_hl.c */ |
Definition at line 89 of file papi_internal.h.
| #define hwd_context_t void |
Definition at line 107 of file papi_internal.h.
| #define hwd_control_state_t void |
Definition at line 108 of file papi_internal.h.
| #define hwd_reg_alloc_t void |
Definition at line 109 of file papi_internal.h.
| #define hwd_register_t void |
Definition at line 110 of file papi_internal.h.
| #define hwd_siginfo_t void |
Definition at line 111 of file papi_internal.h.
| typedef struct sigcontext hwd_ucontext_t void |
Definition at line 112 of file papi_internal.h.
| #define inline_static inline static |
Definition at line 124 of file papi_internal.h.
| #define INTERNAL_LOCK PAPI_NUM_LOCK+0 /* papi_internal.c */ |
Definition at line 86 of file papi_internal.h.
| #define LOWLEVEL_TLS PAPI_NUM_TLS+0 |
Definition at line 80 of file papi_internal.h.
| #define MEMORY_LOCK PAPI_NUM_LOCK+4 /* papi_memory.c */ |
Definition at line 90 of file papi_internal.h.
| #define MULTIPLEX_LOCK PAPI_NUM_LOCK+1 /* multiplex.c */ |
Definition at line 87 of file papi_internal.h.
| #define NAMELIB_LOCK PAPI_NUM_LOCK+8 /* papi_pfm4_events.c */ |
Definition at line 94 of file papi_internal.h.
| #define NEED_CONTEXT 1 |
Definition at line 98 of file papi_internal.h.
| #define NOT_DERIVED 0x0 |
Do nothing
Definition at line 69 of file papi_internal.h.
| #define NUM_INNER_TLS 1 |
Definition at line 81 of file papi_internal.h.
| #define PAPI_ERROR_CODE_str "Error Code" |
Definition at line 41 of file papi_internal.h.
| #define PAPI_EVENTS_IN_DERIVED_EVENT 8 |
Definition at line 101 of file papi_internal.h.
| #define PAPI_INT_ITIMER ITIMER_PROF |
Definition at line 54 of file papi_internal.h.
| #define PAPI_INT_ITIMER_MS 1 |
Definition at line 56 of file papi_internal.h.
| #define PAPI_INT_MPX_DEF_US 10000 /*Default resolution in us. of mpx handler */ |
Definition at line 65 of file papi_internal.h.
| #define PAPI_INT_MPX_SIGNAL SIGPROF |
Definition at line 52 of file papi_internal.h.
| #define PAPI_INT_SIGNAL SIGPROF |
Definition at line 53 of file papi_internal.h.
| #define PAPI_MAX_TLS (NUM_INNER_TLS+PAPI_NUM_TLS) |
Definition at line 82 of file papi_internal.h.
| #define PAPI_NSIG 128 |
Definition at line 60 of file papi_internal.h.
| #define PAPI_SHUTDOWN_str "PAPI_shutdown: PAPI is not initialized" |
Definition at line 42 of file papi_internal.h.
| #define PAPI_SHUTDOWN_SYNC_str "PAPI_shutdown: other threads still have running EventSets" |
Definition at line 43 of file papi_internal.h.
| #define THREADS_LOCK PAPI_NUM_LOCK+2 /* threads.c */ |
Definition at line 88 of file papi_internal.h.
Definition at line 364 of file papi_internal.h.
| int _papi_hwi_add_event | ( | EventSetInfo_t * | ESI, |
| int | EventCode | ||
| ) |
Definition at line 1335 of file papi_internal.c.

| int _papi_hwi_assign_eventset | ( | EventSetInfo_t * | ESI, |
| int | cidx | ||
| ) |
Definition at line 760 of file papi_internal.c.

| int _papi_hwi_cleanup_eventset | ( | EventSetInfo_t * | ESI | ) |
Definition at line 1755 of file papi_internal.c.

| int _papi_hwi_component_index | ( | int | event_code | ) |
Definition at line 520 of file papi_internal.c.
| int _papi_hwi_convert_eventset_to_multiplex | ( | _papi_int_multiplex_t * | mpx | ) |
Definition at line 1867 of file papi_internal.c.

| int _papi_hwi_create_eventset | ( | int * | EventSet, |
| ThreadInfo_t * | handle | ||
| ) |
Definition at line 937 of file papi_internal.c.

| int _papi_hwi_derived_type | ( | char * | tmp, |
| int * | code | ||
| ) |
Definition at line 2242 of file papi_internal.c.
| void _papi_hwi_dummy_handler | ( | int | EventSet, |
| void * | address, | ||
| long long | overflow_vector, | ||
| void * | context | ||
| ) |
Definition at line 2036 of file papi_internal.c.
| int _papi_hwi_eventcode_to_native | ( | int | event_code | ) |
Definition at line 581 of file papi_internal.c.
| void _papi_hwi_free_EventSet | ( | EventSetInfo_t * | ESI | ) |
Definition at line 892 of file papi_internal.c.

| void _papi_hwi_free_papi_event_string | ( | ) |
Definition at line 107 of file papi_internal.c.
| hwd_context_t* _papi_hwi_get_context | ( | EventSetInfo_t * | ESI, |
| int * | is_dirty | ||
| ) |
Definition at line 2693 of file papi_internal.c.
| int _papi_hwi_get_native_event_info | ( | unsigned int | EventCode, |
| PAPI_event_info_t * | info | ||
| ) |
Definition at line 2576 of file papi_internal.c.

| int _papi_hwi_get_ntv_idx | ( | unsigned int | papi_evt_code | ) |
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 | ) |
Definition at line 102 of file papi_internal.c.
| int _papi_hwi_get_preset_event_info | ( | int | EventCode, |
| PAPI_event_info_t * | info | ||
| ) |
Definition at line 2286 of file papi_internal.c.

| int _papi_hwi_get_user_event_info | ( | int | EventCode, |
| PAPI_event_info_t * | info | ||
| ) |
Definition at line 2346 of file papi_internal.c.

| void _papi_hwi_init_errors | ( | void | ) |
Definition at line 482 of file papi_internal.c.

| int _papi_hwi_init_global | ( | void | ) |
Definition at line 1933 of file papi_internal.c.

| int _papi_hwi_init_global_internal | ( | void | ) |
Definition at line 1976 of file papi_internal.c.

| int _papi_hwi_init_os | ( | void | ) |
| int _papi_hwi_invalid_cmp | ( | int | cidx | ) |
Definition at line 513 of file papi_internal.c.
| int _papi_hwi_is_sw_multiplex | ( | EventSetInfo_t * | ESI | ) |
Definition at line 2669 of file papi_internal.c.
| int _papi_hwi_lookup_EventCodeIndex | ( | const EventSetInfo_t * | ESI, |
| unsigned int | EventCode | ||
| ) |
Definition at line 1005 of file papi_internal.c.

| EventSetInfo_t* _papi_hwi_lookup_EventSet | ( | int | eventset | ) |
Definition at line 2650 of file papi_internal.c.
| void _papi_hwi_map_events_to_native | ( | EventSetInfo_t * | ESI | ) |
Definition at line 1085 of file papi_internal.c.

| int _papi_hwi_native_code_to_name | ( | unsigned int | EventCode, |
| char * | hwi_name, | ||
| int | len | ||
| ) |
Definition at line 2538 of file papi_internal.c.

| int _papi_hwi_native_name_to_code | ( | const char * | in, |
| int * | out | ||
| ) |
Definition at line 2438 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 558 of file papi_internal.c.

| int _papi_hwi_query_native_event | ( | unsigned int | EventCode | ) |
Definition at line 2407 of file papi_internal.c.

| int _papi_hwi_read | ( | hwd_context_t * | context, |
| EventSetInfo_t * | ESI, | ||
| long long * | values | ||
| ) |
Definition at line 1702 of file papi_internal.c.

| int _papi_hwi_remove_event | ( | EventSetInfo_t * | ESI, |
| int | EventCode | ||
| ) |
Definition at line 1619 of file papi_internal.c.

| int _papi_hwi_remove_EventSet | ( | EventSetInfo_t * | ESI | ) |
Definition at line 1023 of file papi_internal.c.

| void _papi_hwi_set_papi_event_code | ( | unsigned int | event_code, |
| int | update_flag | ||
| ) |
Definition at line 119 of file papi_internal.c.
| void _papi_hwi_set_papi_event_string | ( | const char * | event_string | ) |
Definition at line 90 of file papi_internal.c.
| void _papi_hwi_shutdown_global_internal | ( | void | ) |
Definition at line 2000 of file papi_internal.c.

| void PAPIERROR | ( | char * | format, |
| ... | |||
| ) |
Definition at line 606 of file papi_internal.c.

| void PAPIWARN | ( | char * | format, |
| ... | |||
| ) |
Definition at line 620 of file papi_internal.c.

| char** _papi_errlist |
Definition at line 81 of file papi_internal.c.
| PAPI_debug_handler_t _papi_hwi_debug_handler |
Definition at line 55 of file papi_internal.c.
| int _papi_hwi_errno |
Definition at line 57 of file papi_internal.c.
| int _papi_hwi_error_level |
Definition at line 451 of file papi_internal.h.
| int _papi_hwi_num_errors |
Definition at line 58 of file papi_internal.c.
| papi_mdi_t _papi_hwi_system_info |
Definition at line 56 of file papi_internal.c.
| int _papi_num_compiled_components |
| PAPI_os_info_t _papi_os_info |
| int init_level |
Definition at line 53 of file papi_internal.c.
| int papi_num_components |
Definition at line 1925 of file papi_internal.c.