1[ 2 { 3 "BriefDescription": "Counts the number of branch instructions retired", 4 "Counter": "0,1", 5 "EventCode": "0xC4", 6 "EventName": "BR_INST_RETIRED.ALL_BRANCHES", 7 "PEBS": "1", 8 "SampleAfterValue": "200003" 9 }, 10 { 11 "BriefDescription": "Counts the number of near CALL branch instructions retired.", 12 "Counter": "0,1", 13 "EventCode": "0xC4", 14 "EventName": "BR_INST_RETIRED.CALL", 15 "PEBS": "1", 16 "SampleAfterValue": "200003", 17 "UMask": "0xf9" 18 }, 19 { 20 "BriefDescription": "Counts the number of far branch instructions retired.", 21 "Counter": "0,1", 22 "EventCode": "0xC4", 23 "EventName": "BR_INST_RETIRED.FAR_BRANCH", 24 "PEBS": "1", 25 "SampleAfterValue": "200003", 26 "UMask": "0xbf" 27 }, 28 { 29 "BriefDescription": "Counts the number of near indirect CALL branch instructions retired.", 30 "Counter": "0,1", 31 "EventCode": "0xC4", 32 "EventName": "BR_INST_RETIRED.IND_CALL", 33 "PEBS": "1", 34 "SampleAfterValue": "200003", 35 "UMask": "0xfb" 36 }, 37 { 38 "BriefDescription": "Counts the number of branch instructions retired that were conditional jumps.", 39 "Counter": "0,1", 40 "EventCode": "0xC4", 41 "EventName": "BR_INST_RETIRED.JCC", 42 "PEBS": "1", 43 "SampleAfterValue": "200003", 44 "UMask": "0x7e" 45 }, 46 { 47 "BriefDescription": "Counts the number of branch instructions retired that were near indirect CALL or near indirect JMP.", 48 "Counter": "0,1", 49 "EventCode": "0xC4", 50 "EventName": "BR_INST_RETIRED.NON_RETURN_IND", 51 "PEBS": "1", 52 "SampleAfterValue": "200003", 53 "UMask": "0xeb" 54 }, 55 { 56 "BriefDescription": "Counts the number of near relative CALL branch instructions retired.", 57 "Counter": "0,1", 58 "EventCode": "0xC4", 59 "EventName": "BR_INST_RETIRED.REL_CALL", 60 "PEBS": "1", 61 "SampleAfterValue": "200003", 62 "UMask": "0xfd" 63 }, 64 { 65 "BriefDescription": "Counts the number of near RET branch instructions retired.", 66 "Counter": "0,1", 67 "EventCode": "0xC4", 68 "EventName": "BR_INST_RETIRED.RETURN", 69 "PEBS": "1", 70 "SampleAfterValue": "200003", 71 "UMask": "0xf7" 72 }, 73 { 74 "BriefDescription": "Counts the number of branch instructions retired that were conditional jumps and predicted taken.", 75 "Counter": "0,1", 76 "EventCode": "0xC4", 77 "EventName": "BR_INST_RETIRED.TAKEN_JCC", 78 "PEBS": "1", 79 "SampleAfterValue": "200003", 80 "UMask": "0xfe" 81 }, 82 { 83 "BriefDescription": "Counts the number of mispredicted branch instructions retired", 84 "Counter": "0,1", 85 "EventCode": "0xC5", 86 "EventName": "BR_MISP_RETIRED.ALL_BRANCHES", 87 "PEBS": "1", 88 "SampleAfterValue": "200003" 89 }, 90 { 91 "BriefDescription": "Counts the number of mispredicted near CALL branch instructions retired.", 92 "Counter": "0,1", 93 "EventCode": "0xC5", 94 "EventName": "BR_MISP_RETIRED.CALL", 95 "PEBS": "1", 96 "SampleAfterValue": "200003", 97 "UMask": "0xf9" 98 }, 99 { 100 "BriefDescription": "Counts the number of mispredicted far branch instructions retired.", 101 "Counter": "0,1", 102 "EventCode": "0xC5", 103 "EventName": "BR_MISP_RETIRED.FAR_BRANCH", 104 "PEBS": "1", 105 "SampleAfterValue": "200003", 106 "UMask": "0xbf" 107 }, 108 { 109 "BriefDescription": "Counts the number of mispredicted near indirect CALL branch instructions retired.", 110 "Counter": "0,1", 111 "EventCode": "0xC5", 112 "EventName": "BR_MISP_RETIRED.IND_CALL", 113 "PEBS": "1", 114 "SampleAfterValue": "200003", 115 "UMask": "0xfb" 116 }, 117 { 118 "BriefDescription": "Counts the number of mispredicted branch instructions retired that were conditional jumps.", 119 "Counter": "0,1", 120 "EventCode": "0xC5", 121 "EventName": "BR_MISP_RETIRED.JCC", 122 "PEBS": "1", 123 "SampleAfterValue": "200003", 124 "UMask": "0x7e" 125 }, 126 { 127 "BriefDescription": "Counts the number of mispredicted branch instructions retired that were near indirect CALL or near indirect JMP.", 128 "Counter": "0,1", 129 "EventCode": "0xC5", 130 "EventName": "BR_MISP_RETIRED.NON_RETURN_IND", 131 "PEBS": "1", 132 "SampleAfterValue": "200003", 133 "UMask": "0xeb" 134 }, 135 { 136 "BriefDescription": "Counts the number of mispredicted near relative CALL branch instructions retired.", 137 "Counter": "0,1", 138 "EventCode": "0xC5", 139 "EventName": "BR_MISP_RETIRED.REL_CALL", 140 "PEBS": "1", 141 "SampleAfterValue": "200003", 142 "UMask": "0xfd" 143 }, 144 { 145 "BriefDescription": "Counts the number of mispredicted near RET branch instructions retired.", 146 "Counter": "0,1", 147 "EventCode": "0xC5", 148 "EventName": "BR_MISP_RETIRED.RETURN", 149 "PEBS": "1", 150 "SampleAfterValue": "200003", 151 "UMask": "0xf7" 152 }, 153 { 154 "BriefDescription": "Counts the number of mispredicted branch instructions retired that were conditional jumps and predicted taken.", 155 "Counter": "0,1", 156 "EventCode": "0xC5", 157 "EventName": "BR_MISP_RETIRED.TAKEN_JCC", 158 "PEBS": "1", 159 "SampleAfterValue": "200003", 160 "UMask": "0xfe" 161 }, 162 { 163 "BriefDescription": "Counts the number of unhalted reference clock cycles", 164 "Counter": "0,1", 165 "EventCode": "0x3C", 166 "EventName": "CPU_CLK_UNHALTED.REF", 167 "SampleAfterValue": "2000003", 168 "UMask": "0x1" 169 }, 170 { 171 "BriefDescription": "Fixed Counter: Counts the number of unhalted reference clock cycles", 172 "Counter": "Fixed counter 3", 173 "EventName": "CPU_CLK_UNHALTED.REF_TSC", 174 "SampleAfterValue": "2000003", 175 "UMask": "0x3" 176 }, 177 { 178 "BriefDescription": "Fixed Counter: Counts the number of unhalted core clock cycles", 179 "Counter": "Fixed counter 2", 180 "EventName": "CPU_CLK_UNHALTED.THREAD", 181 "PublicDescription": "This event counts the number of core cycles while the thread is not in a halt state. The thread enters the halt state when it is running the HLT instruction. This event is a component in many key event ratios. The core frequency may change from time to time due to transitions associated with Enhanced Intel SpeedStep Technology or TM2. For this reason this event may have a changing ratio with regards to time. When the core frequency is constant, this event can approximate elapsed time while the core was not in the halt state. It is counted on a dedicated fixed counter", 182 "SampleAfterValue": "2000003", 183 "UMask": "0x2" 184 }, 185 { 186 "BriefDescription": "Counts the number of unhalted core clock cycles", 187 "Counter": "0,1", 188 "EventCode": "0x3C", 189 "EventName": "CPU_CLK_UNHALTED.THREAD_P", 190 "SampleAfterValue": "2000003" 191 }, 192 { 193 "BriefDescription": "Cycles the number of core cycles when divider is busy. Does not imply a stall waiting for the divider.", 194 "Counter": "0,1", 195 "EventCode": "0xCD", 196 "EventName": "CYCLES_DIV_BUSY.ALL", 197 "PublicDescription": "This event counts cycles when the divider is busy. More specifically cycles when the divide unit is unable to accept a new divide uop because it is busy processing a previously dispatched uop. The cycles will be counted irrespective of whether or not another divide uop is waiting to enter the divide unit (from the RS). This event counts integer divides, x87 divides, divss, divsd, sqrtss, sqrtsd event and does not count vector divides.", 198 "SampleAfterValue": "2000003", 199 "UMask": "0x1" 200 }, 201 { 202 "BriefDescription": "Fixed Counter: Counts the number of instructions retired", 203 "Counter": "Fixed counter 1", 204 "EventName": "INST_RETIRED.ANY", 205 "PublicDescription": "This event counts the number of instructions that retire. For instructions that consist of multiple micro-ops, this event counts exactly once, as the last micro-op of the instruction retires. The event continues counting while instructions retire, including during interrupt service routines caused by hardware interrupts, faults or traps.", 206 "SampleAfterValue": "2000003", 207 "UMask": "0x1" 208 }, 209 { 210 "BriefDescription": "Counts the total number of instructions retired", 211 "Counter": "0,1", 212 "EventCode": "0xC0", 213 "EventName": "INST_RETIRED.ANY_P", 214 "SampleAfterValue": "2000003" 215 }, 216 { 217 "BriefDescription": "Counts all nukes", 218 "Counter": "0,1", 219 "EventCode": "0xC3", 220 "EventName": "MACHINE_CLEARS.ALL", 221 "SampleAfterValue": "200003", 222 "UMask": "0x8" 223 }, 224 { 225 "BriefDescription": "Counts the number of times that the machine clears due to program modifying data within 1K of a recently fetched code page", 226 "Counter": "0,1", 227 "EventCode": "0xC3", 228 "EventName": "MACHINE_CLEARS.SMC", 229 "SampleAfterValue": "200003", 230 "UMask": "0x1" 231 }, 232 { 233 "BriefDescription": "Counts the total number of core cycles when no micro-ops are allocated for any reason.", 234 "Counter": "0,1", 235 "EventCode": "0xCA", 236 "EventName": "NO_ALLOC_CYCLES.ALL", 237 "SampleAfterValue": "200003", 238 "UMask": "0x7f" 239 }, 240 { 241 "BriefDescription": "Counts the number of core cycles when no micro-ops are allocated and the alloc pipe is stalled waiting for a mispredicted branch to retire.", 242 "Counter": "0,1", 243 "EventCode": "0xCA", 244 "EventName": "NO_ALLOC_CYCLES.MISPREDICTS", 245 "PublicDescription": "This event counts the number of core cycles when no uops are allocated and the alloc pipe is stalled waiting for a mispredicted branch to retire.", 246 "SampleAfterValue": "200003", 247 "UMask": "0x4" 248 }, 249 { 250 "BriefDescription": "Counts the number of core cycles when no micro-ops are allocated, the IQ is empty, and no other condition is blocking allocation.", 251 "Counter": "0,1", 252 "EventCode": "0xCA", 253 "EventName": "NO_ALLOC_CYCLES.NOT_DELIVERED", 254 "PublicDescription": "This event counts the number of core cycles when no uops are allocated, the instruction queue is empty and the alloc pipe is stalled waiting for instructions to be fetched.", 255 "SampleAfterValue": "200003", 256 "UMask": "0x90" 257 }, 258 { 259 "BriefDescription": "Counts the number of core cycles when no micro-ops are allocated and a RATstall (caused by reservation station full) is asserted.", 260 "Counter": "0,1", 261 "EventCode": "0xCA", 262 "EventName": "NO_ALLOC_CYCLES.RAT_STALL", 263 "SampleAfterValue": "200003", 264 "UMask": "0x20" 265 }, 266 { 267 "BriefDescription": "Counts the number of core cycles when no micro-ops are allocated and the ROB is full", 268 "Counter": "0,1", 269 "EventCode": "0xCA", 270 "EventName": "NO_ALLOC_CYCLES.ROB_FULL", 271 "SampleAfterValue": "200003", 272 "UMask": "0x1" 273 }, 274 { 275 "BriefDescription": "Counts any retired load that was pushed into the recycle queue for any reason.", 276 "Counter": "0,1", 277 "EventCode": "0x03", 278 "EventName": "RECYCLEQ.ANY_LD", 279 "SampleAfterValue": "200003", 280 "UMask": "0x40" 281 }, 282 { 283 "BriefDescription": "Counts any retired store that was pushed into the recycle queue for any reason.", 284 "Counter": "0,1", 285 "EventCode": "0x03", 286 "EventName": "RECYCLEQ.ANY_ST", 287 "SampleAfterValue": "200003", 288 "UMask": "0x80" 289 }, 290 { 291 "BriefDescription": "Counts the number of occurences a retired load gets blocked because its address overlaps with a store whose data is not ready", 292 "Counter": "0,1", 293 "EventCode": "0x03", 294 "EventName": "RECYCLEQ.LD_BLOCK_STD_NOTREADY", 295 "SampleAfterValue": "200003", 296 "UMask": "0x2" 297 }, 298 { 299 "BriefDescription": "Counts the number of occurences a retired load gets blocked because its address partially overlaps with a store", 300 "Counter": "0,1", 301 "Data_LA": "1", 302 "EventCode": "0x03", 303 "EventName": "RECYCLEQ.LD_BLOCK_ST_FORWARD", 304 "PEBS": "1", 305 "SampleAfterValue": "200003", 306 "UMask": "0x1" 307 }, 308 { 309 "BriefDescription": "Counts the number of occurences a retired load that is a cache line split. Each split should be counted only once.", 310 "Counter": "0,1", 311 "Data_LA": "1", 312 "EventCode": "0x03", 313 "EventName": "RECYCLEQ.LD_SPLITS", 314 "PEBS": "1", 315 "SampleAfterValue": "200003", 316 "UMask": "0x8" 317 }, 318 { 319 "BriefDescription": "Counts all the retired locked loads. It does not include stores because we would double count if we count stores", 320 "Counter": "0,1", 321 "EventCode": "0x03", 322 "EventName": "RECYCLEQ.LOCK", 323 "SampleAfterValue": "200003", 324 "UMask": "0x10" 325 }, 326 { 327 "BriefDescription": "Counts the store micro-ops retired that were pushed in the rehad queue because the store address buffer is full", 328 "Counter": "0,1", 329 "EventCode": "0x03", 330 "EventName": "RECYCLEQ.STA_FULL", 331 "SampleAfterValue": "200003", 332 "UMask": "0x20" 333 }, 334 { 335 "BriefDescription": "Counts the number of occurences a retired store that is a cache line split. Each split should be counted only once.", 336 "Counter": "0,1", 337 "EventCode": "0x03", 338 "EventName": "RECYCLEQ.ST_SPLITS", 339 "PublicDescription": "This event counts the number of retired store that experienced a cache line boundary split(Precise Event). Note that each spilt should be counted only once.", 340 "SampleAfterValue": "200003", 341 "UMask": "0x4" 342 }, 343 { 344 "BriefDescription": "Counts the total number of core cycles the Alloc pipeline is stalled when any one of the reservation stations is full.", 345 "Counter": "0,1", 346 "EventCode": "0xCB", 347 "EventName": "RS_FULL_STALL.ALL", 348 "SampleAfterValue": "200003", 349 "UMask": "0x1f" 350 }, 351 { 352 "BriefDescription": "Counts the number of core cycles when allocation pipeline is stalled and is waiting for a free MEC reservation station entry.", 353 "Counter": "0,1", 354 "EventCode": "0xCB", 355 "EventName": "RS_FULL_STALL.MEC", 356 "SampleAfterValue": "200003", 357 "UMask": "0x1" 358 }, 359 { 360 "BriefDescription": "Counts the number of micro-ops retired", 361 "Counter": "0,1", 362 "EventCode": "0xC2", 363 "EventName": "UOPS_RETIRED.ALL", 364 "PublicDescription": "This event counts the number of micro-ops (uops) retired. The processor decodes complex macro instructions into a sequence of simpler uops. Most instructions are composed of one or two uops. Some instructions are decoded into longer sequences such as repeat instructions, floating point transcendental instructions, and assists.", 365 "SampleAfterValue": "2000003", 366 "UMask": "0x10" 367 }, 368 { 369 "BriefDescription": "Counts the number of micro-ops retired that are from the complex flows issued by the micro-sequencer (MS).", 370 "Counter": "0,1", 371 "EventCode": "0xC2", 372 "EventName": "UOPS_RETIRED.MS", 373 "PublicDescription": "This event counts the number of micro-ops retired that were supplied from MSROM.", 374 "SampleAfterValue": "2000003", 375 "UMask": "0x1" 376 } 377]