1[ 2 { 3 "BriefDescription": "Any uop executed by the Divider. (This includes all divide uops, sqrt, ...)", 4 "EventCode": "0x14", 5 "EventName": "ARITH.DIVIDER_UOPS", 6 "SampleAfterValue": "2000003", 7 "UMask": "0x2" 8 }, 9 { 10 "BriefDescription": "Speculative and retired branches", 11 "EventCode": "0x88", 12 "EventName": "BR_INST_EXEC.ALL_BRANCHES", 13 "PublicDescription": "Counts all near executed branches (not necessarily retired).", 14 "SampleAfterValue": "200003", 15 "UMask": "0xff" 16 }, 17 { 18 "BriefDescription": "Speculative and retired macro-conditional branches.", 19 "EventCode": "0x88", 20 "EventName": "BR_INST_EXEC.ALL_CONDITIONAL", 21 "SampleAfterValue": "200003", 22 "UMask": "0xc1" 23 }, 24 { 25 "BriefDescription": "Speculative and retired macro-unconditional branches excluding calls and indirects.", 26 "EventCode": "0x88", 27 "EventName": "BR_INST_EXEC.ALL_DIRECT_JMP", 28 "SampleAfterValue": "200003", 29 "UMask": "0xc2" 30 }, 31 { 32 "BriefDescription": "Speculative and retired direct near calls.", 33 "EventCode": "0x88", 34 "EventName": "BR_INST_EXEC.ALL_DIRECT_NEAR_CALL", 35 "SampleAfterValue": "200003", 36 "UMask": "0xd0" 37 }, 38 { 39 "BriefDescription": "Speculative and retired indirect branches excluding calls and returns.", 40 "EventCode": "0x88", 41 "EventName": "BR_INST_EXEC.ALL_INDIRECT_JUMP_NON_CALL_RET", 42 "SampleAfterValue": "200003", 43 "UMask": "0xc4" 44 }, 45 { 46 "BriefDescription": "Speculative and retired indirect return branches.", 47 "EventCode": "0x88", 48 "EventName": "BR_INST_EXEC.ALL_INDIRECT_NEAR_RETURN", 49 "SampleAfterValue": "200003", 50 "UMask": "0xc8" 51 }, 52 { 53 "BriefDescription": "Not taken macro-conditional branches.", 54 "EventCode": "0x88", 55 "EventName": "BR_INST_EXEC.NONTAKEN_CONDITIONAL", 56 "SampleAfterValue": "200003", 57 "UMask": "0x41" 58 }, 59 { 60 "BriefDescription": "Taken speculative and retired macro-conditional branches.", 61 "EventCode": "0x88", 62 "EventName": "BR_INST_EXEC.TAKEN_CONDITIONAL", 63 "SampleAfterValue": "200003", 64 "UMask": "0x81" 65 }, 66 { 67 "BriefDescription": "Taken speculative and retired macro-conditional branch instructions excluding calls and indirects.", 68 "EventCode": "0x88", 69 "EventName": "BR_INST_EXEC.TAKEN_DIRECT_JUMP", 70 "SampleAfterValue": "200003", 71 "UMask": "0x82" 72 }, 73 { 74 "BriefDescription": "Taken speculative and retired direct near calls.", 75 "EventCode": "0x88", 76 "EventName": "BR_INST_EXEC.TAKEN_DIRECT_NEAR_CALL", 77 "SampleAfterValue": "200003", 78 "UMask": "0x90" 79 }, 80 { 81 "BriefDescription": "Taken speculative and retired indirect branches excluding calls and returns.", 82 "EventCode": "0x88", 83 "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_JUMP_NON_CALL_RET", 84 "SampleAfterValue": "200003", 85 "UMask": "0x84" 86 }, 87 { 88 "BriefDescription": "Taken speculative and retired indirect calls.", 89 "EventCode": "0x88", 90 "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_NEAR_CALL", 91 "SampleAfterValue": "200003", 92 "UMask": "0xa0" 93 }, 94 { 95 "BriefDescription": "Taken speculative and retired indirect branches with return mnemonic.", 96 "EventCode": "0x88", 97 "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_NEAR_RETURN", 98 "SampleAfterValue": "200003", 99 "UMask": "0x88" 100 }, 101 { 102 "BriefDescription": "All (macro) branch instructions retired.", 103 "EventCode": "0xC4", 104 "EventName": "BR_INST_RETIRED.ALL_BRANCHES", 105 "PublicDescription": "Branch instructions at retirement.", 106 "SampleAfterValue": "400009" 107 }, 108 { 109 "BriefDescription": "All (macro) branch instructions retired.", 110 "EventCode": "0xC4", 111 "EventName": "BR_INST_RETIRED.ALL_BRANCHES_PEBS", 112 "PEBS": "2", 113 "SampleAfterValue": "400009", 114 "UMask": "0x4" 115 }, 116 { 117 "BriefDescription": "Conditional branch instructions retired.", 118 "EventCode": "0xC4", 119 "EventName": "BR_INST_RETIRED.CONDITIONAL", 120 "PEBS": "1", 121 "PublicDescription": "Counts the number of conditional branch instructions retired.", 122 "SampleAfterValue": "400009", 123 "UMask": "0x1" 124 }, 125 { 126 "BriefDescription": "Far branch instructions retired.", 127 "EventCode": "0xC4", 128 "EventName": "BR_INST_RETIRED.FAR_BRANCH", 129 "PublicDescription": "Number of far branches retired.", 130 "SampleAfterValue": "100003", 131 "UMask": "0x40" 132 }, 133 { 134 "BriefDescription": "Direct and indirect near call instructions retired.", 135 "EventCode": "0xC4", 136 "EventName": "BR_INST_RETIRED.NEAR_CALL", 137 "PEBS": "1", 138 "SampleAfterValue": "100003", 139 "UMask": "0x2" 140 }, 141 { 142 "BriefDescription": "Direct and indirect macro near call instructions retired (captured in ring 3).", 143 "EventCode": "0xC4", 144 "EventName": "BR_INST_RETIRED.NEAR_CALL_R3", 145 "PEBS": "1", 146 "SampleAfterValue": "100003", 147 "UMask": "0x2" 148 }, 149 { 150 "BriefDescription": "Return instructions retired.", 151 "EventCode": "0xC4", 152 "EventName": "BR_INST_RETIRED.NEAR_RETURN", 153 "PEBS": "1", 154 "PublicDescription": "Counts the number of near return instructions retired.", 155 "SampleAfterValue": "100003", 156 "UMask": "0x8" 157 }, 158 { 159 "BriefDescription": "Taken branch instructions retired.", 160 "EventCode": "0xC4", 161 "EventName": "BR_INST_RETIRED.NEAR_TAKEN", 162 "PEBS": "1", 163 "PublicDescription": "Number of near taken branches retired.", 164 "SampleAfterValue": "400009", 165 "UMask": "0x20" 166 }, 167 { 168 "BriefDescription": "Not taken branch instructions retired.", 169 "EventCode": "0xC4", 170 "EventName": "BR_INST_RETIRED.NOT_TAKEN", 171 "PublicDescription": "Counts the number of not taken branch instructions retired.", 172 "SampleAfterValue": "400009", 173 "UMask": "0x10" 174 }, 175 { 176 "BriefDescription": "Speculative and retired mispredicted macro conditional branches", 177 "EventCode": "0x89", 178 "EventName": "BR_MISP_EXEC.ALL_BRANCHES", 179 "PublicDescription": "Counts all near executed branches (not necessarily retired).", 180 "SampleAfterValue": "200003", 181 "UMask": "0xff" 182 }, 183 { 184 "BriefDescription": "Speculative and retired mispredicted macro conditional branches.", 185 "EventCode": "0x89", 186 "EventName": "BR_MISP_EXEC.ALL_CONDITIONAL", 187 "SampleAfterValue": "200003", 188 "UMask": "0xc1" 189 }, 190 { 191 "BriefDescription": "Mispredicted indirect branches excluding calls and returns.", 192 "EventCode": "0x89", 193 "EventName": "BR_MISP_EXEC.ALL_INDIRECT_JUMP_NON_CALL_RET", 194 "SampleAfterValue": "200003", 195 "UMask": "0xc4" 196 }, 197 { 198 "BriefDescription": "Speculative mispredicted indirect branches", 199 "EventCode": "0x89", 200 "EventName": "BR_MISP_EXEC.INDIRECT", 201 "PublicDescription": "Counts speculatively miss-predicted indirect branches at execution time. Counts for indirect near CALL or JMP instructions (RET excluded).", 202 "SampleAfterValue": "200003", 203 "UMask": "0xe4" 204 }, 205 { 206 "BriefDescription": "Not taken speculative and retired mispredicted macro conditional branches.", 207 "EventCode": "0x89", 208 "EventName": "BR_MISP_EXEC.NONTAKEN_CONDITIONAL", 209 "SampleAfterValue": "200003", 210 "UMask": "0x41" 211 }, 212 { 213 "BriefDescription": "Taken speculative and retired mispredicted macro conditional branches.", 214 "EventCode": "0x89", 215 "EventName": "BR_MISP_EXEC.TAKEN_CONDITIONAL", 216 "SampleAfterValue": "200003", 217 "UMask": "0x81" 218 }, 219 { 220 "BriefDescription": "Taken speculative and retired mispredicted indirect branches excluding calls and returns.", 221 "EventCode": "0x89", 222 "EventName": "BR_MISP_EXEC.TAKEN_INDIRECT_JUMP_NON_CALL_RET", 223 "SampleAfterValue": "200003", 224 "UMask": "0x84" 225 }, 226 { 227 "BriefDescription": "Taken speculative and retired mispredicted indirect calls.", 228 "EventCode": "0x89", 229 "EventName": "BR_MISP_EXEC.TAKEN_INDIRECT_NEAR_CALL", 230 "SampleAfterValue": "200003", 231 "UMask": "0xa0" 232 }, 233 { 234 "BriefDescription": "Taken speculative and retired mispredicted indirect branches with return mnemonic.", 235 "EventCode": "0x89", 236 "EventName": "BR_MISP_EXEC.TAKEN_RETURN_NEAR", 237 "SampleAfterValue": "200003", 238 "UMask": "0x88" 239 }, 240 { 241 "BriefDescription": "All mispredicted macro branch instructions retired.", 242 "EventCode": "0xC5", 243 "EventName": "BR_MISP_RETIRED.ALL_BRANCHES", 244 "PublicDescription": "Mispredicted branch instructions at retirement.", 245 "SampleAfterValue": "400009" 246 }, 247 { 248 "BriefDescription": "Mispredicted macro branch instructions retired.", 249 "EventCode": "0xC5", 250 "EventName": "BR_MISP_RETIRED.ALL_BRANCHES_PEBS", 251 "PEBS": "2", 252 "PublicDescription": "This event counts all mispredicted branch instructions retired. This is a precise event.", 253 "SampleAfterValue": "400009", 254 "UMask": "0x4" 255 }, 256 { 257 "BriefDescription": "Mispredicted conditional branch instructions retired.", 258 "EventCode": "0xC5", 259 "EventName": "BR_MISP_RETIRED.CONDITIONAL", 260 "PEBS": "1", 261 "SampleAfterValue": "400009", 262 "UMask": "0x1" 263 }, 264 { 265 "BriefDescription": "number of near branch instructions retired that were mispredicted and taken.", 266 "EventCode": "0xC5", 267 "EventName": "BR_MISP_RETIRED.NEAR_TAKEN", 268 "PEBS": "1", 269 "PublicDescription": "Number of near branch instructions retired that were taken but mispredicted.", 270 "SampleAfterValue": "400009", 271 "UMask": "0x20" 272 }, 273 { 274 "BriefDescription": "Count XClk pulses when this thread is unhalted and the other thread is halted.", 275 "EventCode": "0x3c", 276 "EventName": "CPU_CLK_THREAD_UNHALTED.ONE_THREAD_ACTIVE", 277 "SampleAfterValue": "100003", 278 "UMask": "0x2" 279 }, 280 { 281 "BriefDescription": "Reference cycles when the thread is unhalted (counts at 100 MHz rate)", 282 "EventCode": "0x3C", 283 "EventName": "CPU_CLK_THREAD_UNHALTED.REF_XCLK", 284 "PublicDescription": "Increments at the frequency of XCLK (100 MHz) when not halted.", 285 "SampleAfterValue": "100003", 286 "UMask": "0x1" 287 }, 288 { 289 "AnyThread": "1", 290 "BriefDescription": "Reference cycles when the at least one thread on the physical core is unhalted (counts at 100 MHz rate)", 291 "EventCode": "0x3C", 292 "EventName": "CPU_CLK_THREAD_UNHALTED.REF_XCLK_ANY", 293 "PublicDescription": "Reference cycles when the at least one thread on the physical core is unhalted (counts at 100 MHz rate).", 294 "SampleAfterValue": "100003", 295 "UMask": "0x1" 296 }, 297 { 298 "BriefDescription": "Count XClk pulses when this thread is unhalted and the other thread is halted.", 299 "EventCode": "0x3C", 300 "EventName": "CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE", 301 "SampleAfterValue": "100003", 302 "UMask": "0x2" 303 }, 304 { 305 "BriefDescription": "Reference cycles when the core is not in halt state.", 306 "EventName": "CPU_CLK_UNHALTED.REF_TSC", 307 "PublicDescription": "This event counts the number of reference cycles when the core is not in a halt state. The core enters the halt state when it is running the HLT instruction or the MWAIT instruction. This event is not affected by core frequency changes (for example, P states, TM2 transitions) but has the same incrementing frequency as the time stamp counter. This event can approximate elapsed time while the core was not in a halt state.", 308 "SampleAfterValue": "2000003", 309 "UMask": "0x3" 310 }, 311 { 312 "BriefDescription": "Reference cycles when the thread is unhalted (counts at 100 MHz rate)", 313 "EventCode": "0x3C", 314 "EventName": "CPU_CLK_UNHALTED.REF_XCLK", 315 "PublicDescription": "Reference cycles when the thread is unhalted. (counts at 100 MHz rate)", 316 "SampleAfterValue": "100003", 317 "UMask": "0x1" 318 }, 319 { 320 "AnyThread": "1", 321 "BriefDescription": "Reference cycles when the at least one thread on the physical core is unhalted (counts at 100 MHz rate)", 322 "EventCode": "0x3C", 323 "EventName": "CPU_CLK_UNHALTED.REF_XCLK_ANY", 324 "PublicDescription": "Reference cycles when the at least one thread on the physical core is unhalted (counts at 100 MHz rate).", 325 "SampleAfterValue": "100003", 326 "UMask": "0x1" 327 }, 328 { 329 "BriefDescription": "Core cycles when the thread is not in halt state.", 330 "EventName": "CPU_CLK_UNHALTED.THREAD", 331 "PublicDescription": "This event counts the number of thread cycles while the thread is not in a halt state. The thread enters the halt state when it is running the HLT instruction. The core frequency may change from time to time due to power or thermal throttling.", 332 "SampleAfterValue": "2000003", 333 "UMask": "0x2" 334 }, 335 { 336 "AnyThread": "1", 337 "BriefDescription": "Core cycles when at least one thread on the physical core is not in halt state.", 338 "EventName": "CPU_CLK_UNHALTED.THREAD_ANY", 339 "SampleAfterValue": "2000003", 340 "UMask": "0x2" 341 }, 342 { 343 "BriefDescription": "Thread cycles when thread is not in halt state", 344 "EventCode": "0x3C", 345 "EventName": "CPU_CLK_UNHALTED.THREAD_P", 346 "PublicDescription": "Counts the number of thread cycles while the thread is not in a halt state. The thread enters the halt state when it is running the HLT instruction. The core frequency may change from time to time due to power or thermal throttling.", 347 "SampleAfterValue": "2000003" 348 }, 349 { 350 "AnyThread": "1", 351 "BriefDescription": "Core cycles when at least one thread on the physical core is not in halt state.", 352 "EventCode": "0x3C", 353 "EventName": "CPU_CLK_UNHALTED.THREAD_P_ANY", 354 "SampleAfterValue": "2000003" 355 }, 356 { 357 "BriefDescription": "Cycles with pending L1 cache miss loads.", 358 "CounterMask": "8", 359 "EventCode": "0xA3", 360 "EventName": "CYCLE_ACTIVITY.CYCLES_L1D_PENDING", 361 "PublicDescription": "Cycles with pending L1 data cache miss loads. Set Cmask=8 to count cycle.", 362 "SampleAfterValue": "2000003", 363 "UMask": "0x8" 364 }, 365 { 366 "BriefDescription": "Cycles with pending L2 cache miss loads.", 367 "CounterMask": "1", 368 "Errata": "HSD78, HSM63, HSM80", 369 "EventCode": "0xa3", 370 "EventName": "CYCLE_ACTIVITY.CYCLES_L2_PENDING", 371 "PublicDescription": "Cycles with pending L2 miss loads. Set Cmask=2 to count cycle.", 372 "SampleAfterValue": "2000003", 373 "UMask": "0x1" 374 }, 375 { 376 "BriefDescription": "Cycles with pending memory loads.", 377 "CounterMask": "2", 378 "EventCode": "0xA3", 379 "EventName": "CYCLE_ACTIVITY.CYCLES_LDM_PENDING", 380 "PublicDescription": "Cycles with pending memory loads. Set Cmask=2 to count cycle.", 381 "SampleAfterValue": "2000003", 382 "UMask": "0x2" 383 }, 384 { 385 "BriefDescription": "This event increments by 1 for every cycle where there was no execute for this thread.", 386 "CounterMask": "4", 387 "EventCode": "0xA3", 388 "EventName": "CYCLE_ACTIVITY.CYCLES_NO_EXECUTE", 389 "PublicDescription": "This event counts cycles during which no instructions were executed in the execution stage of the pipeline.", 390 "SampleAfterValue": "2000003", 391 "UMask": "0x4" 392 }, 393 { 394 "BriefDescription": "Execution stalls due to L1 data cache misses", 395 "CounterMask": "12", 396 "EventCode": "0xA3", 397 "EventName": "CYCLE_ACTIVITY.STALLS_L1D_PENDING", 398 "PublicDescription": "Execution stalls due to L1 data cache miss loads. Set Cmask=0CH.", 399 "SampleAfterValue": "2000003", 400 "UMask": "0xc" 401 }, 402 { 403 "BriefDescription": "Execution stalls due to L2 cache misses.", 404 "CounterMask": "5", 405 "Errata": "HSM63, HSM80", 406 "EventCode": "0xa3", 407 "EventName": "CYCLE_ACTIVITY.STALLS_L2_PENDING", 408 "PublicDescription": "Number of loads missed L2.", 409 "SampleAfterValue": "2000003", 410 "UMask": "0x5" 411 }, 412 { 413 "BriefDescription": "Execution stalls due to memory subsystem.", 414 "CounterMask": "6", 415 "EventCode": "0xA3", 416 "EventName": "CYCLE_ACTIVITY.STALLS_LDM_PENDING", 417 "PublicDescription": "This event counts cycles during which no instructions were executed in the execution stage of the pipeline and there were memory instructions pending (waiting for data).", 418 "SampleAfterValue": "2000003", 419 "UMask": "0x6" 420 }, 421 { 422 "BriefDescription": "Stall cycles because IQ is full", 423 "EventCode": "0x87", 424 "EventName": "ILD_STALL.IQ_FULL", 425 "PublicDescription": "Stall cycles due to IQ is full.", 426 "SampleAfterValue": "2000003", 427 "UMask": "0x4" 428 }, 429 { 430 "BriefDescription": "Stalls caused by changing prefix length of the instruction.", 431 "EventCode": "0x87", 432 "EventName": "ILD_STALL.LCP", 433 "PublicDescription": "This event counts cycles where the decoder is stalled on an instruction with a length changing prefix (LCP).", 434 "SampleAfterValue": "2000003", 435 "UMask": "0x1" 436 }, 437 { 438 "BriefDescription": "Instructions retired from execution.", 439 "Errata": "HSD140, HSD143", 440 "EventName": "INST_RETIRED.ANY", 441 "PublicDescription": "This event counts the number of instructions retired from execution. For instructions that consist of multiple micro-ops, this event counts the retirement of the last micro-op of the instruction. Counting continues during hardware interrupts, traps, and inside interrupt handlers. INST_RETIRED.ANY is counted by a designated fixed counter, leaving the programmable counters available for other events. Faulting executions of GETSEC/VM entry/VM Exit/MWait will not count as retired instructions.", 442 "SampleAfterValue": "2000003", 443 "UMask": "0x1" 444 }, 445 { 446 "BriefDescription": "Number of instructions retired. General Counter - architectural event", 447 "Errata": "HSD11, HSD140", 448 "EventCode": "0xC0", 449 "EventName": "INST_RETIRED.ANY_P", 450 "PublicDescription": "Number of instructions at retirement.", 451 "SampleAfterValue": "2000003" 452 }, 453 { 454 "BriefDescription": "Precise instruction retired event with HW to reduce effect of PEBS shadow in IP distribution", 455 "Errata": "HSD140", 456 "EventCode": "0xC0", 457 "EventName": "INST_RETIRED.PREC_DIST", 458 "PEBS": "2", 459 "PublicDescription": "Precise instruction retired event with HW to reduce effect of PEBS shadow in IP distribution.", 460 "SampleAfterValue": "2000003", 461 "UMask": "0x1" 462 }, 463 { 464 "BriefDescription": "FP operations retired. X87 FP operations that have no exceptions: Counts also flows that have several X87 or flows that use X87 uops in the exception handling.", 465 "EventCode": "0xC0", 466 "EventName": "INST_RETIRED.X87", 467 "PublicDescription": "This is a non-precise version (that is, does not use PEBS) of the event that counts FP operations retired. For X87 FP operations that have no exceptions counting also includes flows that have several X87, or flows that use X87 uops in the exception handling.", 468 "SampleAfterValue": "2000003", 469 "UMask": "0x2" 470 }, 471 { 472 "BriefDescription": "Core cycles the allocator was stalled due to recovery from earlier clear event for this thread (e.g. misprediction or memory nuke)", 473 "CounterMask": "1", 474 "EventCode": "0x0D", 475 "EventName": "INT_MISC.RECOVERY_CYCLES", 476 "PublicDescription": "This event counts the number of cycles spent waiting for a recovery after an event such as a processor nuke, JEClear, assist, hle/rtm abort etc.", 477 "SampleAfterValue": "2000003", 478 "UMask": "0x3" 479 }, 480 { 481 "AnyThread": "1", 482 "BriefDescription": "Core cycles the allocator was stalled due to recovery from earlier clear event for any thread running on the physical core (e.g. misprediction or memory nuke)", 483 "CounterMask": "1", 484 "EventCode": "0x0D", 485 "EventName": "INT_MISC.RECOVERY_CYCLES_ANY", 486 "PublicDescription": "Core cycles the allocator was stalled due to recovery from earlier clear event for any thread running on the physical core (e.g. misprediction or memory nuke).", 487 "SampleAfterValue": "2000003", 488 "UMask": "0x3" 489 }, 490 { 491 "BriefDescription": "The number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use", 492 "EventCode": "0x03", 493 "EventName": "LD_BLOCKS.NO_SR", 494 "PublicDescription": "The number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.", 495 "SampleAfterValue": "100003", 496 "UMask": "0x8" 497 }, 498 { 499 "BriefDescription": "loads blocked by overlapping with store buffer that cannot be forwarded", 500 "EventCode": "0x03", 501 "EventName": "LD_BLOCKS.STORE_FORWARD", 502 "PublicDescription": "This event counts loads that followed a store to the same address, where the data could not be forwarded inside the pipeline from the store to the load. The most common reason why store forwarding would be blocked is when a load's address range overlaps with a preceding smaller uncompleted store. The penalty for blocked store forwarding is that the load must wait for the store to write its value to the cache before it can be issued.", 503 "SampleAfterValue": "100003", 504 "UMask": "0x2" 505 }, 506 { 507 "BriefDescription": "False dependencies in MOB due to partial compare on address.", 508 "EventCode": "0x07", 509 "EventName": "LD_BLOCKS_PARTIAL.ADDRESS_ALIAS", 510 "PublicDescription": "Aliasing occurs when a load is issued after a store and their memory addresses are offset by 4K. This event counts the number of loads that aliased with a preceding store, resulting in an extended address check in the pipeline which can have a performance impact.", 511 "SampleAfterValue": "100003", 512 "UMask": "0x1" 513 }, 514 { 515 "BriefDescription": "Not software-prefetch load dispatches that hit FB allocated for hardware prefetch", 516 "EventCode": "0x4c", 517 "EventName": "LOAD_HIT_PRE.HW_PF", 518 "PublicDescription": "Non-SW-prefetch load dispatches that hit fill buffer allocated for H/W prefetch.", 519 "SampleAfterValue": "100003", 520 "UMask": "0x2" 521 }, 522 { 523 "BriefDescription": "Not software-prefetch load dispatches that hit FB allocated for software prefetch", 524 "EventCode": "0x4c", 525 "EventName": "LOAD_HIT_PRE.SW_PF", 526 "PublicDescription": "Non-SW-prefetch load dispatches that hit fill buffer allocated for S/W prefetch.", 527 "SampleAfterValue": "100003", 528 "UMask": "0x1" 529 }, 530 { 531 "BriefDescription": "Cycles 4 Uops delivered by the LSD, but didn't come from the decoder.", 532 "CounterMask": "4", 533 "EventCode": "0xA8", 534 "EventName": "LSD.CYCLES_4_UOPS", 535 "SampleAfterValue": "2000003", 536 "UMask": "0x1" 537 }, 538 { 539 "BriefDescription": "Cycles Uops delivered by the LSD, but didn't come from the decoder.", 540 "CounterMask": "1", 541 "EventCode": "0xA8", 542 "EventName": "LSD.CYCLES_ACTIVE", 543 "SampleAfterValue": "2000003", 544 "UMask": "0x1" 545 }, 546 { 547 "BriefDescription": "Number of Uops delivered by the LSD.", 548 "EventCode": "0xa8", 549 "EventName": "LSD.UOPS", 550 "PublicDescription": "Number of uops delivered by the LSD.", 551 "SampleAfterValue": "2000003", 552 "UMask": "0x1" 553 }, 554 { 555 "BriefDescription": "Number of machine clears (nukes) of any type.", 556 "CounterMask": "1", 557 "EdgeDetect": "1", 558 "EventCode": "0xC3", 559 "EventName": "MACHINE_CLEARS.COUNT", 560 "SampleAfterValue": "100003", 561 "UMask": "0x1" 562 }, 563 { 564 "BriefDescription": "Cycles there was a Nuke. Account for both thread-specific and All Thread Nukes.", 565 "EventCode": "0xC3", 566 "EventName": "MACHINE_CLEARS.CYCLES", 567 "SampleAfterValue": "2000003", 568 "UMask": "0x1" 569 }, 570 { 571 "BriefDescription": "This event counts the number of executed Intel AVX masked load operations that refer to an illegal address range with the mask bits set to 0.", 572 "EventCode": "0xC3", 573 "EventName": "MACHINE_CLEARS.MASKMOV", 574 "SampleAfterValue": "100003", 575 "UMask": "0x20" 576 }, 577 { 578 "BriefDescription": "Self-modifying code (SMC) detected.", 579 "EventCode": "0xC3", 580 "EventName": "MACHINE_CLEARS.SMC", 581 "PublicDescription": "This event is incremented when self-modifying code (SMC) is detected, which causes a machine clear. Machine clears can have a significant performance impact if they are happening frequently.", 582 "SampleAfterValue": "100003", 583 "UMask": "0x4" 584 }, 585 { 586 "BriefDescription": "Number of integer Move Elimination candidate uops that were eliminated.", 587 "EventCode": "0x58", 588 "EventName": "MOVE_ELIMINATION.INT_ELIMINATED", 589 "PublicDescription": "Number of integer move elimination candidate uops that were eliminated.", 590 "SampleAfterValue": "1000003", 591 "UMask": "0x1" 592 }, 593 { 594 "BriefDescription": "Number of integer Move Elimination candidate uops that were not eliminated.", 595 "EventCode": "0x58", 596 "EventName": "MOVE_ELIMINATION.INT_NOT_ELIMINATED", 597 "PublicDescription": "Number of integer move elimination candidate uops that were not eliminated.", 598 "SampleAfterValue": "1000003", 599 "UMask": "0x4" 600 }, 601 { 602 "BriefDescription": "Number of times any microcode assist is invoked by HW upon uop writeback.", 603 "EventCode": "0xC1", 604 "EventName": "OTHER_ASSISTS.ANY_WB_ASSIST", 605 "PublicDescription": "Number of microcode assists invoked by HW upon uop writeback.", 606 "SampleAfterValue": "100003", 607 "UMask": "0x40" 608 }, 609 { 610 "BriefDescription": "Resource-related stall cycles", 611 "Errata": "HSD135", 612 "EventCode": "0xA2", 613 "EventName": "RESOURCE_STALLS.ANY", 614 "PublicDescription": "Cycles allocation is stalled due to resource related reason.", 615 "SampleAfterValue": "2000003", 616 "UMask": "0x1" 617 }, 618 { 619 "BriefDescription": "Cycles stalled due to re-order buffer full.", 620 "EventCode": "0xA2", 621 "EventName": "RESOURCE_STALLS.ROB", 622 "SampleAfterValue": "2000003", 623 "UMask": "0x10" 624 }, 625 { 626 "BriefDescription": "Cycles stalled due to no eligible RS entry available.", 627 "EventCode": "0xA2", 628 "EventName": "RESOURCE_STALLS.RS", 629 "SampleAfterValue": "2000003", 630 "UMask": "0x4" 631 }, 632 { 633 "BriefDescription": "Cycles stalled due to no store buffers available. (not including draining form sync).", 634 "EventCode": "0xA2", 635 "EventName": "RESOURCE_STALLS.SB", 636 "PublicDescription": "This event counts cycles during which no instructions were allocated because no Store Buffers (SB) were available.", 637 "SampleAfterValue": "2000003", 638 "UMask": "0x8" 639 }, 640 { 641 "BriefDescription": "Count cases of saving new LBR", 642 "EventCode": "0xCC", 643 "EventName": "ROB_MISC_EVENTS.LBR_INSERTS", 644 "PublicDescription": "Count cases of saving new LBR records by hardware.", 645 "SampleAfterValue": "2000003", 646 "UMask": "0x20" 647 }, 648 { 649 "BriefDescription": "Cycles when Reservation Station (RS) is empty for the thread", 650 "EventCode": "0x5E", 651 "EventName": "RS_EVENTS.EMPTY_CYCLES", 652 "PublicDescription": "This event counts cycles when the Reservation Station ( RS ) is empty for the thread. The RS is a structure that buffers allocated micro-ops from the Front-end. If there are many cycles when the RS is empty, it may represent an underflow of instructions delivered from the Front-end.", 653 "SampleAfterValue": "2000003", 654 "UMask": "0x1" 655 }, 656 { 657 "BriefDescription": "Counts end of periods where the Reservation Station (RS) was empty. Could be useful to precisely locate Frontend Latency Bound issues.", 658 "CounterMask": "1", 659 "EdgeDetect": "1", 660 "EventCode": "0x5E", 661 "EventName": "RS_EVENTS.EMPTY_END", 662 "Invert": "1", 663 "SampleAfterValue": "200003", 664 "UMask": "0x1" 665 }, 666 { 667 "BriefDescription": "Cycles per thread when uops are executed in port 0.", 668 "EventCode": "0xA1", 669 "EventName": "UOPS_DISPATCHED_PORT.PORT_0", 670 "SampleAfterValue": "2000003", 671 "UMask": "0x1" 672 }, 673 { 674 "BriefDescription": "Cycles per thread when uops are executed in port 1.", 675 "EventCode": "0xA1", 676 "EventName": "UOPS_DISPATCHED_PORT.PORT_1", 677 "SampleAfterValue": "2000003", 678 "UMask": "0x2" 679 }, 680 { 681 "BriefDescription": "Cycles per thread when uops are executed in port 2.", 682 "EventCode": "0xA1", 683 "EventName": "UOPS_DISPATCHED_PORT.PORT_2", 684 "SampleAfterValue": "2000003", 685 "UMask": "0x4" 686 }, 687 { 688 "BriefDescription": "Cycles per thread when uops are executed in port 3.", 689 "EventCode": "0xA1", 690 "EventName": "UOPS_DISPATCHED_PORT.PORT_3", 691 "SampleAfterValue": "2000003", 692 "UMask": "0x8" 693 }, 694 { 695 "BriefDescription": "Cycles per thread when uops are executed in port 4.", 696 "EventCode": "0xA1", 697 "EventName": "UOPS_DISPATCHED_PORT.PORT_4", 698 "SampleAfterValue": "2000003", 699 "UMask": "0x10" 700 }, 701 { 702 "BriefDescription": "Cycles per thread when uops are executed in port 5.", 703 "EventCode": "0xA1", 704 "EventName": "UOPS_DISPATCHED_PORT.PORT_5", 705 "SampleAfterValue": "2000003", 706 "UMask": "0x20" 707 }, 708 { 709 "BriefDescription": "Cycles per thread when uops are executed in port 6.", 710 "EventCode": "0xA1", 711 "EventName": "UOPS_DISPATCHED_PORT.PORT_6", 712 "SampleAfterValue": "2000003", 713 "UMask": "0x40" 714 }, 715 { 716 "BriefDescription": "Cycles per thread when uops are executed in port 7.", 717 "EventCode": "0xA1", 718 "EventName": "UOPS_DISPATCHED_PORT.PORT_7", 719 "SampleAfterValue": "2000003", 720 "UMask": "0x80" 721 }, 722 { 723 "BriefDescription": "Number of uops executed on the core.", 724 "Errata": "HSD30, HSM31", 725 "EventCode": "0xB1", 726 "EventName": "UOPS_EXECUTED.CORE", 727 "PublicDescription": "Counts total number of uops to be executed per-core each cycle.", 728 "SampleAfterValue": "2000003", 729 "UMask": "0x2" 730 }, 731 { 732 "BriefDescription": "Cycles at least 1 micro-op is executed from any thread on physical core.", 733 "CounterMask": "1", 734 "Errata": "HSD30, HSM31", 735 "EventCode": "0xb1", 736 "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_1", 737 "SampleAfterValue": "2000003", 738 "UMask": "0x2" 739 }, 740 { 741 "BriefDescription": "Cycles at least 2 micro-op is executed from any thread on physical core.", 742 "CounterMask": "2", 743 "Errata": "HSD30, HSM31", 744 "EventCode": "0xb1", 745 "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_2", 746 "SampleAfterValue": "2000003", 747 "UMask": "0x2" 748 }, 749 { 750 "BriefDescription": "Cycles at least 3 micro-op is executed from any thread on physical core.", 751 "CounterMask": "3", 752 "Errata": "HSD30, HSM31", 753 "EventCode": "0xb1", 754 "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_3", 755 "SampleAfterValue": "2000003", 756 "UMask": "0x2" 757 }, 758 { 759 "BriefDescription": "Cycles at least 4 micro-op is executed from any thread on physical core.", 760 "CounterMask": "4", 761 "Errata": "HSD30, HSM31", 762 "EventCode": "0xb1", 763 "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_4", 764 "SampleAfterValue": "2000003", 765 "UMask": "0x2" 766 }, 767 { 768 "BriefDescription": "Cycles with no micro-ops executed from any thread on physical core.", 769 "Errata": "HSD30, HSM31", 770 "EventCode": "0xb1", 771 "EventName": "UOPS_EXECUTED.CORE_CYCLES_NONE", 772 "Invert": "1", 773 "SampleAfterValue": "2000003", 774 "UMask": "0x2" 775 }, 776 { 777 "BriefDescription": "Cycles where at least 1 uop was executed per-thread", 778 "CounterMask": "1", 779 "Errata": "HSD144, HSD30, HSM31", 780 "EventCode": "0xB1", 781 "EventName": "UOPS_EXECUTED.CYCLES_GE_1_UOP_EXEC", 782 "PublicDescription": "This events counts the cycles where at least one uop was executed. It is counted per thread.", 783 "SampleAfterValue": "2000003", 784 "UMask": "0x1" 785 }, 786 { 787 "BriefDescription": "Cycles where at least 2 uops were executed per-thread", 788 "CounterMask": "2", 789 "Errata": "HSD144, HSD30, HSM31", 790 "EventCode": "0xB1", 791 "EventName": "UOPS_EXECUTED.CYCLES_GE_2_UOPS_EXEC", 792 "PublicDescription": "This events counts the cycles where at least two uop were executed. It is counted per thread.", 793 "SampleAfterValue": "2000003", 794 "UMask": "0x1" 795 }, 796 { 797 "BriefDescription": "Cycles where at least 3 uops were executed per-thread", 798 "CounterMask": "3", 799 "Errata": "HSD144, HSD30, HSM31", 800 "EventCode": "0xB1", 801 "EventName": "UOPS_EXECUTED.CYCLES_GE_3_UOPS_EXEC", 802 "PublicDescription": "This events counts the cycles where at least three uop were executed. It is counted per thread.", 803 "SampleAfterValue": "2000003", 804 "UMask": "0x1" 805 }, 806 { 807 "BriefDescription": "Cycles where at least 4 uops were executed per-thread.", 808 "CounterMask": "4", 809 "Errata": "HSD144, HSD30, HSM31", 810 "EventCode": "0xB1", 811 "EventName": "UOPS_EXECUTED.CYCLES_GE_4_UOPS_EXEC", 812 "SampleAfterValue": "2000003", 813 "UMask": "0x1" 814 }, 815 { 816 "BriefDescription": "Counts number of cycles no uops were dispatched to be executed on this thread.", 817 "CounterMask": "1", 818 "Errata": "HSD144, HSD30, HSM31", 819 "EventCode": "0xB1", 820 "EventName": "UOPS_EXECUTED.STALL_CYCLES", 821 "Invert": "1", 822 "SampleAfterValue": "2000003", 823 "UMask": "0x1" 824 }, 825 { 826 "BriefDescription": "Cycles per thread when uops are executed in port 0", 827 "EventCode": "0xA1", 828 "EventName": "UOPS_EXECUTED_PORT.PORT_0", 829 "PublicDescription": "Cycles which a uop is dispatched on port 0 in this thread.", 830 "SampleAfterValue": "2000003", 831 "UMask": "0x1" 832 }, 833 { 834 "AnyThread": "1", 835 "BriefDescription": "Cycles per core when uops are executed in port 0.", 836 "EventCode": "0xA1", 837 "EventName": "UOPS_EXECUTED_PORT.PORT_0_CORE", 838 "SampleAfterValue": "2000003", 839 "UMask": "0x1" 840 }, 841 { 842 "BriefDescription": "Cycles per thread when uops are executed in port 1", 843 "EventCode": "0xA1", 844 "EventName": "UOPS_EXECUTED_PORT.PORT_1", 845 "PublicDescription": "Cycles which a uop is dispatched on port 1 in this thread.", 846 "SampleAfterValue": "2000003", 847 "UMask": "0x2" 848 }, 849 { 850 "AnyThread": "1", 851 "BriefDescription": "Cycles per core when uops are executed in port 1.", 852 "EventCode": "0xA1", 853 "EventName": "UOPS_EXECUTED_PORT.PORT_1_CORE", 854 "SampleAfterValue": "2000003", 855 "UMask": "0x2" 856 }, 857 { 858 "BriefDescription": "Cycles per thread when uops are executed in port 2", 859 "EventCode": "0xA1", 860 "EventName": "UOPS_EXECUTED_PORT.PORT_2", 861 "PublicDescription": "Cycles which a uop is dispatched on port 2 in this thread.", 862 "SampleAfterValue": "2000003", 863 "UMask": "0x4" 864 }, 865 { 866 "AnyThread": "1", 867 "BriefDescription": "Cycles per core when uops are dispatched to port 2.", 868 "EventCode": "0xA1", 869 "EventName": "UOPS_EXECUTED_PORT.PORT_2_CORE", 870 "SampleAfterValue": "2000003", 871 "UMask": "0x4" 872 }, 873 { 874 "BriefDescription": "Cycles per thread when uops are executed in port 3", 875 "EventCode": "0xA1", 876 "EventName": "UOPS_EXECUTED_PORT.PORT_3", 877 "PublicDescription": "Cycles which a uop is dispatched on port 3 in this thread.", 878 "SampleAfterValue": "2000003", 879 "UMask": "0x8" 880 }, 881 { 882 "AnyThread": "1", 883 "BriefDescription": "Cycles per core when uops are dispatched to port 3.", 884 "EventCode": "0xA1", 885 "EventName": "UOPS_EXECUTED_PORT.PORT_3_CORE", 886 "SampleAfterValue": "2000003", 887 "UMask": "0x8" 888 }, 889 { 890 "BriefDescription": "Cycles per thread when uops are executed in port 4", 891 "EventCode": "0xA1", 892 "EventName": "UOPS_EXECUTED_PORT.PORT_4", 893 "PublicDescription": "Cycles which a uop is dispatched on port 4 in this thread.", 894 "SampleAfterValue": "2000003", 895 "UMask": "0x10" 896 }, 897 { 898 "AnyThread": "1", 899 "BriefDescription": "Cycles per core when uops are executed in port 4.", 900 "EventCode": "0xA1", 901 "EventName": "UOPS_EXECUTED_PORT.PORT_4_CORE", 902 "SampleAfterValue": "2000003", 903 "UMask": "0x10" 904 }, 905 { 906 "BriefDescription": "Cycles per thread when uops are executed in port 5", 907 "EventCode": "0xA1", 908 "EventName": "UOPS_EXECUTED_PORT.PORT_5", 909 "PublicDescription": "Cycles which a uop is dispatched on port 5 in this thread.", 910 "SampleAfterValue": "2000003", 911 "UMask": "0x20" 912 }, 913 { 914 "AnyThread": "1", 915 "BriefDescription": "Cycles per core when uops are executed in port 5.", 916 "EventCode": "0xA1", 917 "EventName": "UOPS_EXECUTED_PORT.PORT_5_CORE", 918 "SampleAfterValue": "2000003", 919 "UMask": "0x20" 920 }, 921 { 922 "BriefDescription": "Cycles per thread when uops are executed in port 6", 923 "EventCode": "0xA1", 924 "EventName": "UOPS_EXECUTED_PORT.PORT_6", 925 "PublicDescription": "Cycles which a uop is dispatched on port 6 in this thread.", 926 "SampleAfterValue": "2000003", 927 "UMask": "0x40" 928 }, 929 { 930 "AnyThread": "1", 931 "BriefDescription": "Cycles per core when uops are executed in port 6.", 932 "EventCode": "0xA1", 933 "EventName": "UOPS_EXECUTED_PORT.PORT_6_CORE", 934 "SampleAfterValue": "2000003", 935 "UMask": "0x40" 936 }, 937 { 938 "BriefDescription": "Cycles per thread when uops are executed in port 7", 939 "EventCode": "0xA1", 940 "EventName": "UOPS_EXECUTED_PORT.PORT_7", 941 "PublicDescription": "Cycles which a uop is dispatched on port 7 in this thread.", 942 "SampleAfterValue": "2000003", 943 "UMask": "0x80" 944 }, 945 { 946 "AnyThread": "1", 947 "BriefDescription": "Cycles per core when uops are dispatched to port 7.", 948 "EventCode": "0xA1", 949 "EventName": "UOPS_EXECUTED_PORT.PORT_7_CORE", 950 "SampleAfterValue": "2000003", 951 "UMask": "0x80" 952 }, 953 { 954 "BriefDescription": "Uops that Resource Allocation Table (RAT) issues to Reservation Station (RS)", 955 "EventCode": "0x0E", 956 "EventName": "UOPS_ISSUED.ANY", 957 "PublicDescription": "This event counts the number of uops issued by the Front-end of the pipeline to the Back-end. This event is counted at the allocation stage and will count both retired and non-retired uops.", 958 "SampleAfterValue": "2000003", 959 "UMask": "0x1" 960 }, 961 { 962 "AnyThread": "1", 963 "BriefDescription": "Cycles when Resource Allocation Table (RAT) does not issue Uops to Reservation Station (RS) for all threads.", 964 "CounterMask": "1", 965 "EventCode": "0x0E", 966 "EventName": "UOPS_ISSUED.CORE_STALL_CYCLES", 967 "Invert": "1", 968 "SampleAfterValue": "2000003", 969 "UMask": "0x1" 970 }, 971 { 972 "BriefDescription": "Number of flags-merge uops being allocated. Such uops considered perf sensitive; added by GSR u-arch.", 973 "EventCode": "0x0E", 974 "EventName": "UOPS_ISSUED.FLAGS_MERGE", 975 "PublicDescription": "Number of flags-merge uops allocated. Such uops add delay.", 976 "SampleAfterValue": "2000003", 977 "UMask": "0x10" 978 }, 979 { 980 "BriefDescription": "Number of Multiply packed/scalar single precision uops allocated", 981 "EventCode": "0x0E", 982 "EventName": "UOPS_ISSUED.SINGLE_MUL", 983 "PublicDescription": "Number of multiply packed/scalar single precision uops allocated.", 984 "SampleAfterValue": "2000003", 985 "UMask": "0x40" 986 }, 987 { 988 "BriefDescription": "Number of slow LEA uops being allocated. A uop is generally considered SlowLea if it has 3 sources (e.g. 2 sources + immediate) regardless if as a result of LEA instruction or not.", 989 "EventCode": "0x0E", 990 "EventName": "UOPS_ISSUED.SLOW_LEA", 991 "PublicDescription": "Number of slow LEA or similar uops allocated. Such uop has 3 sources (for example, 2 sources + immediate) regardless of whether it is a result of LEA instruction or not.", 992 "SampleAfterValue": "2000003", 993 "UMask": "0x20" 994 }, 995 { 996 "BriefDescription": "Cycles when Resource Allocation Table (RAT) does not issue Uops to Reservation Station (RS) for the thread.", 997 "CounterMask": "1", 998 "EventCode": "0x0E", 999 "EventName": "UOPS_ISSUED.STALL_CYCLES", 1000 "Invert": "1", 1001 "SampleAfterValue": "2000003", 1002 "UMask": "0x1" 1003 }, 1004 { 1005 "BriefDescription": "Actually retired uops.", 1006 "EventCode": "0xC2", 1007 "EventName": "UOPS_RETIRED.ALL", 1008 "PEBS": "1", 1009 "PublicDescription": "Counts the number of micro-ops retired. Use Cmask=1 and invert to count active cycles or stalled cycles.", 1010 "SampleAfterValue": "2000003", 1011 "UMask": "0x1" 1012 }, 1013 { 1014 "AnyThread": "1", 1015 "BriefDescription": "Cycles without actually retired uops.", 1016 "CounterMask": "1", 1017 "EventCode": "0xC2", 1018 "EventName": "UOPS_RETIRED.CORE_STALL_CYCLES", 1019 "Invert": "1", 1020 "SampleAfterValue": "2000003", 1021 "UMask": "0x1" 1022 }, 1023 { 1024 "BriefDescription": "Retirement slots used.", 1025 "EventCode": "0xC2", 1026 "EventName": "UOPS_RETIRED.RETIRE_SLOTS", 1027 "PEBS": "1", 1028 "PublicDescription": "This event counts the number of retirement slots used each cycle. There are potentially 4 slots that can be used each cycle - meaning, 4 uops or 4 instructions could retire each cycle.", 1029 "SampleAfterValue": "2000003", 1030 "UMask": "0x2" 1031 }, 1032 { 1033 "BriefDescription": "Cycles without actually retired uops.", 1034 "CounterMask": "1", 1035 "EventCode": "0xC2", 1036 "EventName": "UOPS_RETIRED.STALL_CYCLES", 1037 "Invert": "1", 1038 "SampleAfterValue": "2000003", 1039 "UMask": "0x1" 1040 }, 1041 { 1042 "BriefDescription": "Cycles with less than 10 actually retired uops.", 1043 "CounterMask": "16", 1044 "EventCode": "0xC2", 1045 "EventName": "UOPS_RETIRED.TOTAL_CYCLES", 1046 "Invert": "1", 1047 "SampleAfterValue": "2000003", 1048 "UMask": "0x1" 1049 } 1050] 1051