PAPI  5.3.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;
16  char *base_name;
18  int users;
19  long long config;
20  long long config1;
21  long long config2;
22  int type;
23 };
24 
25 #define PMU_TYPE_CORE 1
26 #define PMU_TYPE_UNCORE 2
27 #define PMU_TYPE_OS 4
28 
33  pfm_pmu_info_t default_pmu;
34  int pmu_type;
35 };
36 
37 
38 /* Prototypes for libpfm name library access */
39 
40 int _papi_libpfm4_error( int pfm_error );
41 int _papi_libpfm4_shutdown(void);
42 int _papi_libpfm4_init(papi_vector_t *my_vector);
43 
44 #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)
pfm_pmu_info_t default_pmu