PAPI  5.4.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
papi_libpfm4_events.h
Go to the documentation of this file.
1 #ifndef _PAPI_LIBPFM4_EVENTS_H
2 #define _PAPI_LIBPFM4_EVENTS_H
3 
4 /*
5 * File: papi_libpfm4_events.h
6 */
7 
8 #include "perfmon/pfmlib.h"
9 #include PEINCLUDE
10 
12  int component;
13  char *pmu;
17  char *base_name;
18  char *mask_string;
22  int cpu;
23  int users;
24  perf_event_attr_t attr;
25 };
26 
27 #define PMU_TYPE_CORE 1
28 #define PMU_TYPE_UNCORE 2
29 #define PMU_TYPE_OS 4
30 
35  pfm_pmu_info_t default_pmu;
36  int pmu_type;
37 };
38 
39 
40 /* Prototypes for libpfm name library access */
41 
42 int _papi_libpfm4_error( int pfm_error );
43 int _papi_libpfm4_shutdown(void);
44 int _papi_libpfm4_init(papi_vector_t *my_vector);
45 
46 #endif // _PAPI_LIBPFM4_EVENTS_H
struct native_event_t * native_events
int _papi_libpfm4_init(papi_vector_t *my_vector)
int _papi_libpfm4_error(int pfm_error)
int _papi_libpfm4_shutdown(void)
perf_event_attr_t attr
pfm_pmu_info_t default_pmu