PAPI  5.3.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(struct native_event_table_t *event_table);
20 int _pe_libpfm4_init(papi_vector_t *my_vector, int cidx,
21  struct native_event_table_t *event_table,
22  int pmu_type);
23 
24 
25 int _pe_libpfm4_ntv_code_to_info(unsigned int EventCode,
26  PAPI_event_info_t *info,
27  struct native_event_table_t *event_table);
28 
30  int event,
31  struct native_event_table_t *event_table);
int _pe_libpfm4_setup_counters(struct perf_event_attr *attr, int event, struct native_event_table_t *event_table)
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_shutdown(struct native_event_table_t *event_table)
device[deviceId] domain[domainId] event
Definition: linux-cuda.c:306
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)
char * name
Definition: iozone.c:23648
pthread_attr_t attr
Definition: iozone.c:18466