Loading...
Searching...
No Matches
Go to the documentation of this file.
12#ifndef _PAPISTDEVENTDEFS
13#define _PAPISTDEVENTDEFS
29#define PAPI_PRESET_MASK ((int)0x80000000)
30#define PAPI_NATIVE_MASK ((int)0x40000000)
31#define PAPI_UE_MASK ((int)0xC0000000)
32#define PAPI_PRESET_AND_MASK 0x7FFFFFFF
33#define PAPI_NATIVE_AND_MASK 0xBFFFFFFF
34#define PAPI_UE_AND_MASK 0x3FFFFFFF
36#define PAPI_MAX_PRESET_EVENTS 128
37#define PAPI_MAX_USER_EVENTS 50
38#define USER_EVENT_OPERATION_LEN 512
170#define PAPI_L1_DCM (PAPI_L1_DCM_idx | PAPI_PRESET_MASK)
171#define PAPI_L1_ICM (PAPI_L1_ICM_idx | PAPI_PRESET_MASK)
172#define PAPI_L2_DCM (PAPI_L2_DCM_idx | PAPI_PRESET_MASK)
173#define PAPI_L2_ICM (PAPI_L2_ICM_idx | PAPI_PRESET_MASK)
174#define PAPI_L3_DCM (PAPI_L3_DCM_idx | PAPI_PRESET_MASK)
175#define PAPI_L3_ICM (PAPI_L3_ICM_idx | PAPI_PRESET_MASK)
176#define PAPI_L1_TCM (PAPI_L1_TCM_idx | PAPI_PRESET_MASK)
177#define PAPI_L2_TCM (PAPI_L2_TCM_idx | PAPI_PRESET_MASK)
178#define PAPI_L3_TCM (PAPI_L3_TCM_idx | PAPI_PRESET_MASK)
179#define PAPI_CA_SNP (PAPI_CA_SNP_idx | PAPI_PRESET_MASK)
180#define PAPI_CA_SHR (PAPI_CA_SHR_idx | PAPI_PRESET_MASK)
181#define PAPI_CA_CLN (PAPI_CA_CLN_idx | PAPI_PRESET_MASK)
182#define PAPI_CA_INV (PAPI_CA_INV_idx | PAPI_PRESET_MASK)
183#define PAPI_CA_ITV (PAPI_CA_ITV_idx | PAPI_PRESET_MASK)
184#define PAPI_L3_LDM (PAPI_L3_LDM_idx | PAPI_PRESET_MASK)
185#define PAPI_L3_STM (PAPI_L3_STM_idx | PAPI_PRESET_MASK)
186#define PAPI_BRU_IDL (PAPI_BRU_IDL_idx | PAPI_PRESET_MASK)
187#define PAPI_FXU_IDL (PAPI_FXU_IDL_idx | PAPI_PRESET_MASK)
188#define PAPI_FPU_IDL (PAPI_FPU_IDL_idx | PAPI_PRESET_MASK)
189#define PAPI_LSU_IDL (PAPI_LSU_IDL_idx | PAPI_PRESET_MASK)
190#define PAPI_TLB_DM (PAPI_TLB_DM_idx | PAPI_PRESET_MASK)
191#define PAPI_TLB_IM (PAPI_TLB_IM_idx | PAPI_PRESET_MASK)
192#define PAPI_TLB_TL (PAPI_TLB_TL_idx | PAPI_PRESET_MASK)
193#define PAPI_L1_LDM (PAPI_L1_LDM_idx | PAPI_PRESET_MASK)
194#define PAPI_L1_STM (PAPI_L1_STM_idx | PAPI_PRESET_MASK)
195#define PAPI_L2_LDM (PAPI_L2_LDM_idx | PAPI_PRESET_MASK)
196#define PAPI_L2_STM (PAPI_L2_STM_idx | PAPI_PRESET_MASK)
197#define PAPI_BTAC_M (PAPI_BTAC_M_idx | PAPI_PRESET_MASK)
198#define PAPI_PRF_DM (PAPI_PRF_DM_idx | PAPI_PRESET_MASK)
199#define PAPI_L3_DCH (PAPI_L3_DCH_idx | PAPI_PRESET_MASK)
200#define PAPI_TLB_SD (PAPI_TLB_SD_idx | PAPI_PRESET_MASK)
201#define PAPI_CSR_FAL (PAPI_CSR_FAL_idx | PAPI_PRESET_MASK)
202#define PAPI_CSR_SUC (PAPI_CSR_SUC_idx | PAPI_PRESET_MASK)
203#define PAPI_CSR_TOT (PAPI_CSR_TOT_idx | PAPI_PRESET_MASK)
204#define PAPI_MEM_SCY (PAPI_MEM_SCY_idx | PAPI_PRESET_MASK)
205#define PAPI_MEM_RCY (PAPI_MEM_RCY_idx | PAPI_PRESET_MASK)
206#define PAPI_MEM_WCY (PAPI_MEM_WCY_idx | PAPI_PRESET_MASK)
207#define PAPI_STL_ICY (PAPI_STL_ICY_idx | PAPI_PRESET_MASK)
208#define PAPI_FUL_ICY (PAPI_FUL_ICY_idx | PAPI_PRESET_MASK)
209#define PAPI_STL_CCY (PAPI_STL_CCY_idx | PAPI_PRESET_MASK)
210#define PAPI_FUL_CCY (PAPI_FUL_CCY_idx | PAPI_PRESET_MASK)
211#define PAPI_HW_INT (PAPI_HW_INT_idx | PAPI_PRESET_MASK)
212#define PAPI_BR_UCN (PAPI_BR_UCN_idx | PAPI_PRESET_MASK)
213#define PAPI_BR_CN (PAPI_BR_CN_idx | PAPI_PRESET_MASK)
214#define PAPI_BR_TKN (PAPI_BR_TKN_idx | PAPI_PRESET_MASK)
215#define PAPI_BR_NTK (PAPI_BR_NTK_idx | PAPI_PRESET_MASK)
216#define PAPI_BR_MSP (PAPI_BR_MSP_idx | PAPI_PRESET_MASK)
217#define PAPI_BR_PRC (PAPI_BR_PRC_idx | PAPI_PRESET_MASK)
218#define PAPI_FMA_INS (PAPI_FMA_INS_idx | PAPI_PRESET_MASK)
219#define PAPI_TOT_IIS (PAPI_TOT_IIS_idx | PAPI_PRESET_MASK)
220#define PAPI_TOT_INS (PAPI_TOT_INS_idx | PAPI_PRESET_MASK)
221#define PAPI_INT_INS (PAPI_INT_INS_idx | PAPI_PRESET_MASK)
222#define PAPI_FP_INS (PAPI_FP_INS_idx | PAPI_PRESET_MASK)
223#define PAPI_LD_INS (PAPI_LD_INS_idx | PAPI_PRESET_MASK)
224#define PAPI_SR_INS (PAPI_SR_INS_idx | PAPI_PRESET_MASK)
225#define PAPI_BR_INS (PAPI_BR_INS_idx | PAPI_PRESET_MASK)
226#define PAPI_VEC_INS (PAPI_VEC_INS_idx | PAPI_PRESET_MASK)
227#define PAPI_RES_STL (PAPI_RES_STL_idx | PAPI_PRESET_MASK)
228#define PAPI_FP_STAL (PAPI_FP_STAL_idx | PAPI_PRESET_MASK)
229#define PAPI_TOT_CYC (PAPI_TOT_CYC_idx | PAPI_PRESET_MASK)
230#define PAPI_LST_INS (PAPI_LST_INS_idx | PAPI_PRESET_MASK)
231#define PAPI_SYC_INS (PAPI_SYC_INS_idx | PAPI_PRESET_MASK)
232#define PAPI_L1_DCH (PAPI_L1_DCH_idx | PAPI_PRESET_MASK)
233#define PAPI_L2_DCH (PAPI_L2_DCH_idx | PAPI_PRESET_MASK)
234#define PAPI_L1_DCA (PAPI_L1_DCA_idx | PAPI_PRESET_MASK)
235#define PAPI_L2_DCA (PAPI_L2_DCA_idx | PAPI_PRESET_MASK)
236#define PAPI_L3_DCA (PAPI_L3_DCA_idx | PAPI_PRESET_MASK)
237#define PAPI_L1_DCR (PAPI_L1_DCR_idx | PAPI_PRESET_MASK)
238#define PAPI_L2_DCR (PAPI_L2_DCR_idx | PAPI_PRESET_MASK)
239#define PAPI_L3_DCR (PAPI_L3_DCR_idx | PAPI_PRESET_MASK)
240#define PAPI_L1_DCW (PAPI_L1_DCW_idx | PAPI_PRESET_MASK)
241#define PAPI_L2_DCW (PAPI_L2_DCW_idx | PAPI_PRESET_MASK)
242#define PAPI_L3_DCW (PAPI_L3_DCW_idx | PAPI_PRESET_MASK)
243#define PAPI_L1_ICH (PAPI_L1_ICH_idx | PAPI_PRESET_MASK)
244#define PAPI_L2_ICH (PAPI_L2_ICH_idx | PAPI_PRESET_MASK)
245#define PAPI_L3_ICH (PAPI_L3_ICH_idx | PAPI_PRESET_MASK)
246#define PAPI_L1_ICA (PAPI_L1_ICA_idx | PAPI_PRESET_MASK)
247#define PAPI_L2_ICA (PAPI_L2_ICA_idx | PAPI_PRESET_MASK)
248#define PAPI_L3_ICA (PAPI_L3_ICA_idx | PAPI_PRESET_MASK)
249#define PAPI_L1_ICR (PAPI_L1_ICR_idx | PAPI_PRESET_MASK)
250#define PAPI_L2_ICR (PAPI_L2_ICR_idx | PAPI_PRESET_MASK)
251#define PAPI_L3_ICR (PAPI_L3_ICR_idx | PAPI_PRESET_MASK)
252#define PAPI_L1_ICW (PAPI_L1_ICW_idx | PAPI_PRESET_MASK)
253#define PAPI_L2_ICW (PAPI_L2_ICW_idx | PAPI_PRESET_MASK)
254#define PAPI_L3_ICW (PAPI_L3_ICW_idx | PAPI_PRESET_MASK)
255#define PAPI_L1_TCH (PAPI_L1_TCH_idx | PAPI_PRESET_MASK)
256#define PAPI_L2_TCH (PAPI_L2_TCH_idx | PAPI_PRESET_MASK)
257#define PAPI_L3_TCH (PAPI_L3_TCH_idx | PAPI_PRESET_MASK)
258#define PAPI_L1_TCA (PAPI_L1_TCA_idx | PAPI_PRESET_MASK)
259#define PAPI_L2_TCA (PAPI_L2_TCA_idx | PAPI_PRESET_MASK)
260#define PAPI_L3_TCA (PAPI_L3_TCA_idx | PAPI_PRESET_MASK)
261#define PAPI_L1_TCR (PAPI_L1_TCR_idx | PAPI_PRESET_MASK)
262#define PAPI_L2_TCR (PAPI_L2_TCR_idx | PAPI_PRESET_MASK)
263#define PAPI_L3_TCR (PAPI_L3_TCR_idx | PAPI_PRESET_MASK)
264#define PAPI_L1_TCW (PAPI_L1_TCW_idx | PAPI_PRESET_MASK)
265#define PAPI_L2_TCW (PAPI_L2_TCW_idx | PAPI_PRESET_MASK)
266#define PAPI_L3_TCW (PAPI_L3_TCW_idx | PAPI_PRESET_MASK)
267#define PAPI_FML_INS (PAPI_FML_INS_idx | PAPI_PRESET_MASK)
268#define PAPI_FAD_INS (PAPI_FAD_INS_idx | PAPI_PRESET_MASK)
269#define PAPI_FDV_INS (PAPI_FDV_INS_idx | PAPI_PRESET_MASK)
270#define PAPI_FSQ_INS (PAPI_FSQ_INS_idx | PAPI_PRESET_MASK)
271#define PAPI_FNV_INS (PAPI_FNV_INS_idx | PAPI_PRESET_MASK)
272#define PAPI_FP_OPS (PAPI_FP_OPS_idx | PAPI_PRESET_MASK)
273#define PAPI_SP_OPS (PAPI_SP_OPS_idx | PAPI_PRESET_MASK)
274#define PAPI_DP_OPS (PAPI_DP_OPS_idx | PAPI_PRESET_MASK)
275#define PAPI_VEC_SP (PAPI_VEC_SP_idx | PAPI_PRESET_MASK)
276#define PAPI_VEC_DP (PAPI_VEC_DP_idx | PAPI_PRESET_MASK)
277#define PAPI_REF_CYC (PAPI_REF_CYC_idx | PAPI_PRESET_MASK)
279#define PAPI_END (PAPI_END_idx | PAPI_PRESET_MASK)