|
PAPI
5.7.0.0
|
| int PAPI_accum | ( | int | EventSet, |
| long long * | values | ||
| ) |
accumulate and reset hardware events from an event set
Definition at line 2745 of file papi.c.
| int PAPI_add_event | ( | int | EventSet, |
| int | Event | ||
| ) |
add single PAPI preset or native hardware event to an event set
Definition at line 1663 of file papi.c.
| int PAPI_add_events | ( | int | EventSet, |
| int * | Events, | ||
| int | number | ||
| ) |
| int PAPI_add_named_event | ( | int | EventSet, |
| const char * | EventName | ||
| ) |
add an event by name to a PAPI event set
| int PAPI_assign_eventset_component | ( | int | EventSet, |
| int | cidx | ||
| ) |
assign a component index to an existing but empty eventset
Definition at line 1526 of file papi.c.
| int PAPI_attach | ( | int | EventSet, |
| unsigned long | tid | ||
| ) |
attach specified event set to a specific process or thread id
Definition at line 3201 of file papi.c.
| int PAPI_cleanup_eventset | ( | int | EventSet | ) |
remove all PAPI events from an event set
Definition at line 2890 of file papi.c.
| int PAPI_create_eventset | ( | int * | EventSet | ) |
create a new empty PAPI event set
Definition at line 1464 of file papi.c.
| int PAPI_destroy_eventset | ( | int * | EventSet | ) |
deallocates memory associated with an empty PAPI event set
Definition at line 2014 of file papi.c.
| int PAPI_detach | ( | int | EventSet | ) |
detach specified event set from a previously specified process or thread id
Definition at line 3258 of file papi.c.
| int PAPI_disable_component | ( | int | cidx | ) |
Disables a component before init
Definition at line 6666 of file papi.c.
| int PAPI_disable_component_by_name | ( | const char * | name | ) |
| int PAPI_enum_cmp_event | ( | int * | EventCode, |
| int | modifier, | ||
| int | cidx | ||
| ) |
return the event code for the next available component event
Definition at line 1357 of file papi.c.
| int PAPI_enum_event | ( | int * | EventCode, |
| int | modifier | ||
| ) |
return the event code for the next available preset or natvie event
Definition at line 1152 of file papi.c.
| int PAPI_event_code_to_name | ( | int | EventCode, |
| char * | out | ||
| ) |
translate an integer PAPI event code into an ASCII PAPI preset or native name
Definition at line 915 of file papi.c.
| int PAPI_event_name_to_code | ( | const char * | in, |
| int * | out | ||
| ) |
translate an ASCII PAPI preset or native name into an integer PAPI event code
Definition at line 1004 of file papi.c.
| int PAPI_get_cmp_opt | ( | int | option, |
| PAPI_option_t * | ptr, | ||
| int | cidx | ||
| ) |
query the component specific option settings of a specific event set
Definition at line 4335 of file papi.c.
| int PAPI_get_component_index | ( | const char * | name | ) |
Return component index for component with matching name
Definition at line 6610 of file papi.c.
| const PAPI_component_info_t* PAPI_get_component_info | ( | int | cidx | ) |
| int PAPI_get_dmem_info | ( | PAPI_dmem_info_t * | dest | ) |
| int PAPI_get_event_component | ( | int | EventCode | ) |
return which component an EventCode belongs to
Definition at line 6583 of file papi.c.
| int PAPI_get_event_info | ( | int | EventCode, |
| PAPI_event_info_t * | info | ||
| ) |
get the name and descriptions for a given preset or native event code
Definition at line 835 of file papi.c.
| int PAPI_get_eventset_component | ( | int | EventSet | ) |
return which component an EventSet is assigned to
Definition at line 1569 of file papi.c.
| const PAPI_exe_info_t* PAPI_get_executable_info | ( | void | ) |
| const PAPI_hw_info_t* PAPI_get_hardware_info | ( | void | ) |
| int PAPI_get_multiplex | ( | int | EventSet | ) |
| int PAPI_get_opt | ( | int | option, |
| PAPI_option_t * | ptr | ||
| ) |
query the option settings of the PAPI library or a specific event set
Definition at line 4143 of file papi.c.
| int PAPI_get_overflow_event_index | ( | int | Eventset, |
| long long | overflow_vector, | ||
| int * | array, | ||
| int * | number | ||
| ) |
Definition at line 6517 of file papi.c.
| long long PAPI_get_real_cyc | ( | void | ) |
| long long PAPI_get_real_nsec | ( | void | ) |
| long long PAPI_get_real_usec | ( | void | ) |
| const PAPI_shlib_info_t* PAPI_get_shared_lib_info | ( | void | ) |
| int PAPI_get_thr_specific | ( | int | tag, |
| void ** | ptr | ||
| ) |
return a pointer to a thread specific stored data structure
Definition at line 362 of file papi.c.
| long long PAPI_get_virt_cyc | ( | void | ) |
| long long PAPI_get_virt_nsec | ( | void | ) |
| long long PAPI_get_virt_usec | ( | void | ) |
| int PAPI_is_initialized | ( | void | ) |
return the initialized state of the PAPI library
| int PAPI_library_init | ( | int | version | ) |
initialize the PAPI library
Definition at line 500 of file papi.c.
| int PAPI_list_events | ( | int | EventSet, |
| int * | Events, | ||
| int * | number | ||
| ) |
list the events that are members of an event set
Definition at line 6001 of file papi.c.
| int PAPI_list_threads | ( | unsigned long * | tids, |
| int * | number | ||
| ) |
list the thread ids currently known to PAPI
Definition at line 286 of file papi.c.
| int PAPI_lock | ( | int | ) |
| int PAPI_multiplex_init | ( | void | ) |
| int PAPI_num_cmp_hwctrs | ( | int | cidx | ) |
return the number of hardware counters for a specified component
Definition at line 3965 of file papi.c.
| int PAPI_num_events | ( | int | EventSet | ) |
return the number of events in an event set
Definition at line 4426 of file papi.c.
| int PAPI_overflow | ( | int | EventSet, |
| int | EventCode, | ||
| int | threshold, | ||
| int | flags, | ||
| PAPI_overflow_handler_t | handler | ||
| ) |
set up an event set to begin registering overflows
< Using Hardware
< Force using Software
Definition at line 4788 of file papi.c.
| void PAPI_perror | ( | const char * | msg | ) |
| int PAPI_profil | ( | void * | buf, |
| unsigned | bufsiz, | ||
| caddr_t | offset, | ||
| unsigned | scale, | ||
| int | EventSet, | ||
| int | EventCode, | ||
| int | threshold, | ||
| int | flags | ||
| ) |
generate PC histogram data where hardware counter overflow occurs
Definition at line 5438 of file papi.c.
| int PAPI_query_event | ( | int | EventCode | ) |
query if a PAPI event exists
Definition at line 684 of file papi.c.
| int PAPI_query_named_event | ( | const char * | EventName | ) |
| int PAPI_read | ( | int | EventSet, |
| long long * | values | ||
| ) |
read hardware events from an event set with no reset
Definition at line 2559 of file papi.c.
| int PAPI_read_ts | ( | int | EventSet, |
| long long * | values, | ||
| long long * | cyc | ||
| ) |
read from an eventset with a real-time cycle timestamp
Definition at line 2648 of file papi.c.
| int PAPI_register_thread | ( | void | ) |
inform PAPI of the existence of a new thread
Definition at line 208 of file papi.c.
| int PAPI_remove_event | ( | int | EventSet, |
| int | EventCode | ||
| ) |
remove a hardware event from a PAPI event set
Definition at line 1758 of file papi.c.
| int PAPI_remove_events | ( | int | EventSet, |
| int * | Events, | ||
| int | number | ||
| ) |
| int PAPI_remove_named_event | ( | int | EventSet, |
| const char * | EventName | ||
| ) |
| int PAPI_reset | ( | int | EventSet | ) |
reset the hardware event counts in an event set
Definition at line 2459 of file papi.c.
| int PAPI_set_cmp_domain | ( | int | domain, |
| int | cidx | ||
| ) |
| int PAPI_set_cmp_granularity | ( | int | granularity, |
| int | cidx | ||
| ) |
| int PAPI_set_debug | ( | int | level | ) |
| int PAPI_set_domain | ( | int | domain | ) |
| int PAPI_set_granularity | ( | int | granularity | ) |
set the default granularity for new event sets
Definition at line 5557 of file papi.c.
| int PAPI_set_multiplex | ( | int | EventSet | ) |
convert a standard event set to a multiplexed event set
Definition at line 3333 of file papi.c.
| int PAPI_set_opt | ( | int | option, |
| PAPI_option_t * | ptr | ||
| ) |
change the option settings of the PAPI library or a specific event set
Definition at line 3465 of file papi.c.
| int PAPI_set_thr_specific | ( | int | tag, |
| void * | ptr | ||
| ) |
save a pointer as a thread specific stored data structure
Definition at line 438 of file papi.c.
| void PAPI_shutdown | ( | void | ) |
finish using PAPI and free all related resources
Definition at line 4461 of file papi.c.
| int PAPI_sprofil | ( | PAPI_sprofil_t * | prof, |
| int | profcnt, | ||
| int | EventSet, | ||
| int | EventCode, | ||
| int | threshold, | ||
| int | flags | ||
| ) |
generate hardware counter profiles from multiple code regions
Definition at line 5044 of file papi.c.
| int PAPI_start | ( | int | EventSet | ) |
start counting hardware events in an event set
Definition at line 2096 of file papi.c.
| int PAPI_state | ( | int | EventSet, |
| int * | status | ||
| ) |
return the counting state of an event set
Definition at line 3053 of file papi.c.
| int PAPI_stop | ( | int | EventSet, |
| long long * | values | ||
| ) |
stop counting hardware events in an event set and return current events
Definition at line 2314 of file papi.c.
| char* PAPI_strerror | ( | int | ) |
| unsigned long PAPI_thread_id | ( | void | ) |
| int PAPI_thread_init | ( | unsigned long(*)(void) | id_fn | ) |
initialize thread support in the PAPI library
| int PAPI_unlock | ( | int | ) |
| int PAPI_unregister_thread | ( | void | ) |
inform PAPI that a previously registered thread is disappearing
Definition at line 244 of file papi.c.
| int PAPI_write | ( | int | EventSet, |
| long long * | values | ||
| ) |
write counter values into counters
Definition at line 2813 of file papi.c.