Go to the source code of this file.
◆ PMU_TYPE_CORE
◆ PMU_TYPE_OS
◆ PMU_TYPE_UNCORE
#define PMU_TYPE_UNCORE 2 |
◆ _papi_libpfm4_error()
Definition at line 39 of file papi_libpfm4_events.c.
39 {
40
41 switch ( pfm_error ) {
42 case PFM_SUCCESS:
return PAPI_OK;
55 default:
56 PAPIWARN(
"Unknown libpfm error code %d, returning PAPI_EINVAL",pfm_error);
58 }
59}
void PAPIWARN(char *format,...)
◆ _papi_libpfm4_init()
Definition at line 104 of file papi_libpfm4_events.c.
104 {
105
108
110
113 if (
retval == PFM_SUCCESS ) {
115 }
116 else {
121 }
122 }
123 else {
125 }
126
128
129
130
133
134
135
136
137 if ( PFM_MAJ_VERSION(
version ) !=
138 PFM_MAJ_VERSION( LIBPFM_VERSION ) ) {
139
140 PAPIWARN(
"Version mismatch of libpfm: "
141 "compiled %#x vs. installed %#x\n",
142 PFM_MAJ_VERSION( LIBPFM_VERSION ),
144
145 }
146
147
151
152 } else {
154 }
155
157}
char * pfm_strerror(int code)
pfm_err_t pfm_initialize(void)
pfm_err_t pfm_get_version(unsigned int *version)
char support_version[PAPI_MIN_STR_LEN]
char disabled_reason[PAPI_HUGE_STR_LEN]
PAPI_component_info_t cmp_info
inline_static int _papi_hwi_lock(int lck)
inline_static int _papi_hwi_unlock(int lck)
◆ _papi_libpfm4_shutdown()