|
PAPI
5.0.1.0
|
00001 /* These are used both by PAPI and by the genpapifdef utility */ 00002 00003 /* They are in their own include to allow genpapifdef to be built */ 00004 /* without having to link against libpapi.a */ 00005 00006 hwi_presets_t _papi_hwi_presets[PAPI_MAX_PRESET_EVENTS] = { 00007 /* 0 */ {"PAPI_L1_DCM", 00008 "L1D cache misses", 00009 "Level 1 data cache misses", 0, 00010 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L1, 00011 NULL, {0},{NULL}, NULL}, 00012 /* 1 */ {"PAPI_L1_ICM", 00013 "L1I cache misses", 00014 "Level 1 instruction cache misses", 0, 00015 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L1 + PAPI_PRESET_BIT_INS, 00016 NULL, {0},{NULL}, NULL}, 00017 /* 2 */ {"PAPI_L2_DCM", 00018 "L2D cache misses", 00019 "Level 2 data cache misses", 0, 00020 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L2, 00021 NULL, {0},{NULL}, NULL}, 00022 /* 3 */ {"PAPI_L2_ICM", 00023 "L2I cache misses", 00024 "Level 2 instruction cache misses", 0, 00025 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L2 + PAPI_PRESET_BIT_INS, 00026 NULL, {0},{NULL}, NULL}, 00027 /* 4 */ {"PAPI_L3_DCM", 00028 "L3D cache misses", 00029 "Level 3 data cache misses", 0, 00030 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L3, 00031 NULL, {0},{NULL}, NULL}, 00032 /* 5 */ {"PAPI_L3_ICM", 00033 "L3I cache misses", 00034 "Level 3 instruction cache misses", 0, 00035 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L3 + PAPI_PRESET_BIT_INS, 00036 NULL, {0},{NULL}, NULL}, 00037 /* 6 */ {"PAPI_L1_TCM", 00038 "L1 cache misses", 00039 "Level 1 cache misses", 0, 00040 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L1, 00041 NULL, {0},{NULL}, NULL}, 00042 /* 7 */ {"PAPI_L2_TCM", 00043 "L2 cache misses", 00044 "Level 2 cache misses", 0, 00045 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L2, 00046 NULL, {0},{NULL}, NULL}, 00047 /* 8 */ {"PAPI_L3_TCM", 00048 "L3 cache misses", 00049 "Level 3 cache misses", 0, 00050 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L3, 00051 NULL, {0},{NULL}, NULL}, 00052 /* 9 */ {"PAPI_CA_SNP", 00053 "Snoop Requests", 00054 "Requests for a snoop", 0, 00055 0, PAPI_PRESET_BIT_CACH, 00056 NULL, {0},{NULL}, NULL}, 00057 /* 10 */ {"PAPI_CA_SHR", 00058 "Ex Acces shared CL", 00059 "Requests for exclusive access to shared cache line", 0, 00060 0, PAPI_PRESET_BIT_CACH, 00061 NULL, {0},{NULL}, NULL}, 00062 /* 11 */ {"PAPI_CA_CLN", 00063 "Ex Access clean CL", 00064 "Requests for exclusive access to clean cache line", 0, 00065 0, PAPI_PRESET_BIT_CACH, 00066 NULL, {0},{NULL}, NULL}, 00067 /* 12 */ {"PAPI_CA_INV", 00068 "Cache ln invalid", 00069 "Requests for cache line invalidation", 0, 00070 0, PAPI_PRESET_BIT_CACH, 00071 NULL, {0},{NULL}, NULL}, 00072 /* 13 */ {"PAPI_CA_ITV", 00073 "Cache ln intervene", 00074 "Requests for cache line intervention", 0, 00075 0, PAPI_PRESET_BIT_CACH, 00076 NULL, {0},{NULL}, NULL}, 00077 /* 14 */ {"PAPI_L3_LDM", 00078 "L3 load misses", 00079 "Level 3 load misses", 0, 00080 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L3, 00081 NULL, {0},{NULL}, NULL}, 00082 /* 15 */ {"PAPI_L3_STM", 00083 "L3 store misses", 00084 "Level 3 store misses", 0, 00085 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L3, 00086 NULL, {0},{NULL}, NULL}, 00087 /* 16 */ {"PAPI_BRU_IDL", 00088 "Branch idle cycles", 00089 "Cycles branch units are idle", 0, 00090 0, PAPI_PRESET_BIT_IDL + PAPI_PRESET_BIT_BR, 00091 NULL, {0},{NULL}, NULL}, 00092 /* 17 */ {"PAPI_FXU_IDL", 00093 "IU idle cycles", 00094 "Cycles integer units are idle", 0, 00095 0, PAPI_PRESET_BIT_IDL, 00096 NULL, {0},{NULL}, NULL}, 00097 /* 18 */ {"PAPI_FPU_IDL", 00098 "FPU idle cycles", 00099 "Cycles floating point units are idle", 0, 00100 0, PAPI_PRESET_BIT_IDL + PAPI_PRESET_BIT_FP, 00101 NULL, {0},{NULL}, NULL}, 00102 /* 19 */ {"PAPI_LSU_IDL", 00103 "L/SU idle cycles", 00104 "Cycles load/store units are idle", 0, 00105 0, PAPI_PRESET_BIT_IDL + PAPI_PRESET_BIT_MEM, 00106 NULL, {0},{NULL}, NULL}, 00107 /* 20 */ {"PAPI_TLB_DM", 00108 "Data TLB misses", 00109 "Data translation lookaside buffer misses", 0, 00110 0, PAPI_PRESET_BIT_TLB, 00111 NULL, {0},{NULL}, NULL}, 00112 /* 21 */ {"PAPI_TLB_IM", 00113 "Instr TLB misses", 00114 "Instruction translation lookaside buffer misses", 0, 00115 0, PAPI_PRESET_BIT_TLB + PAPI_PRESET_BIT_INS, 00116 NULL, {0},{NULL}, NULL}, 00117 /* 22 */ {"PAPI_TLB_TL", 00118 "Total TLB misses", 00119 "Total translation lookaside buffer misses", 0, 00120 0, PAPI_PRESET_BIT_TLB, 00121 NULL, {0},{NULL}, NULL}, 00122 /* 23 */ {"PAPI_L1_LDM", 00123 "L1 load misses", 00124 "Level 1 load misses", 0, 00125 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L1, 00126 NULL, {0},{NULL}, NULL}, 00127 /* 24 */ {"PAPI_L1_STM", 00128 "L1 store misses", 00129 "Level 1 store misses", 0, 00130 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L1, 00131 NULL, {0},{NULL}, NULL}, 00132 /* 25 */ {"PAPI_L2_LDM", 00133 "L2 load misses", 00134 "Level 2 load misses", 0, 00135 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L2, 00136 NULL, {0},{NULL}, NULL}, 00137 /* 26 */ {"PAPI_L2_STM", 00138 "L2 store misses", 00139 "Level 2 store misses", 0, 00140 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L2, 00141 NULL, {0},{NULL}, NULL}, 00142 /* 27 */ {"PAPI_BTAC_M", 00143 "Br targt addr miss", 00144 "Branch target address cache misses", 0, 00145 0, PAPI_PRESET_BIT_BR, 00146 NULL, {0},{NULL}, NULL}, 00147 /* 28 */ {"PAPI_PRF_DM", 00148 "Data prefetch miss", 00149 "Data prefetch cache misses", 0, 00150 0, PAPI_PRESET_BIT_CACH, 00151 NULL, {0},{NULL}, NULL}, 00152 /* 29 */ {"PAPI_L3_DCH", 00153 "L3D cache hits", 00154 "Level 3 data cache hits", 0, 00155 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L2, 00156 NULL, {0},{NULL}, NULL}, 00157 /* 30 */ {"PAPI_TLB_SD", 00158 "TLB shootdowns", 00159 "Translation lookaside buffer shootdowns", 0, 00160 0, PAPI_PRESET_BIT_TLB, 00161 NULL, {0},{NULL}, NULL}, 00162 /* 31 */ {"PAPI_CSR_FAL", 00163 "Failed store cond", 00164 "Failed store conditional instructions", 0, 00165 0, PAPI_PRESET_BIT_CND + PAPI_PRESET_BIT_MEM, 00166 NULL, {0},{NULL}, NULL}, 00167 /* 32 */ {"PAPI_CSR_SUC", 00168 "Good store cond", 00169 "Successful store conditional instructions", 0, 00170 0, PAPI_PRESET_BIT_CND + PAPI_PRESET_BIT_MEM, 00171 NULL, {0},{NULL}, NULL}, 00172 /* 33 */ {"PAPI_CSR_TOT", 00173 "Total store cond", 00174 "Total store conditional instructions", 0, 00175 0, PAPI_PRESET_BIT_CND + PAPI_PRESET_BIT_MEM, 00176 NULL, {0},{NULL}, NULL}, 00177 /* 34 */ {"PAPI_MEM_SCY", 00178 "Stalled mem cycles", 00179 "Cycles Stalled Waiting for memory accesses", 0, 00180 0, PAPI_PRESET_BIT_MEM, 00181 NULL, {0},{NULL}, NULL}, 00182 /* 35 */ {"PAPI_MEM_RCY", 00183 "Stalled rd cycles", 00184 "Cycles Stalled Waiting for memory Reads", 0, 00185 0, PAPI_PRESET_BIT_MEM, 00186 NULL, {0},{NULL}, NULL}, 00187 /* 36 */ {"PAPI_MEM_WCY", 00188 "Stalled wr cycles", 00189 "Cycles Stalled Waiting for memory writes", 0, 00190 0, PAPI_PRESET_BIT_MEM, 00191 NULL, {0},{NULL}, NULL}, 00192 /* 37 */ {"PAPI_STL_ICY", 00193 "No instr issue", 00194 "Cycles with no instruction issue", 0, 00195 0, PAPI_PRESET_BIT_INS, 00196 NULL, {0},{NULL}, NULL}, 00197 /* 38 */ {"PAPI_FUL_ICY", 00198 "Max instr issue", 00199 "Cycles with maximum instruction issue", 0, 00200 0, PAPI_PRESET_BIT_INS, 00201 NULL, {0},{NULL}, NULL}, 00202 /* 39 */ {"PAPI_STL_CCY", 00203 "No instr done", 00204 "Cycles with no instructions completed", 0, 00205 0, PAPI_PRESET_BIT_INS, 00206 NULL, {0},{NULL}, NULL}, 00207 /* 40 */ {"PAPI_FUL_CCY", 00208 "Max instr done", 00209 "Cycles with maximum instructions completed", 0, 00210 0, PAPI_PRESET_BIT_INS, 00211 NULL, {0},{NULL}, NULL}, 00212 /* 41 */ {"PAPI_HW_INT", 00213 "Hdw interrupts", 00214 "Hardware interrupts", 0, 00215 0, PAPI_PRESET_BIT_MSC, 00216 NULL, {0},{NULL}, NULL}, 00217 /* 42 */ {"PAPI_BR_UCN", 00218 "Uncond branch", 00219 "Unconditional branch instructions", 0, 00220 0, PAPI_PRESET_BIT_BR + PAPI_PRESET_BIT_CND, 00221 NULL, {0},{NULL}, NULL}, 00222 /* 43 */ {"PAPI_BR_CN", 00223 "Cond branch", 00224 "Conditional branch instructions", 0, 00225 0, PAPI_PRESET_BIT_BR + PAPI_PRESET_BIT_CND, 00226 NULL, {0},{NULL}, NULL}, 00227 /* 44 */ {"PAPI_BR_TKN", 00228 "Cond branch taken", 00229 "Conditional branch instructions taken", 0, 00230 0, PAPI_PRESET_BIT_BR + PAPI_PRESET_BIT_CND, 00231 NULL, {0},{NULL}, NULL}, 00232 /* 45 */ {"PAPI_BR_NTK", 00233 "Cond br not taken", 00234 "Conditional branch instructions not taken", 0, 00235 0, PAPI_PRESET_BIT_BR + PAPI_PRESET_BIT_CND, 00236 NULL, {0},{NULL}, NULL}, 00237 /* 46 */ {"PAPI_BR_MSP", 00238 "Cond br mspredictd", 00239 "Conditional branch instructions mispredicted", 0, 00240 0, PAPI_PRESET_BIT_BR + PAPI_PRESET_BIT_CND, 00241 NULL, {0},{NULL}, NULL}, 00242 /* 47 */ {"PAPI_BR_PRC", 00243 "Cond br predicted", 00244 "Conditional branch instructions correctly predicted", 0, 00245 0, PAPI_PRESET_BIT_BR + PAPI_PRESET_BIT_CND, 00246 NULL, {0},{NULL}, NULL}, 00247 /* 48 */ {"PAPI_FMA_INS", 00248 "FMAs completed", 00249 "FMA instructions completed", 0, 00250 0, PAPI_PRESET_BIT_INS + PAPI_PRESET_BIT_FP, 00251 NULL, {0},{NULL}, NULL}, 00252 /* 49 */ {"PAPI_TOT_IIS", 00253 "Instr issued", 00254 "Instructions issued", 0, 00255 0, PAPI_PRESET_BIT_INS, 00256 NULL, {0},{NULL}, NULL}, 00257 /* 50 */ {"PAPI_TOT_INS", 00258 "Instr completed", 00259 "Instructions completed", 0, 00260 0, PAPI_PRESET_BIT_INS, 00261 NULL, {0},{NULL}, NULL}, 00262 /* 51 */ {"PAPI_INT_INS", 00263 "Int instructions", 00264 "Integer instructions", 0, 00265 0, PAPI_PRESET_BIT_INS, 00266 NULL, {0},{NULL}, NULL}, 00267 /* 52 */ {"PAPI_FP_INS", 00268 "FP instructions", 00269 "Floating point instructions", 0, 00270 0, PAPI_PRESET_BIT_INS + PAPI_PRESET_BIT_FP, 00271 NULL, {0},{NULL}, NULL}, 00272 /* 53 */ {"PAPI_LD_INS", 00273 "Loads", 00274 "Load instructions", 0, 00275 0, PAPI_PRESET_BIT_MEM, 00276 NULL, {0},{NULL}, NULL}, 00277 /* 54 */ {"PAPI_SR_INS", 00278 "Stores", 00279 "Store instructions", 0, 00280 0, PAPI_PRESET_BIT_MEM, 00281 NULL, {0},{NULL}, NULL}, 00282 /* 55 */ {"PAPI_BR_INS", 00283 "Branches", 00284 "Branch instructions", 0, 00285 0, PAPI_PRESET_BIT_BR, 00286 NULL, {0},{NULL}, NULL}, 00287 /* 56 */ {"PAPI_VEC_INS", 00288 "Vector/SIMD instr", 00289 "Vector/SIMD instructions (could include integer)", 0, 00290 0, PAPI_PRESET_BIT_MSC, 00291 NULL, {0},{NULL}, NULL}, 00292 /* 57 */ {"PAPI_RES_STL", 00293 "Stalled res cycles", 00294 "Cycles stalled on any resource", 0, 00295 0, PAPI_PRESET_BIT_IDL + PAPI_PRESET_BIT_MSC, 00296 NULL, {0},{NULL}, NULL}, 00297 /* 58 */ {"PAPI_FP_STAL", 00298 "Stalled FPU cycles", 00299 "Cycles the FP unit(s) are stalled", 0, 00300 0, PAPI_PRESET_BIT_IDL + PAPI_PRESET_BIT_FP, 00301 NULL, {0},{NULL}, NULL}, 00302 /* 59 */ {"PAPI_TOT_CYC", 00303 "Total cycles", 00304 "Total cycles", 0, 00305 0, PAPI_PRESET_BIT_MSC, 00306 NULL, {0},{NULL}, NULL}, 00307 /* 60 */ {"PAPI_LST_INS", 00308 "L/S completed", 00309 "Load/store instructions completed", 0, 00310 0, PAPI_PRESET_BIT_INS + PAPI_PRESET_BIT_MEM, 00311 NULL, {0},{NULL}, NULL}, 00312 /* 61 */ {"PAPI_SYC_INS", 00313 "Syncs completed", 00314 "Synchronization instructions completed", 0, 00315 0, PAPI_PRESET_BIT_INS + PAPI_PRESET_BIT_MSC, 00316 NULL, {0},{NULL}, NULL}, 00317 /* 62 */ {"PAPI_L1_DCH", 00318 "L1D cache hits", 00319 "Level 1 data cache hits", 0, 00320 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L1, 00321 NULL, {0},{NULL}, NULL}, 00322 /* 63 */ {"PAPI_L2_DCH", 00323 "L2D cache hits", 00324 "Level 2 data cache hits", 0, 00325 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L2, 00326 NULL, {0},{NULL}, NULL}, 00327 /* 64 */ {"PAPI_L1_DCA", 00328 "L1D cache accesses", 00329 "Level 1 data cache accesses", 0, 00330 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L1, 00331 NULL, {0},{NULL}, NULL}, 00332 /* 65 */ {"PAPI_L2_DCA", 00333 "L2D cache accesses", 00334 "Level 2 data cache accesses", 0, 00335 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L2, 00336 NULL, {0},{NULL}, NULL}, 00337 /* 66 */ {"PAPI_L3_DCA", 00338 "L3D cache accesses", 00339 "Level 3 data cache accesses", 0, 00340 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L3, 00341 NULL, {0},{NULL}, NULL}, 00342 /* 67 */ {"PAPI_L1_DCR", 00343 "L1D cache reads", 00344 "Level 1 data cache reads", 0, 00345 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L1, 00346 NULL, {0},{NULL}, NULL}, 00347 /* 68 */ {"PAPI_L2_DCR", 00348 "L2D cache reads", 00349 "Level 2 data cache reads", 0, 00350 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L2, 00351 NULL, {0},{NULL}, NULL}, 00352 /* 69 */ {"PAPI_L3_DCR", 00353 "L3D cache reads", 00354 "Level 3 data cache reads", 0, 00355 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L3, 00356 NULL, {0},{NULL}, NULL}, 00357 /* 70 */ {"PAPI_L1_DCW", 00358 "L1D cache writes", 00359 "Level 1 data cache writes", 0, 00360 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L1, 00361 NULL, {0},{NULL}, NULL}, 00362 /* 71 */ {"PAPI_L2_DCW", 00363 "L2D cache writes", 00364 "Level 2 data cache writes", 0, 00365 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L2, 00366 NULL, {0},{NULL}, NULL}, 00367 /* 72 */ {"PAPI_L3_DCW", 00368 "L3D cache writes", 00369 "Level 3 data cache writes", 0, 00370 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L3, 00371 NULL, {0},{NULL}, NULL}, 00372 /* 73 */ {"PAPI_L1_ICH", 00373 "L1I cache hits", 00374 "Level 1 instruction cache hits", 0, 00375 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L1 + PAPI_PRESET_BIT_INS, 00376 NULL, {0},{NULL}, NULL}, 00377 /* 74 */ {"PAPI_L2_ICH", 00378 "L2I cache hits", 00379 "Level 2 instruction cache hits", 0, 00380 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L2 + PAPI_PRESET_BIT_INS, 00381 NULL, {0},{NULL}, NULL}, 00382 /* 75 */ {"PAPI_L3_ICH", 00383 "L3I cache hits", 00384 "Level 3 instruction cache hits", 0, 00385 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L3 + PAPI_PRESET_BIT_INS, 00386 NULL, {0},{NULL}, NULL}, 00387 /* 76 */ {"PAPI_L1_ICA", 00388 "L1I cache accesses", 00389 "Level 1 instruction cache accesses", 0, 00390 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L1 + PAPI_PRESET_BIT_INS, 00391 NULL, {0},{NULL}, NULL}, 00392 /* 77 */ {"PAPI_L2_ICA", 00393 "L2I cache accesses", 00394 "Level 2 instruction cache accesses", 0, 00395 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L2 + PAPI_PRESET_BIT_INS, 00396 NULL, {0},{NULL}, NULL}, 00397 /* 78 */ {"PAPI_L3_ICA", 00398 "L3I cache accesses", 00399 "Level 3 instruction cache accesses", 0, 00400 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L3 + PAPI_PRESET_BIT_INS, 00401 NULL, {0},{NULL}, NULL}, 00402 /* 79 */ {"PAPI_L1_ICR", 00403 "L1I cache reads", 00404 "Level 1 instruction cache reads", 0, 00405 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L1 + PAPI_PRESET_BIT_INS, 00406 NULL, {0},{NULL}, NULL}, 00407 /* 80 */ {"PAPI_L2_ICR", 00408 "L2I cache reads", 00409 "Level 2 instruction cache reads", 0, 00410 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L2 + PAPI_PRESET_BIT_INS, 00411 NULL, {0},{NULL}, NULL}, 00412 /* 81 */ {"PAPI_L3_ICR", 00413 "L3I cache reads", 00414 "Level 3 instruction cache reads", 0, 00415 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L3 + PAPI_PRESET_BIT_INS, 00416 NULL, {0},{NULL}, NULL}, 00417 /* 82 */ {"PAPI_L1_ICW", 00418 "L1I cache writes", 00419 "Level 1 instruction cache writes", 0, 00420 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L1 + PAPI_PRESET_BIT_INS, 00421 NULL, {0},{NULL}, NULL}, 00422 /* 83 */ {"PAPI_L2_ICW", 00423 "L2I cache writes", 00424 "Level 2 instruction cache writes", 0, 00425 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L2 + PAPI_PRESET_BIT_INS, 00426 NULL, {0},{NULL}, NULL}, 00427 /* 84 */ {"PAPI_L3_ICW", 00428 "L3I cache writes", 00429 "Level 3 instruction cache writes", 0, 00430 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L3 + PAPI_PRESET_BIT_INS, 00431 NULL, {0},{NULL}, NULL}, 00432 /* 85 */ {"PAPI_L1_TCH", 00433 "L1 cache hits", 00434 "Level 1 total cache hits", 0, 00435 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L1, 00436 NULL, {0},{NULL}, NULL}, 00437 /* 86 */ {"PAPI_L2_TCH", 00438 "L2 cache hits", 00439 "Level 2 total cache hits", 0, 00440 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L2, 00441 NULL, {0},{NULL}, NULL}, 00442 /* 87 */ {"PAPI_L3_TCH", 00443 "L3 cache hits", 00444 "Level 3 total cache hits", 0, 00445 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L3, 00446 NULL, {0},{NULL}, NULL}, 00447 /* 88 */ {"PAPI_L1_TCA", 00448 "L1 cache accesses", 00449 "Level 1 total cache accesses", 0, 00450 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L1, 00451 NULL, {0},{NULL}, NULL}, 00452 /* 89 */ {"PAPI_L2_TCA", 00453 "L2 cache accesses", 00454 "Level 2 total cache accesses", 0, 00455 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L2, 00456 NULL, {0},{NULL}, NULL}, 00457 /* 90 */ {"PAPI_L3_TCA", 00458 "L3 cache accesses", 00459 "Level 3 total cache accesses", 0, 00460 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L3, 00461 NULL, {0},{NULL}, NULL}, 00462 /* 91 */ {"PAPI_L1_TCR", 00463 "L1 cache reads", 00464 "Level 1 total cache reads", 0, 00465 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L1, 00466 NULL, {0},{NULL}, NULL}, 00467 /* 92 */ {"PAPI_L2_TCR", 00468 "L2 cache reads", 00469 "Level 2 total cache reads", 0, 00470 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L2, 00471 NULL, {0},{NULL}, NULL}, 00472 /* 93 */ {"PAPI_L3_TCR", 00473 "L3 cache reads", 00474 "Level 3 total cache reads", 0, 00475 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L3, 00476 NULL, {0},{NULL}, NULL}, 00477 /* 94 */ {"PAPI_L1_TCW", 00478 "L1 cache writes", 00479 "Level 1 total cache writes", 0, 00480 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L1, 00481 NULL, {0},{NULL}, NULL}, 00482 /* 95 */ {"PAPI_L2_TCW", 00483 "L2 cache writes", 00484 "Level 2 total cache writes", 0, 00485 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L2, 00486 NULL, {0},{NULL}, NULL}, 00487 /* 96 */ {"PAPI_L3_TCW", 00488 "L3 cache writes", 00489 "Level 3 total cache writes", 0, 00490 0, PAPI_PRESET_BIT_CACH + PAPI_PRESET_BIT_L3, 00491 NULL, {0},{NULL}, NULL}, 00492 /* 97 */ {"PAPI_FML_INS", 00493 "FPU multiply", 00494 "Floating point multiply instructions", 0, 00495 0, PAPI_PRESET_BIT_INS + PAPI_PRESET_BIT_FP, 00496 NULL, {0},{NULL}, NULL}, 00497 /* 98 */ {"PAPI_FAD_INS", 00498 "FPU add", 00499 "Floating point add instructions", 0, 00500 0, PAPI_PRESET_BIT_INS + PAPI_PRESET_BIT_FP, 00501 NULL, {0},{NULL}, NULL}, 00502 /* 99 */ {"PAPI_FDV_INS", 00503 "FPU divide", 00504 "Floating point divide instructions", 0, 00505 0, PAPI_PRESET_BIT_INS + PAPI_PRESET_BIT_FP, 00506 NULL, {0},{NULL}, NULL}, 00507 /*100 */ {"PAPI_FSQ_INS", 00508 "FPU square root", 00509 "Floating point square root instructions", 0, 00510 0, PAPI_PRESET_BIT_INS + PAPI_PRESET_BIT_FP, 00511 NULL, {0},{NULL}, NULL}, 00512 /*101 */ {"PAPI_FNV_INS", 00513 "FPU inverse", 00514 "Floating point inverse instructions", 0, 00515 0, PAPI_PRESET_BIT_INS + PAPI_PRESET_BIT_FP, 00516 NULL, {0},{NULL}, NULL}, 00517 /*102 */ {"PAPI_FP_OPS", 00518 "FP operations", 00519 "Floating point operations", 0, 00520 0, PAPI_PRESET_BIT_INS + PAPI_PRESET_BIT_FP, 00521 NULL, {0},{NULL}, NULL}, 00522 /*103 */ {"PAPI_SP_OPS", 00523 "SP operations", 00524 "Floating point operations; optimized to count scaled single precision vector operations", 0, 00525 0, PAPI_PRESET_BIT_INS + PAPI_PRESET_BIT_FP, 00526 NULL, {0},{NULL}, NULL}, 00527 /*104 */ {"PAPI_DP_OPS", 00528 "DP operations", 00529 "Floating point operations; optimized to count scaled double precision vector operations", 0, 00530 0, PAPI_PRESET_BIT_INS + PAPI_PRESET_BIT_FP, 00531 NULL, {0},{NULL}, NULL}, 00532 /*105 */ {"PAPI_VEC_SP", 00533 "SP Vector/SIMD instr", 00534 "Single precision vector/SIMD instructions", 0, 00535 0, PAPI_PRESET_BIT_INS + PAPI_PRESET_BIT_FP, 00536 NULL, {0},{NULL}, NULL}, 00537 /*106 */ {"PAPI_VEC_DP", 00538 "DP Vector/SIMD instr", 00539 "Double precision vector/SIMD instructions", 0, 00540 0, PAPI_PRESET_BIT_INS + PAPI_PRESET_BIT_FP, 00541 NULL, {0},{NULL}, NULL}, 00542 /* 107 */ {"PAPI_REF_CYC", 00543 "Reference cycles", 00544 "Reference clock cycles", 0, 00545 0, PAPI_PRESET_BIT_MSC, 00546 NULL, {0},{NULL}, NULL}, 00547 /*108 */ {NULL, NULL, NULL,0,0,0,NULL,{0},{NULL}, NULL}, 00548 /*109 */ {NULL, NULL, NULL,0,0,0,NULL,{0},{NULL}, NULL}, 00549 /*110 */ {NULL, NULL, NULL,0,0,0,NULL,{0},{NULL}, NULL}, 00550 /*111 */ {NULL, NULL, NULL,0,0,0,NULL,{0},{NULL}, NULL}, 00551 /*112 */ {NULL, NULL, NULL,0,0,0,NULL,{0},{NULL}, NULL}, 00552 /*113 */ {NULL, NULL, NULL,0,0,0,NULL,{0},{NULL}, NULL}, 00553 /*114 */ {NULL, NULL, NULL,0,0,0,NULL,{0},{NULL}, NULL}, 00554 /*115 */ {NULL, NULL, NULL,0,0,0,NULL,{0},{NULL}, NULL}, 00555 /*116 */ {NULL, NULL, NULL,0,0,0,NULL,{0},{NULL}, NULL}, 00556 /*117 */ {NULL, NULL, NULL,0,0,0,NULL,{0},{NULL}, NULL}, 00557 /*118 */ {NULL, NULL, NULL,0,0,0,NULL,{0},{NULL}, NULL}, 00558 /*119 */ {NULL, NULL, NULL,0,0,0,NULL,{0},{NULL}, NULL}, 00559 /*120 */ {NULL, NULL, NULL,0,0,0,NULL,{0},{NULL}, NULL}, 00560 /*121 */ {NULL, NULL, NULL,0,0,0,NULL,{0},{NULL}, NULL}, 00561 /*122 */ {NULL, NULL, NULL,0,0,0,NULL,{0},{NULL}, NULL}, 00562 /*123 */ {NULL, NULL, NULL,0,0,0,NULL,{0},{NULL}, NULL}, 00563 /*124 */ {NULL, NULL, NULL,0,0,0,NULL,{0},{NULL}, NULL}, 00564 /*125 */ {NULL, NULL, NULL,0,0,0,NULL,{0},{NULL}, NULL}, 00565 /*126 */ {NULL, NULL, NULL,0,0,0,NULL,{0},{NULL}, NULL}, 00566 /*127 */ {NULL, NULL, NULL,0,0,0,NULL,{0},{NULL}, NULL}, 00567 }; 00568 00569 #if 0 00570 const hwi_describe_t _papi_hwi_err[PAPI_NUM_ERRORS] = { 00571 /* 0 */ {PAPI_OK, "PAPI_OK", "No error"}, 00572 /* 1 */ {PAPI_EINVAL, "PAPI_EINVAL", "Invalid argument"}, 00573 /* 2 */ {PAPI_ENOMEM, "PAPI_ENOMEM", "Insufficient memory"}, 00574 /* 3 */ {PAPI_ESYS, "PAPI_ESYS", "A System/C library call failed"}, 00575 /* 4 */ {PAPI_ECMP, "PAPI_ECMP", "Not supported by component"}, 00576 /* 5 */ {PAPI_ECLOST, "PAPI_ECLOST", "Access to the counters was lost or interrupted"}, 00577 /* 6 */ {PAPI_EBUG, "PAPI_EBUG", "Internal error, please send mail to the developers"}, 00578 /* 7 */ {PAPI_ENOEVNT, "PAPI_ENOEVNT", "Event does not exist"}, 00579 /* 8 */ {PAPI_ECNFLCT, "PAPI_ECNFLCT", "Event exists, but cannot be counted due to hardware resource limits"}, 00580 /* 9 */ {PAPI_ENOTRUN, "PAPI_ENOTRUN", "EventSet is currently not running"}, 00581 /*10 */ {PAPI_EISRUN, "PAPI_EISRUN", "EventSet is currently counting"}, 00582 /*11 */ {PAPI_ENOEVST, "PAPI_ENOEVST", "No such EventSet available"}, 00583 /*12 */ {PAPI_ENOTPRESET, "PAPI_ENOTPRESET", "Event in argument is not a valid preset"}, 00584 /*13 */ {PAPI_ENOCNTR, "PAPI_ENOCNTR", "Hardware does not support performance counters"}, 00585 /*14 */ {PAPI_EMISC, "PAPI_EMISC", "Unknown error code"}, 00586 /*15 */ {PAPI_EPERM, "PAPI_EPERM", "Permission level does not permit operation"}, 00587 /*16 */ {PAPI_ENOINIT, "PAPI_ENOINIT", "PAPI hasn't been initialized yet"}, 00588 /*17 */ {PAPI_ENOCMP, "PAPI_ENOCMP", "Component Index isn't set"}, 00589 /*18 */ {PAPI_ENOSUPP, "PAPI_ENOSUPP", "Not supported"}, 00590 /*19 */ {PAPI_ENOIMPL, "PAPI_ENOIMPL", "Not implemented"}, 00591 /*20 */ {PAPI_EBUF, "PAPI_EBUF", "Buffer size exceeded"}, 00592 /*21 */ {PAPI_EINVAL_DOM, "PAPI_EINVAL_DOM", "EventSet domain is not supported for the operation"}, 00593 /*22 */ {PAPI_EATTR, "PAPI_EATTR", "Invalid or missing event attributes"}, 00594 /*23 */ {PAPI_ECOUNT, "PAPI_ECOUNT", "Too many events or attributes"}, 00595 /*24 */ {PAPI_ECOMBO, "PAPI_ECOMBO", "Bad combination of features"} 00596 }; 00597 #endif 00598