PAPI 7.1.0.0
Loading...
Searching...
No Matches
pe_libpfm4_events.h
Go to the documentation of this file.
1/*
2* File: pe_libpfm4_events.h
3*/
4
5/* Prototypes for libpfm name library access */
6
7int _pe_libpfm4_setup_presets( char *name, int type, int cidx );
8int _pe_libpfm4_ntv_enum_events( unsigned int *EventCode, int modifier, int cidx,
9 struct native_event_table_t *event_table);
10int _pe_libpfm4_ntv_name_to_code( const char *ntv_name,
11 unsigned int *EventCode, int cidx,
12 struct native_event_table_t *event_table);
13int _pe_libpfm4_ntv_code_to_name( unsigned int EventCode, char *name,
14 int len,
15 struct native_event_table_t *event_table);
16int _pe_libpfm4_ntv_code_to_descr( unsigned int EventCode, char *name,
17 int len,
18 struct native_event_table_t *event_table);
20 struct native_event_table_t *event_table);
21
22int _pe_libpfm4_ntv_code_to_info(unsigned int EventCode,
24 struct native_event_table_t *event_table);
25
26int _pe_libpfm4_init(papi_vector_t *my_vector, int cidx,
27 struct native_event_table_t *event_table,
28 int pmu_type);
29
30int _peu_libpfm4_init(papi_vector_t *my_vector, int cidx,
31 struct native_event_table_t *event_table,
32 int pmu_type);
Initialize the libpfm4 code.
Take an event code and convert it to a description.
Take an event code and convert it to a name.
Walk through all events in a pre-defined order.
Take an event name and convert it to an event code.
Shutdown any initialization done by the libpfm4 code.
Initialize the libpfm4 code.
uint16_t type
static int cidx
int _pe_libpfm4_ntv_code_to_info(unsigned int EventCode, PAPI_event_info_t *info, struct native_event_table_t *event_table)
int _pe_libpfm4_setup_presets(char *name, int type, int cidx)
const char * name
Definition: rocs.c:225