PAPI 7.1.0.0
|
int PAPI_accum | ( | int | EventSet, |
long long * | values | ||
) |
accumulate and reset hardware events from an event set
Definition at line 3304 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 2220 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
Definition at line 2435 of file papi.c.
int PAPI_assign_eventset_component | ( | int | EventSet, |
int | cidx | ||
) |
assign a component index to an existing but empty eventset
Definition at line 2081 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 3760 of file papi.c.
int PAPI_cleanup_eventset | ( | int | EventSet | ) |
remove all PAPI events from an event set
Definition at line 3449 of file papi.c.
int PAPI_create_eventset | ( | int * | EventSet | ) |
create a new empty PAPI event set
Definition at line 2019 of file papi.c.
int PAPI_destroy_eventset | ( | int * | EventSet | ) |
deallocates memory associated with an empty PAPI event set
Definition at line 2573 of file papi.c.
int PAPI_detach | ( | int | EventSet | ) |
int PAPI_disable_component | ( | int | cidx | ) |
Disables a component before init
Definition at line 7226 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 1911 of file papi.c.
int PAPI_enum_dev_type | ( | int | enum_modifier, |
void ** | handle | ||
) |
return the handler for the next device type available
Definition at line 7331 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 1706 of file papi.c.
int PAPI_epc | ( | int | event, |
float * | rtime, | ||
float * | ptime, | ||
long long * | ref, | ||
long long * | core, | ||
long long * | evt, | ||
float * | epc | ||
) |
gets (named) events per cycle, real and processor time, reference and core cycles
Definition at line 377 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 1469 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 1558 of file papi.c.
int PAPI_flips_rate | ( | int | event, |
float * | rtime, | ||
float * | ptime, | ||
long long * | flpins, | ||
float * | mflips | ||
) |
int PAPI_flops_rate | ( | int | event, |
float * | rtime, | ||
float * | ptime, | ||
long long * | flpops, | ||
float * | mflops | ||
) |
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 4895 of file papi.c.
int PAPI_get_component_index | ( | const char * | name | ) |
const PAPI_component_info_t * PAPI_get_component_info | ( | int | cidx | ) |
int PAPI_get_dev_attr | ( | void * | handle, |
int | id, | ||
PAPI_dev_attr_e | attr, | ||
void * | value | ||
) |
return the value of the queried attribute for the device handle
Definition at line 7504 of file papi.c.
int PAPI_get_dev_type_attr | ( | void * | handle, |
PAPI_dev_type_attr_e | attr, | ||
void * | value | ||
) |
return the value of the queried attribute for the device type handle
Definition at line 7390 of file papi.c.
int PAPI_get_dmem_info | ( | PAPI_dmem_info_t * | dest | ) |
int PAPI_get_event_component | ( | int | EventCode | ) |
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 1389 of file papi.c.
int PAPI_get_eventset_component | ( | int | EventSet | ) |
return which component an EventSet is assigned to
Definition at line 2124 of file papi.c.
const PAPI_exe_info_t * PAPI_get_executable_info | ( | void | ) |
get the executable's address space information
Definition at line 6674 of file papi.c.
const PAPI_hw_info_t * PAPI_get_hardware_info | ( | void | ) |
get information about the system hardware
Definition at line 6745 of file papi.c.
int PAPI_get_multiplex | ( | int | EventSet | ) |
get the multiplexing status of specified event set
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 4702 of file papi.c.
int PAPI_get_overflow_event_index | ( | int | Eventset, |
long long | overflow_vector, | ||
int * | array, | ||
int * | number | ||
) |
Definition at line 7077 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 | ) |
get information about the shared libraries used by the process
Definition at line 6704 of file papi.c.
int PAPI_get_thr_specific | ( | int | tag, |
void ** | ptr | ||
) |
return a pointer to a thread specific stored data structure
Definition at line 904 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 1042 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 6561 of file papi.c.
int PAPI_list_threads | ( | unsigned long * | tids, |
int * | number | ||
) |
list the thread ids currently known to PAPI
Definition at line 828 of file papi.c.
int PAPI_multiplex_init | ( | void | ) |
int PAPI_num_cmp_hwctrs | ( | int | cidx | ) |
int PAPI_num_components | ( | void | ) |
get the number of components available on the system
int PAPI_num_events | ( | int | EventSet | ) |
return the number of events in an event set
Definition at line 4986 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
Definition at line 5348 of file papi.c.
void PAPI_perror | ( | const char * | msg | ) |
int PAPI_profil | ( | void * | buf, |
unsigned | bufsiz, | ||
vptr_t | offset, | ||
unsigned | scale, | ||
int | EventSet, | ||
int | EventCode, | ||
int | threshold, | ||
int | flags | ||
) |
generate PC histogram data where hardware counter overflow occurs
Definition at line 5998 of file papi.c.
int PAPI_query_event | ( | int | EventCode | ) |
query if a PAPI event exists
Definition at line 1238 of file papi.c.
int PAPI_query_named_event | ( | const char * | EventName | ) |
query if a named PAPI event exists
Definition at line 1310 of file papi.c.
int PAPI_rate_stop | ( | void | ) |
stops a running event set of a rate function
Definition at line 415 of file papi.c.
read hardware events from an event set with no reset
Definition at line 3118 of file papi.c.
read from an eventset with a real-time cycle timestamp
Definition at line 3207 of file papi.c.
int PAPI_register_thread | ( | void | ) |
int PAPI_remove_event | ( | int | EventSet, |
int | EventCode | ||
) |
remove a hardware event from a PAPI event set
Definition at line 2315 of file papi.c.
int PAPI_remove_events | ( | int | EventSet, |
int * | Events, | ||
int | number | ||
) |
int PAPI_remove_named_event | ( | int | EventSet, |
const char * | EventName | ||
) |
remove a named event from a PAPI event set
Definition at line 2520 of file papi.c.
int PAPI_reset | ( | int | EventSet | ) |
reset the hardware event counts in an event set
Definition at line 3018 of file papi.c.
int PAPI_set_cmp_domain | ( | int | domain, |
int | cidx | ||
) |
set the component specific default execution domain for new event sets
Definition at line 6318 of file papi.c.
int PAPI_set_cmp_granularity | ( | int | granularity, |
int | cidx | ||
) |
set the component specific default granularity for new event sets
int PAPI_set_debug | ( | int | level | ) |
set the current debug level for PAPI
int PAPI_set_domain | ( | int | domain | ) |
int PAPI_set_granularity | ( | int | granularity | ) |
int PAPI_set_multiplex | ( | int | EventSet | ) |
convert a standard event set to a multiplexed event set
Definition at line 3892 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 4024 of file papi.c.
int PAPI_set_thr_specific | ( | int | tag, |
void * | ptr | ||
) |
void PAPI_shutdown | ( | void | ) |
finish using PAPI and free all related resources
Definition at line 5021 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 5604 of file papi.c.
int PAPI_start | ( | int | EventSet | ) |
start counting hardware events in an event set
Definition at line 2655 of file papi.c.
int PAPI_state | ( | int | EventSet, |
int * | status | ||
) |
return the counting state of an event set
Definition at line 3612 of file papi.c.
stop counting hardware events in an event set and return current events
Definition at line 2873 of file papi.c.
char * PAPI_strerror | ( | int | errorCode | ) |
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 | lck | ) |
int PAPI_unregister_thread | ( | void | ) |
inform PAPI that a previously registered thread is disappearing
Definition at line 786 of file papi.c.
int PAPI_write | ( | int | EventSet, |
long long * | values | ||
) |
write counter values into counters
Definition at line 3372 of file papi.c.