PAPI  5.4.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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 
7 int _pe_libpfm4_setup_presets( char *name, int type, int cidx );
8 int _pe_libpfm4_ntv_enum_events( unsigned int *EventCode, int modifier,
9  struct native_event_table_t *event_table);
10 int _pe_libpfm4_ntv_name_to_code( char *ntv_name,
11  unsigned int *EventCode,
12  struct native_event_table_t *event_table);
13 int _pe_libpfm4_ntv_code_to_name( unsigned int EventCode, char *name,
14  int len,
15  struct native_event_table_t *event_table);
16 int _pe_libpfm4_ntv_code_to_descr( unsigned int EventCode, char *name,
17  int len,
18  struct native_event_table_t *event_table);
19 int _pe_libpfm4_shutdown(papi_vector_t *my_vector,
20  struct native_event_table_t *event_table);
21 int _pe_libpfm4_init(papi_vector_t *my_vector, int cidx,
22  struct native_event_table_t *event_table,
23  int pmu_type);
24 
25 
26 int _pe_libpfm4_ntv_code_to_info(unsigned int EventCode,
27  PAPI_event_info_t *info,
28  struct native_event_table_t *event_table);
29 
30 int _pe_libpfm4_get_cidx(void);
int _pe_libpfm4_ntv_enum_events(unsigned int *PapiEventCode, int modifier, struct native_event_table_t *event_table)
int _pe_libpfm4_ntv_name_to_code(char *name, unsigned int *event_code, struct native_event_table_t *event_table)
int _pe_libpfm4_get_cidx(void)
Definition: perf_event.c:71
int _pe_libpfm4_setup_presets(char *name, int type, int cidx)
int _pe_libpfm4_init(papi_vector_t *my_vector, int cidx, struct native_event_table_t *event_table, int pmu_type)
int _pe_libpfm4_ntv_code_to_name(unsigned int EventCode, char *ntv_name, int len, struct native_event_table_t *event_table)
static int cidx
Definition: event_info.c:40
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_ntv_code_to_descr(unsigned int EventCode, char *ntv_descr, int len, struct native_event_table_t *event_table)
int _pe_libpfm4_shutdown(papi_vector_t *my_vector, struct native_event_table_t *event_table)
char * name
Definition: iozone.c:23648