PAPI  5.0.1.0
papiStdEventDefs.h
Go to the documentation of this file.
00001 
00002 /* file: papiStdEventDefs.h
00003 
00004 The following is a list of hardware events deemed relevant and useful
00005 in tuning application performance. These events have identical
00006 assignments in the header files on different platforms however they
00007 may differ in their actual semantics. In addition, all of these events
00008 are not guaranteed to be present on all platforms.  Please check your
00009 platform's documentation carefully.
00010 
00011 */
00012 #ifndef _PAPISTDEVENTDEFS
00013 #define _PAPISTDEVENTDEFS
00014 
00015 /*
00016    Masks to indicate the event is a preset- the presets will have 
00017    the high bit set to one, as the vendors probably won't use the 
00018    higher numbers for the native events 
00019    This causes a problem for signed ints on 64 bit systems, since the
00020    'high bit' is no longer the high bit. An alternative is to AND
00021    with PAPI_PRESET_AND_MASK) instead of XOR with PAPI_PRESET_MASK to isolate
00022    the event bits.
00023    Native events for a specific platform can be defined by setting
00024    the next-highest bit. This gives PAPI a standardized way of 
00025    differentiating native events from preset events for query
00026    functions, etc.
00027 */
00028 
00029 #define PAPI_PRESET_MASK ((int)0x80000000)
00030 #define PAPI_NATIVE_MASK 0x40000000
00031 #define PAPI_PRESET_AND_MASK 0x7FFFFFFF
00032 #define PAPI_NATIVE_AND_MASK 0xBFFFFFFF /* this masks just the native bit */
00033 
00034 #define PAPI_MAX_PRESET_EVENTS 128  /*The maxmimum number of preset events */
00035 
00036 /*
00037    NOTE: The table below defines each entry in terms of a mask and an integer.
00038    The integers MUST be in consecutive order with no gaps.
00039    If an event is removed or added, all following events MUST be renumbered.
00040    One way to fix this would be to recast each #define in terms of the preceeding
00041    one instead of an absolute number. e.g.:
00042      #define PAPI_L1_ICM  (PAPI_L1_DCM + 1)
00043    That way inserting or deleting events would only affect the definition of one
00044    other event.
00045 */
00046 
00047 enum
00048 {
00049     PAPI_L1_DCM_idx = 0,               /*Level 1 data cache misses */
00050     PAPI_L1_ICM_idx,         /*Level 1 instruction cache misses */
00051     PAPI_L2_DCM_idx,         /*Level 2 data cache misses */
00052     PAPI_L2_ICM_idx,         /*Level 2 instruction cache misses */
00053     PAPI_L3_DCM_idx,         /*Level 3 data cache misses */
00054     PAPI_L3_ICM_idx,         /*Level 3 instruction cache misses */
00055     PAPI_L1_TCM_idx,         /*Level 1 total cache misses */
00056     PAPI_L2_TCM_idx,         /*Level 2 total cache misses */
00057     PAPI_L3_TCM_idx,         /*Level 3 total cache misses */
00058     PAPI_CA_SNP_idx,         /*Snoops */
00059     PAPI_CA_SHR_idx,         /*Request for shared cache line (SMP) */
00060     PAPI_CA_CLN_idx,         /*Request for clean cache line (SMP) */
00061     PAPI_CA_INV_idx,         /*Request for cache line Invalidation (SMP) */
00062     PAPI_CA_ITV_idx,         /*Request for cache line Intervention (SMP) */
00063     PAPI_L3_LDM_idx,         /*Level 3 load misses */
00064     PAPI_L3_STM_idx,         /*Level 3 store misses */
00065 /* 0x10 */
00066     PAPI_BRU_IDL_idx,        /*Cycles branch units are idle */
00067     PAPI_FXU_IDL_idx,        /*Cycles integer units are idle */
00068     PAPI_FPU_IDL_idx,        /*Cycles floating point units are idle */
00069     PAPI_LSU_IDL_idx,        /*Cycles load/store units are idle */
00070     PAPI_TLB_DM_idx,         /*Data translation lookaside buffer misses */
00071     PAPI_TLB_IM_idx,         /*Instr translation lookaside buffer misses */
00072     PAPI_TLB_TL_idx,         /*Total translation lookaside buffer misses */
00073     PAPI_L1_LDM_idx,         /*Level 1 load misses */
00074     PAPI_L1_STM_idx,         /*Level 1 store misses */
00075     PAPI_L2_LDM_idx,         /*Level 2 load misses */
00076     PAPI_L2_STM_idx,         /*Level 2 store misses */
00077     PAPI_BTAC_M_idx,         /*BTAC miss */
00078     PAPI_PRF_DM_idx,         /*Prefetch data instruction caused a miss */
00079     PAPI_L3_DCH_idx,         /*Level 3 Data Cache Hit */
00080     PAPI_TLB_SD_idx,         /*Xlation lookaside buffer shootdowns (SMP) */
00081     PAPI_CSR_FAL_idx,        /*Failed store conditional instructions */
00082 /* 0x20 */
00083     PAPI_CSR_SUC_idx,        /*Successful store conditional instructions */
00084     PAPI_CSR_TOT_idx,        /*Total store conditional instructions */
00085     PAPI_MEM_SCY_idx,        /*Cycles Stalled Waiting for Memory Access */
00086     PAPI_MEM_RCY_idx,        /*Cycles Stalled Waiting for Memory Read */
00087     PAPI_MEM_WCY_idx,        /*Cycles Stalled Waiting for Memory Write */
00088     PAPI_STL_ICY_idx,        /*Cycles with No Instruction Issue */
00089     PAPI_FUL_ICY_idx,        /*Cycles with Maximum Instruction Issue */
00090     PAPI_STL_CCY_idx,        /*Cycles with No Instruction Completion */
00091     PAPI_FUL_CCY_idx,        /*Cycles with Maximum Instruction Completion */
00092     PAPI_HW_INT_idx,         /*Hardware interrupts */
00093     PAPI_BR_UCN_idx,         /*Unconditional branch instructions executed */
00094     PAPI_BR_CN_idx,          /*Conditional branch instructions executed */
00095     PAPI_BR_TKN_idx,         /*Conditional branch instructions taken */
00096     PAPI_BR_NTK_idx,         /*Conditional branch instructions not taken */
00097     PAPI_BR_MSP_idx,         /*Conditional branch instructions mispred */
00098     PAPI_BR_PRC_idx,         /*Conditional branch instructions corr. pred */
00099 /* 0x30 */
00100     PAPI_FMA_INS_idx,        /*FMA instructions completed */
00101     PAPI_TOT_IIS_idx,        /*Total instructions issued */
00102     PAPI_TOT_INS_idx,        /*Total instructions executed */
00103     PAPI_INT_INS_idx,        /*Integer instructions executed */
00104     PAPI_FP_INS_idx,         /*Floating point instructions executed */
00105     PAPI_LD_INS_idx,         /*Load instructions executed */
00106     PAPI_SR_INS_idx,         /*Store instructions executed */
00107     PAPI_BR_INS_idx,         /*Total branch instructions executed */
00108     PAPI_VEC_INS_idx,        /*Vector/SIMD instructions executed (could include integer) */
00109     PAPI_RES_STL_idx,        /*Cycles processor is stalled on resource */
00110     PAPI_FP_STAL_idx,        /*Cycles any FP units are stalled */
00111     PAPI_TOT_CYC_idx,        /*Total cycles executed */
00112     PAPI_LST_INS_idx,        /*Total load/store inst. executed */
00113     PAPI_SYC_INS_idx,        /*Sync. inst. executed */
00114     PAPI_L1_DCH_idx,         /*L1 D Cache Hit */
00115     PAPI_L2_DCH_idx,         /*L2 D Cache Hit */
00116     /* 0x40 */
00117     PAPI_L1_DCA_idx,         /*L1 D Cache Access */
00118     PAPI_L2_DCA_idx,         /*L2 D Cache Access */
00119     PAPI_L3_DCA_idx,         /*L3 D Cache Access */
00120     PAPI_L1_DCR_idx,         /*L1 D Cache Read */
00121     PAPI_L2_DCR_idx,         /*L2 D Cache Read */
00122     PAPI_L3_DCR_idx,         /*L3 D Cache Read */
00123     PAPI_L1_DCW_idx,         /*L1 D Cache Write */
00124     PAPI_L2_DCW_idx,         /*L2 D Cache Write */
00125     PAPI_L3_DCW_idx,         /*L3 D Cache Write */
00126     PAPI_L1_ICH_idx,         /*L1 instruction cache hits */
00127     PAPI_L2_ICH_idx,         /*L2 instruction cache hits */
00128     PAPI_L3_ICH_idx,         /*L3 instruction cache hits */
00129     PAPI_L1_ICA_idx,         /*L1 instruction cache accesses */
00130     PAPI_L2_ICA_idx,         /*L2 instruction cache accesses */
00131     PAPI_L3_ICA_idx,         /*L3 instruction cache accesses */
00132     PAPI_L1_ICR_idx,         /*L1 instruction cache reads */
00133     /* 0x50 */
00134     PAPI_L2_ICR_idx,         /*L2 instruction cache reads */
00135     PAPI_L3_ICR_idx,         /*L3 instruction cache reads */
00136     PAPI_L1_ICW_idx,         /*L1 instruction cache writes */
00137     PAPI_L2_ICW_idx,         /*L2 instruction cache writes */
00138     PAPI_L3_ICW_idx,         /*L3 instruction cache writes */
00139     PAPI_L1_TCH_idx,         /*L1 total cache hits */
00140     PAPI_L2_TCH_idx,         /*L2 total cache hits */
00141     PAPI_L3_TCH_idx,         /*L3 total cache hits */
00142     PAPI_L1_TCA_idx,         /*L1 total cache accesses */
00143     PAPI_L2_TCA_idx,         /*L2 total cache accesses */
00144     PAPI_L3_TCA_idx,         /*L3 total cache accesses */
00145     PAPI_L1_TCR_idx,         /*L1 total cache reads */
00146     PAPI_L2_TCR_idx,         /*L2 total cache reads */
00147     PAPI_L3_TCR_idx,         /*L3 total cache reads */
00148     PAPI_L1_TCW_idx,         /*L1 total cache writes */
00149     PAPI_L2_TCW_idx,         /*L2 total cache writes */
00150     /* 0x60 */
00151     PAPI_L3_TCW_idx,         /*L3 total cache writes */
00152     PAPI_FML_INS_idx,        /*FM ins */
00153     PAPI_FAD_INS_idx,        /*FA ins */
00154     PAPI_FDV_INS_idx,        /*FD ins */
00155     PAPI_FSQ_INS_idx,        /*FSq ins */
00156     PAPI_FNV_INS_idx,        /*Finv ins */
00157     PAPI_FP_OPS_idx,         /*Floating point operations executed */
00158     PAPI_SP_OPS_idx,         /* Floating point operations executed; optimized to count scaled single precision vector operations */
00159     PAPI_DP_OPS_idx,         /* Floating point operations executed; optimized to count scaled double precision vector operations */
00160     PAPI_VEC_SP_idx,         /* Single precision vector/SIMD instructions */
00161     PAPI_VEC_DP_idx,         /* Double precision vector/SIMD instructions */
00162     PAPI_REF_CYC_idx,        /* Reference clock cycles */
00163     PAPI_END_idx             /*This should always be last! */
00164 };
00165 
00166 #define PAPI_L1_DCM  (PAPI_L1_DCM_idx  | PAPI_PRESET_MASK)  /*Level 1 data cache misses */
00167 #define PAPI_L1_ICM  (PAPI_L1_ICM_idx  | PAPI_PRESET_MASK)  /*Level 1 instruction cache misses */
00168 #define PAPI_L2_DCM  (PAPI_L2_DCM_idx  | PAPI_PRESET_MASK)  /*Level 2 data cache misses */
00169 #define PAPI_L2_ICM  (PAPI_L2_ICM_idx  | PAPI_PRESET_MASK)  /*Level 2 instruction cache misses */
00170 #define PAPI_L3_DCM  (PAPI_L3_DCM_idx  | PAPI_PRESET_MASK)  /*Level 3 data cache misses */
00171 #define PAPI_L3_ICM  (PAPI_L3_ICM_idx  | PAPI_PRESET_MASK)  /*Level 3 instruction cache misses */
00172 #define PAPI_L1_TCM  (PAPI_L1_TCM_idx  | PAPI_PRESET_MASK)  /*Level 1 total cache misses */
00173 #define PAPI_L2_TCM  (PAPI_L2_TCM_idx  | PAPI_PRESET_MASK)  /*Level 2 total cache misses */
00174 #define PAPI_L3_TCM  (PAPI_L3_TCM_idx  | PAPI_PRESET_MASK)  /*Level 3 total cache misses */
00175 #define PAPI_CA_SNP  (PAPI_CA_SNP_idx  | PAPI_PRESET_MASK)  /*Snoops */
00176 #define PAPI_CA_SHR  (PAPI_CA_SHR_idx  | PAPI_PRESET_MASK)  /*Request for shared cache line (SMP) */
00177 #define PAPI_CA_CLN  (PAPI_CA_CLN_idx  | PAPI_PRESET_MASK)  /*Request for clean cache line (SMP) */
00178 #define PAPI_CA_INV  (PAPI_CA_INV_idx  | PAPI_PRESET_MASK)  /*Request for cache line Invalidation (SMP) */
00179 #define PAPI_CA_ITV  (PAPI_CA_ITV_idx  | PAPI_PRESET_MASK)  /*Request for cache line Intervention (SMP) */
00180 #define PAPI_L3_LDM  (PAPI_L3_LDM_idx  | PAPI_PRESET_MASK)  /*Level 3 load misses */
00181 #define PAPI_L3_STM  (PAPI_L3_STM_idx  | PAPI_PRESET_MASK)  /*Level 3 store misses */
00182 #define PAPI_BRU_IDL (PAPI_BRU_IDL_idx | PAPI_PRESET_MASK)  /*Cycles branch units are idle */
00183 #define PAPI_FXU_IDL (PAPI_FXU_IDL_idx | PAPI_PRESET_MASK)  /*Cycles integer units are idle */
00184 #define PAPI_FPU_IDL (PAPI_FPU_IDL_idx | PAPI_PRESET_MASK)  /*Cycles floating point units are idle */
00185 #define PAPI_LSU_IDL (PAPI_LSU_IDL_idx | PAPI_PRESET_MASK)  /*Cycles load/store units are idle */
00186 #define PAPI_TLB_DM  (PAPI_TLB_DM_idx  | PAPI_PRESET_MASK)  /*Data translation lookaside buffer misses */
00187 #define PAPI_TLB_IM  (PAPI_TLB_IM_idx  | PAPI_PRESET_MASK)  /*Instr translation lookaside buffer misses */
00188 #define PAPI_TLB_TL  (PAPI_TLB_TL_idx  | PAPI_PRESET_MASK)  /*Total translation lookaside buffer misses */
00189 #define PAPI_L1_LDM  (PAPI_L1_LDM_idx  | PAPI_PRESET_MASK)  /*Level 1 load misses */
00190 #define PAPI_L1_STM  (PAPI_L1_STM_idx  | PAPI_PRESET_MASK)  /*Level 1 store misses */
00191 #define PAPI_L2_LDM  (PAPI_L2_LDM_idx  | PAPI_PRESET_MASK)  /*Level 2 load misses */
00192 #define PAPI_L2_STM  (PAPI_L2_STM_idx  | PAPI_PRESET_MASK)  /*Level 2 store misses */
00193 #define PAPI_BTAC_M  (PAPI_BTAC_M_idx  | PAPI_PRESET_MASK)  /*BTAC miss */
00194 #define PAPI_PRF_DM  (PAPI_PRF_DM_idx  | PAPI_PRESET_MASK)  /*Prefetch data instruction caused a miss */
00195 #define PAPI_L3_DCH  (PAPI_L3_DCH_idx  | PAPI_PRESET_MASK)  /*Level 3 Data Cache Hit */
00196 #define PAPI_TLB_SD  (PAPI_TLB_SD_idx  | PAPI_PRESET_MASK)  /*Xlation lookaside buffer shootdowns (SMP) */
00197 #define PAPI_CSR_FAL (PAPI_CSR_FAL_idx | PAPI_PRESET_MASK)  /*Failed store conditional instructions */
00198 #define PAPI_CSR_SUC (PAPI_CSR_SUC_idx | PAPI_PRESET_MASK)  /*Successful store conditional instructions */
00199 #define PAPI_CSR_TOT (PAPI_CSR_TOT_idx | PAPI_PRESET_MASK)  /*Total store conditional instructions */
00200 #define PAPI_MEM_SCY (PAPI_MEM_SCY_idx | PAPI_PRESET_MASK)  /*Cycles Stalled Waiting for Memory Access */
00201 #define PAPI_MEM_RCY (PAPI_MEM_RCY_idx | PAPI_PRESET_MASK)  /*Cycles Stalled Waiting for Memory Read */
00202 #define PAPI_MEM_WCY (PAPI_MEM_WCY_idx | PAPI_PRESET_MASK)  /*Cycles Stalled Waiting for Memory Write */
00203 #define PAPI_STL_ICY (PAPI_STL_ICY_idx | PAPI_PRESET_MASK)  /*Cycles with No Instruction Issue */
00204 #define PAPI_FUL_ICY (PAPI_FUL_ICY_idx | PAPI_PRESET_MASK)  /*Cycles with Maximum Instruction Issue */
00205 #define PAPI_STL_CCY (PAPI_STL_CCY_idx | PAPI_PRESET_MASK)  /*Cycles with No Instruction Completion */
00206 #define PAPI_FUL_CCY (PAPI_FUL_CCY_idx | PAPI_PRESET_MASK)  /*Cycles with Maximum Instruction Completion */
00207 #define PAPI_HW_INT  (PAPI_HW_INT_idx  | PAPI_PRESET_MASK)  /*Hardware interrupts */
00208 #define PAPI_BR_UCN  (PAPI_BR_UCN_idx  | PAPI_PRESET_MASK)  /*Unconditional branch instructions executed */
00209 #define PAPI_BR_CN   (PAPI_BR_CN_idx   | PAPI_PRESET_MASK)  /*Conditional branch instructions executed */
00210 #define PAPI_BR_TKN  (PAPI_BR_TKN_idx  | PAPI_PRESET_MASK)  /*Conditional branch instructions taken */
00211 #define PAPI_BR_NTK  (PAPI_BR_NTK_idx  | PAPI_PRESET_MASK)  /*Conditional branch instructions not taken */
00212 #define PAPI_BR_MSP  (PAPI_BR_MSP_idx  | PAPI_PRESET_MASK)  /*Conditional branch instructions mispred */
00213 #define PAPI_BR_PRC  (PAPI_BR_PRC_idx  | PAPI_PRESET_MASK)  /*Conditional branch instructions corr. pred */
00214 #define PAPI_FMA_INS (PAPI_FMA_INS_idx | PAPI_PRESET_MASK)  /*FMA instructions completed */
00215 #define PAPI_TOT_IIS (PAPI_TOT_IIS_idx | PAPI_PRESET_MASK)  /*Total instructions issued */
00216 #define PAPI_TOT_INS (PAPI_TOT_INS_idx | PAPI_PRESET_MASK)  /*Total instructions executed */
00217 #define PAPI_INT_INS (PAPI_INT_INS_idx | PAPI_PRESET_MASK)  /*Integer instructions executed */
00218 #define PAPI_FP_INS  (PAPI_FP_INS_idx  | PAPI_PRESET_MASK)  /*Floating point instructions executed */
00219 #define PAPI_LD_INS  (PAPI_LD_INS_idx  | PAPI_PRESET_MASK)  /*Load instructions executed */
00220 #define PAPI_SR_INS  (PAPI_SR_INS_idx  | PAPI_PRESET_MASK)  /*Store instructions executed */
00221 #define PAPI_BR_INS  (PAPI_BR_INS_idx  | PAPI_PRESET_MASK)  /*Total branch instructions executed */
00222 #define PAPI_VEC_INS (PAPI_VEC_INS_idx | PAPI_PRESET_MASK)  /*Vector/SIMD instructions executed (could include integer) */
00223 #define PAPI_RES_STL (PAPI_RES_STL_idx | PAPI_PRESET_MASK)  /*Cycles processor is stalled on resource */
00224 #define PAPI_FP_STAL (PAPI_FP_STAL_idx | PAPI_PRESET_MASK)  /*Cycles any FP units are stalled */
00225 #define PAPI_TOT_CYC (PAPI_TOT_CYC_idx | PAPI_PRESET_MASK)  /*Total cycles executed */
00226 #define PAPI_LST_INS (PAPI_LST_INS_idx | PAPI_PRESET_MASK)  /*Total load/store inst. executed */
00227 #define PAPI_SYC_INS (PAPI_SYC_INS_idx | PAPI_PRESET_MASK)  /*Sync. inst. executed */
00228 #define PAPI_L1_DCH  (PAPI_L1_DCH_idx  | PAPI_PRESET_MASK)  /*L1 D Cache Hit */
00229 #define PAPI_L2_DCH  (PAPI_L2_DCH_idx  | PAPI_PRESET_MASK)  /*L2 D Cache Hit */
00230 #define PAPI_L1_DCA  (PAPI_L1_DCA_idx  | PAPI_PRESET_MASK)  /*L1 D Cache Access */
00231 #define PAPI_L2_DCA  (PAPI_L2_DCA_idx  | PAPI_PRESET_MASK)  /*L2 D Cache Access */
00232 #define PAPI_L3_DCA  (PAPI_L3_DCA_idx  | PAPI_PRESET_MASK)  /*L3 D Cache Access */
00233 #define PAPI_L1_DCR  (PAPI_L1_DCR_idx  | PAPI_PRESET_MASK)  /*L1 D Cache Read */
00234 #define PAPI_L2_DCR  (PAPI_L2_DCR_idx  | PAPI_PRESET_MASK)  /*L2 D Cache Read */
00235 #define PAPI_L3_DCR  (PAPI_L3_DCR_idx  | PAPI_PRESET_MASK)  /*L3 D Cache Read */
00236 #define PAPI_L1_DCW  (PAPI_L1_DCW_idx  | PAPI_PRESET_MASK)  /*L1 D Cache Write */
00237 #define PAPI_L2_DCW  (PAPI_L2_DCW_idx  | PAPI_PRESET_MASK)  /*L2 D Cache Write */
00238 #define PAPI_L3_DCW  (PAPI_L3_DCW_idx  | PAPI_PRESET_MASK)  /*L3 D Cache Write */
00239 #define PAPI_L1_ICH  (PAPI_L1_ICH_idx  | PAPI_PRESET_MASK)  /*L1 instruction cache hits */
00240 #define PAPI_L2_ICH  (PAPI_L2_ICH_idx  | PAPI_PRESET_MASK)  /*L2 instruction cache hits */
00241 #define PAPI_L3_ICH  (PAPI_L3_ICH_idx  | PAPI_PRESET_MASK)  /*L3 instruction cache hits */
00242 #define PAPI_L1_ICA  (PAPI_L1_ICA_idx  | PAPI_PRESET_MASK)  /*L1 instruction cache accesses */
00243 #define PAPI_L2_ICA  (PAPI_L2_ICA_idx  | PAPI_PRESET_MASK)  /*L2 instruction cache accesses */
00244 #define PAPI_L3_ICA  (PAPI_L3_ICA_idx  | PAPI_PRESET_MASK)  /*L3 instruction cache accesses */
00245 #define PAPI_L1_ICR  (PAPI_L1_ICR_idx  | PAPI_PRESET_MASK)  /*L1 instruction cache reads */
00246 #define PAPI_L2_ICR  (PAPI_L2_ICR_idx  | PAPI_PRESET_MASK)  /*L2 instruction cache reads */
00247 #define PAPI_L3_ICR  (PAPI_L3_ICR_idx  | PAPI_PRESET_MASK)  /*L3 instruction cache reads */
00248 #define PAPI_L1_ICW  (PAPI_L1_ICW_idx  | PAPI_PRESET_MASK)  /*L1 instruction cache writes */
00249 #define PAPI_L2_ICW  (PAPI_L2_ICW_idx  | PAPI_PRESET_MASK)  /*L2 instruction cache writes */
00250 #define PAPI_L3_ICW  (PAPI_L3_ICW_idx  | PAPI_PRESET_MASK)  /*L3 instruction cache writes */
00251 #define PAPI_L1_TCH  (PAPI_L1_TCH_idx  | PAPI_PRESET_MASK)  /*L1 total cache hits */
00252 #define PAPI_L2_TCH  (PAPI_L2_TCH_idx  | PAPI_PRESET_MASK)  /*L2 total cache hits */
00253 #define PAPI_L3_TCH  (PAPI_L3_TCH_idx  | PAPI_PRESET_MASK)  /*L3 total cache hits */
00254 #define PAPI_L1_TCA  (PAPI_L1_TCA_idx  | PAPI_PRESET_MASK)  /*L1 total cache accesses */
00255 #define PAPI_L2_TCA  (PAPI_L2_TCA_idx  | PAPI_PRESET_MASK)  /*L2 total cache accesses */
00256 #define PAPI_L3_TCA  (PAPI_L3_TCA_idx  | PAPI_PRESET_MASK)  /*L3 total cache accesses */
00257 #define PAPI_L1_TCR  (PAPI_L1_TCR_idx  | PAPI_PRESET_MASK)  /*L1 total cache reads */
00258 #define PAPI_L2_TCR  (PAPI_L2_TCR_idx  | PAPI_PRESET_MASK)  /*L2 total cache reads */
00259 #define PAPI_L3_TCR  (PAPI_L3_TCR_idx  | PAPI_PRESET_MASK)  /*L3 total cache reads */
00260 #define PAPI_L1_TCW  (PAPI_L1_TCW_idx  | PAPI_PRESET_MASK)  /*L1 total cache writes */
00261 #define PAPI_L2_TCW  (PAPI_L2_TCW_idx  | PAPI_PRESET_MASK)  /*L2 total cache writes */
00262 #define PAPI_L3_TCW  (PAPI_L3_TCW_idx  | PAPI_PRESET_MASK)  /*L3 total cache writes */
00263 #define PAPI_FML_INS (PAPI_FML_INS_idx | PAPI_PRESET_MASK)  /*FM ins */
00264 #define PAPI_FAD_INS (PAPI_FAD_INS_idx | PAPI_PRESET_MASK)  /*FA ins */
00265 #define PAPI_FDV_INS (PAPI_FDV_INS_idx | PAPI_PRESET_MASK)  /*FD ins */
00266 #define PAPI_FSQ_INS (PAPI_FSQ_INS_idx | PAPI_PRESET_MASK)  /*FSq ins */
00267 #define PAPI_FNV_INS (PAPI_FNV_INS_idx | PAPI_PRESET_MASK)  /*Finv ins */
00268 #define PAPI_FP_OPS  (PAPI_FP_OPS_idx  | PAPI_PRESET_MASK)  /*Floating point operations executed */
00269 #define PAPI_SP_OPS  (PAPI_SP_OPS_idx  | PAPI_PRESET_MASK)  /* Floating point operations executed; optimized to count scaled single precision vector operations */
00270 #define PAPI_DP_OPS  (PAPI_DP_OPS_idx  | PAPI_PRESET_MASK)  /* Floating point operations executed; optimized to count scaled double precision vector operations */
00271 #define PAPI_VEC_SP  (PAPI_VEC_SP_idx  | PAPI_PRESET_MASK)  /* Single precision vector/SIMD instructions */
00272 #define PAPI_VEC_DP  (PAPI_VEC_DP_idx  | PAPI_PRESET_MASK)  /* Double precision vector/SIMD instructions */
00273 #define PAPI_REF_CYC (PAPI_REF_CYC_idx  | PAPI_PRESET_MASK) /* Reference clock cycles */
00274 
00275 #define PAPI_END     (PAPI_END_idx  | PAPI_PRESET_MASK) /*This should always be last! */
00276 
00277 #endif
00278 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines