PAPI  5.6.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, int cidx,
9  struct native_event_table_t *event_table);
10 int _pe_libpfm4_ntv_name_to_code( const char *ntv_name,
11  unsigned int *EventCode, int cidx,
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 
22 int _pe_libpfm4_ntv_code_to_info(unsigned int EventCode,
23  PAPI_event_info_t *info,
24  struct native_event_table_t *event_table);
25 
26 int _pe_libpfm4_init(papi_vector_t *my_vector, int cidx,
27  struct native_event_table_t *event_table,
28  int pmu_type);
29 
30 int _peu_libpfm4_init(papi_vector_t *my_vector, int cidx,
31  struct native_event_table_t *event_table,
32  int pmu_type);
int _pe_libpfm4_ntv_enum_events(unsigned int *PapiEventCode, int modifier, int cidx, struct native_event_table_t *event_table)
int _pe_libpfm4_ntv_name_to_code(const char *name, unsigned int *event_code, int cidx, struct native_event_table_t *event_table)
int _pe_libpfm4_setup_presets(char *name, int type, int cidx)
int _pe_libpfm4_init(papi_vector_t *component, 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
int _peu_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_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