1[ 2 { 3 "BriefDescription": "Counts the total number of BACLEARS due to all branch types including conditional and unconditional jumps, returns, and indirect branches.", 4 "EventCode": "0xe6", 5 "EventName": "BACLEARS.ANY", 6 "PublicDescription": "Counts the total number of BACLEARS, which occur when the Branch Target Buffer (BTB) prediction or lack thereof, was corrected by a later branch predictor in the frontend. Includes BACLEARS due to all branch types including conditional and unconditional jumps, returns, and indirect branches.", 7 "SampleAfterValue": "200003", 8 "UMask": "0x1", 9 "Unit": "cpu_atom" 10 }, 11 { 12 "BriefDescription": "Clears due to Unknown Branches.", 13 "EventCode": "0x60", 14 "EventName": "BACLEARS.ANY", 15 "PublicDescription": "Number of times the front-end is resteered when it finds a branch instruction in a fetch line. This is called Unknown Branch which occurs for the first time a branch instruction is fetched or when the branch is not tracked by the BPU (Branch Prediction Unit) anymore.", 16 "SampleAfterValue": "100003", 17 "UMask": "0x1", 18 "Unit": "cpu_core" 19 }, 20 { 21 "BriefDescription": "Stalls caused by changing prefix length of the instruction.", 22 "EventCode": "0x87", 23 "EventName": "DECODE.LCP", 24 "PublicDescription": "Counts cycles that the Instruction Length decoder (ILD) stalls occurred due to dynamically changing prefix length of the decoded instruction (by operand size prefix instruction 0x66, address size prefix instruction 0x67 or REX.W for Intel64). Count is proportional to the number of prefixes in a 16B-line. This may result in a three-cycle penalty for each LCP (Length changing prefix) in a 16-byte chunk.", 25 "SampleAfterValue": "500009", 26 "UMask": "0x1", 27 "Unit": "cpu_core" 28 }, 29 { 30 "BriefDescription": "Cycles the Microcode Sequencer is busy.", 31 "EventCode": "0x87", 32 "EventName": "DECODE.MS_BUSY", 33 "SampleAfterValue": "500009", 34 "UMask": "0x2", 35 "Unit": "cpu_core" 36 }, 37 { 38 "BriefDescription": "DSB-to-MITE switch true penalty cycles.", 39 "EventCode": "0x61", 40 "EventName": "DSB2MITE_SWITCHES.PENALTY_CYCLES", 41 "PublicDescription": "Decode Stream Buffer (DSB) is a Uop-cache that holds translations of previously fetched instructions that were decoded by the legacy x86 decode pipeline (MITE). This event counts fetch penalty cycles when a transition occurs from DSB to MITE.", 42 "SampleAfterValue": "100003", 43 "UMask": "0x2", 44 "Unit": "cpu_core" 45 }, 46 { 47 "BriefDescription": "Retired ANT branches", 48 "EventCode": "0xc6", 49 "EventName": "FRONTEND_RETIRED.ANY_ANT", 50 "MSRIndex": "0x3F7", 51 "MSRValue": "0x9", 52 "PEBS": "1", 53 "PublicDescription": "Always Not Taken (ANT) conditional retired branches (no BTB entry and not mispredicted)", 54 "SampleAfterValue": "100007", 55 "UMask": "0x3", 56 "Unit": "cpu_core" 57 }, 58 { 59 "BriefDescription": "Counts the number of instructions retired that were tagged because empty issue slots were seen before the uop due to ITLB miss", 60 "EventCode": "0xc6", 61 "EventName": "FRONTEND_RETIRED.ITLB_MISS", 62 "PEBS": "1", 63 "SampleAfterValue": "1000003", 64 "UMask": "0x10", 65 "Unit": "cpu_atom" 66 }, 67 { 68 "BriefDescription": "Retired Instructions who experienced iTLB true miss.", 69 "EventCode": "0xc6", 70 "EventName": "FRONTEND_RETIRED.ITLB_MISS", 71 "MSRIndex": "0x3F7", 72 "MSRValue": "0x14", 73 "PEBS": "1", 74 "PublicDescription": "Counts retired Instructions that experienced iTLB (Instruction TLB) true miss.", 75 "SampleAfterValue": "100007", 76 "UMask": "0x3", 77 "Unit": "cpu_core" 78 }, 79 { 80 "BriefDescription": "Retired Instructions who experienced Instruction L1 Cache true miss.", 81 "EventCode": "0xc6", 82 "EventName": "FRONTEND_RETIRED.L1I_MISS", 83 "MSRIndex": "0x3F7", 84 "MSRValue": "0x12", 85 "PEBS": "1", 86 "PublicDescription": "Counts retired Instructions who experienced Instruction L1 Cache true miss.", 87 "SampleAfterValue": "100007", 88 "UMask": "0x3", 89 "Unit": "cpu_core" 90 }, 91 { 92 "BriefDescription": "Retired instructions after front-end starvation of at least 1 cycle", 93 "EventCode": "0xc6", 94 "EventName": "FRONTEND_RETIRED.LATENCY_GE_1", 95 "MSRIndex": "0x3F7", 96 "MSRValue": "0x600106", 97 "PEBS": "1", 98 "PublicDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of at least 1 cycle which was not interrupted by a back-end stall.", 99 "SampleAfterValue": "100007", 100 "UMask": "0x3", 101 "Unit": "cpu_core" 102 }, 103 { 104 "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 128 cycles which was not interrupted by a back-end stall.", 105 "EventCode": "0xc6", 106 "EventName": "FRONTEND_RETIRED.LATENCY_GE_128", 107 "MSRIndex": "0x3F7", 108 "MSRValue": "0x608006", 109 "PEBS": "1", 110 "PublicDescription": "Counts retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 128 cycles which was not interrupted by a back-end stall.", 111 "SampleAfterValue": "100007", 112 "UMask": "0x3", 113 "Unit": "cpu_core" 114 }, 115 { 116 "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 16 cycles which was not interrupted by a back-end stall.", 117 "EventCode": "0xc6", 118 "EventName": "FRONTEND_RETIRED.LATENCY_GE_16", 119 "MSRIndex": "0x3F7", 120 "MSRValue": "0x601006", 121 "PEBS": "1", 122 "PublicDescription": "Counts retired instructions that are delivered to the back-end after a front-end stall of at least 16 cycles. During this period the front-end delivered no uops.", 123 "SampleAfterValue": "100007", 124 "UMask": "0x3", 125 "Unit": "cpu_core" 126 }, 127 { 128 "BriefDescription": "Retired instructions after front-end starvation of at least 2 cycles", 129 "EventCode": "0xc6", 130 "EventName": "FRONTEND_RETIRED.LATENCY_GE_2", 131 "MSRIndex": "0x3F7", 132 "MSRValue": "0x600206", 133 "PEBS": "1", 134 "PublicDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of at least 2 cycles which was not interrupted by a back-end stall.", 135 "SampleAfterValue": "100007", 136 "UMask": "0x3", 137 "Unit": "cpu_core" 138 }, 139 { 140 "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 256 cycles which was not interrupted by a back-end stall.", 141 "EventCode": "0xc6", 142 "EventName": "FRONTEND_RETIRED.LATENCY_GE_256", 143 "MSRIndex": "0x3F7", 144 "MSRValue": "0x610006", 145 "PEBS": "1", 146 "PublicDescription": "Counts retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 256 cycles which was not interrupted by a back-end stall.", 147 "SampleAfterValue": "100007", 148 "UMask": "0x3", 149 "Unit": "cpu_core" 150 }, 151 { 152 "BriefDescription": "Retired instructions that are fetched after an interval where the front-end had at least 1 bubble-slot for a period of 2 cycles which was not interrupted by a back-end stall.", 153 "EventCode": "0xc6", 154 "EventName": "FRONTEND_RETIRED.LATENCY_GE_2_BUBBLES_GE_1", 155 "MSRIndex": "0x3F7", 156 "MSRValue": "0x100206", 157 "PEBS": "1", 158 "PublicDescription": "Counts retired instructions that are delivered to the back-end after the front-end had at least 1 bubble-slot for a period of 2 cycles. A bubble-slot is an empty issue-pipeline slot while there was no RAT stall.", 159 "SampleAfterValue": "100007", 160 "UMask": "0x3", 161 "Unit": "cpu_core" 162 }, 163 { 164 "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 32 cycles which was not interrupted by a back-end stall.", 165 "EventCode": "0xc6", 166 "EventName": "FRONTEND_RETIRED.LATENCY_GE_32", 167 "MSRIndex": "0x3F7", 168 "MSRValue": "0x602006", 169 "PEBS": "1", 170 "PublicDescription": "Counts retired instructions that are delivered to the back-end after a front-end stall of at least 32 cycles. During this period the front-end delivered no uops.", 171 "SampleAfterValue": "100007", 172 "UMask": "0x3", 173 "Unit": "cpu_core" 174 }, 175 { 176 "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 4 cycles which was not interrupted by a back-end stall.", 177 "EventCode": "0xc6", 178 "EventName": "FRONTEND_RETIRED.LATENCY_GE_4", 179 "MSRIndex": "0x3F7", 180 "MSRValue": "0x600406", 181 "PEBS": "1", 182 "PublicDescription": "Counts retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 4 cycles which was not interrupted by a back-end stall.", 183 "SampleAfterValue": "100007", 184 "UMask": "0x3", 185 "Unit": "cpu_core" 186 }, 187 { 188 "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 512 cycles which was not interrupted by a back-end stall.", 189 "EventCode": "0xc6", 190 "EventName": "FRONTEND_RETIRED.LATENCY_GE_512", 191 "MSRIndex": "0x3F7", 192 "MSRValue": "0x620006", 193 "PEBS": "1", 194 "PublicDescription": "Counts retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 512 cycles which was not interrupted by a back-end stall.", 195 "SampleAfterValue": "100007", 196 "UMask": "0x3", 197 "Unit": "cpu_core" 198 }, 199 { 200 "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 64 cycles which was not interrupted by a back-end stall.", 201 "EventCode": "0xc6", 202 "EventName": "FRONTEND_RETIRED.LATENCY_GE_64", 203 "MSRIndex": "0x3F7", 204 "MSRValue": "0x604006", 205 "PEBS": "1", 206 "PublicDescription": "Counts retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 64 cycles which was not interrupted by a back-end stall.", 207 "SampleAfterValue": "100007", 208 "UMask": "0x3", 209 "Unit": "cpu_core" 210 }, 211 { 212 "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 8 cycles which was not interrupted by a back-end stall.", 213 "EventCode": "0xc6", 214 "EventName": "FRONTEND_RETIRED.LATENCY_GE_8", 215 "MSRIndex": "0x3F7", 216 "MSRValue": "0x600806", 217 "PEBS": "1", 218 "PublicDescription": "Counts retired instructions that are delivered to the back-end after a front-end stall of at least 8 cycles. During this period the front-end delivered no uops.", 219 "SampleAfterValue": "100007", 220 "UMask": "0x3", 221 "Unit": "cpu_core" 222 }, 223 { 224 "BriefDescription": "Mispredicted Retired ANT branches", 225 "EventCode": "0xc6", 226 "EventName": "FRONTEND_RETIRED.MISP_ANT", 227 "MSRIndex": "0x3F7", 228 "MSRValue": "0x9", 229 "PEBS": "1", 230 "PublicDescription": "ANT retired branches that got just mispredicted", 231 "SampleAfterValue": "100007", 232 "UMask": "0x2", 233 "Unit": "cpu_core" 234 }, 235 { 236 "BriefDescription": "FRONTEND_RETIRED.MS_FLOWS", 237 "EventCode": "0xc6", 238 "EventName": "FRONTEND_RETIRED.MS_FLOWS", 239 "MSRIndex": "0x3F7", 240 "MSRValue": "0x8", 241 "PEBS": "1", 242 "SampleAfterValue": "100007", 243 "UMask": "0x3", 244 "Unit": "cpu_core" 245 }, 246 { 247 "BriefDescription": "FRONTEND_RETIRED.UNKNOWN_BRANCH", 248 "EventCode": "0xc6", 249 "EventName": "FRONTEND_RETIRED.UNKNOWN_BRANCH", 250 "MSRIndex": "0x3F7", 251 "MSRValue": "0x17", 252 "PEBS": "1", 253 "SampleAfterValue": "100007", 254 "UMask": "0x3", 255 "Unit": "cpu_core" 256 }, 257 { 258 "BriefDescription": "Counts every time the code stream enters into a new cache line by walking sequential from the previous line or being redirected by a jump.", 259 "EventCode": "0x80", 260 "EventName": "ICACHE.ACCESSES", 261 "SampleAfterValue": "200003", 262 "UMask": "0x3", 263 "Unit": "cpu_atom" 264 }, 265 { 266 "BriefDescription": "Counts every time the code stream enters into a new cache line by walking sequential from the previous line or being redirected by a jump and the instruction cache registers bytes are not present. -", 267 "EventCode": "0x80", 268 "EventName": "ICACHE.MISSES", 269 "SampleAfterValue": "200003", 270 "UMask": "0x2", 271 "Unit": "cpu_atom" 272 }, 273 { 274 "BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache miss.", 275 "EventCode": "0x80", 276 "EventName": "ICACHE_DATA.STALLS", 277 "PublicDescription": "Counts cycles where a code line fetch is stalled due to an L1 instruction cache miss. The decode pipeline works at a 32 Byte granularity.", 278 "SampleAfterValue": "500009", 279 "UMask": "0x4", 280 "Unit": "cpu_core" 281 }, 282 { 283 "BriefDescription": "ICACHE_DATA.STALL_PERIODS", 284 "CounterMask": "1", 285 "EdgeDetect": "1", 286 "EventCode": "0x80", 287 "EventName": "ICACHE_DATA.STALL_PERIODS", 288 "SampleAfterValue": "500009", 289 "UMask": "0x4", 290 "Unit": "cpu_core" 291 }, 292 { 293 "BriefDescription": "Instruction fetch tag lookups that hit in the instruction cache (L1I). Counts at 64-byte cache-line granularity.", 294 "EventCode": "0x83", 295 "EventName": "ICACHE_TAG.HIT", 296 "PublicDescription": "Counts instruction fetch tag lookups that hit in the instruction cache (L1I). Counts at 64-byte cache-line granularity. Accounts for both cacheable and uncacheable accesses.", 297 "SampleAfterValue": "200003", 298 "UMask": "0x1", 299 "Unit": "cpu_core" 300 }, 301 { 302 "BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache tag miss.", 303 "EventCode": "0x83", 304 "EventName": "ICACHE_TAG.STALLS", 305 "PublicDescription": "Counts cycles where a code fetch is stalled due to L1 instruction cache tag miss.", 306 "SampleAfterValue": "200003", 307 "UMask": "0x4", 308 "Unit": "cpu_core" 309 }, 310 { 311 "BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering any Uop", 312 "CounterMask": "1", 313 "EventCode": "0x79", 314 "EventName": "IDQ.DSB_CYCLES_ANY", 315 "PublicDescription": "Counts the number of cycles uops were delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path.", 316 "SampleAfterValue": "2000003", 317 "UMask": "0x8", 318 "Unit": "cpu_core" 319 }, 320 { 321 "BriefDescription": "Cycles DSB is delivering optimal number of Uops", 322 "CounterMask": "6", 323 "EventCode": "0x79", 324 "EventName": "IDQ.DSB_CYCLES_OK", 325 "PublicDescription": "Counts the number of cycles where optimal number of uops was delivered to the Instruction Decode Queue (IDQ) from the MITE (legacy decode pipeline) path. During these cycles uops are not being delivered from the Decode Stream Buffer (DSB).", 326 "SampleAfterValue": "2000003", 327 "UMask": "0x8", 328 "Unit": "cpu_core" 329 }, 330 { 331 "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path", 332 "EventCode": "0x79", 333 "EventName": "IDQ.DSB_UOPS", 334 "PublicDescription": "Counts the number of uops delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path.", 335 "SampleAfterValue": "2000003", 336 "UMask": "0x8", 337 "Unit": "cpu_core" 338 }, 339 { 340 "BriefDescription": "Cycles MITE is delivering any Uop", 341 "CounterMask": "1", 342 "EventCode": "0x79", 343 "EventName": "IDQ.MITE_CYCLES_ANY", 344 "PublicDescription": "Counts the number of cycles uops were delivered to the Instruction Decode Queue (IDQ) from the MITE (legacy decode pipeline) path. During these cycles uops are not being delivered from the Decode Stream Buffer (DSB).", 345 "SampleAfterValue": "2000003", 346 "UMask": "0x4", 347 "Unit": "cpu_core" 348 }, 349 { 350 "BriefDescription": "Cycles MITE is delivering optimal number of Uops", 351 "CounterMask": "6", 352 "EventCode": "0x79", 353 "EventName": "IDQ.MITE_CYCLES_OK", 354 "PublicDescription": "Counts the number of cycles where optimal number of uops was delivered to the Instruction Decode Queue (IDQ) from the MITE (legacy decode pipeline) path. During these cycles uops are not being delivered from the Decode Stream Buffer (DSB).", 355 "SampleAfterValue": "2000003", 356 "UMask": "0x4", 357 "Unit": "cpu_core" 358 }, 359 { 360 "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from MITE path", 361 "EventCode": "0x79", 362 "EventName": "IDQ.MITE_UOPS", 363 "PublicDescription": "Counts the number of uops delivered to Instruction Decode Queue (IDQ) from the MITE path. This also means that uops are not being delivered from the Decode Stream Buffer (DSB).", 364 "SampleAfterValue": "2000003", 365 "UMask": "0x4", 366 "Unit": "cpu_core" 367 }, 368 { 369 "BriefDescription": "Cycles when uops are being delivered to IDQ while MS is busy", 370 "CounterMask": "1", 371 "EventCode": "0x79", 372 "EventName": "IDQ.MS_CYCLES_ANY", 373 "PublicDescription": "Counts cycles during which uops are being delivered to Instruction Decode Queue (IDQ) while the Microcode Sequencer (MS) is busy. Uops maybe initiated by Decode Stream Buffer (DSB) or MITE.", 374 "SampleAfterValue": "2000003", 375 "UMask": "0x20", 376 "Unit": "cpu_core" 377 }, 378 { 379 "BriefDescription": "Number of switches from DSB or MITE to the MS", 380 "CounterMask": "1", 381 "EdgeDetect": "1", 382 "EventCode": "0x79", 383 "EventName": "IDQ.MS_SWITCHES", 384 "PublicDescription": "Number of switches from DSB (Decode Stream Buffer) or MITE (legacy decode pipeline) to the Microcode Sequencer.", 385 "SampleAfterValue": "100003", 386 "UMask": "0x20", 387 "Unit": "cpu_core" 388 }, 389 { 390 "BriefDescription": "Uops initiated by MITE or Decode Stream Buffer (DSB) and delivered to Instruction Decode Queue (IDQ) while Microcode Sequencer (MS) is busy", 391 "EventCode": "0x79", 392 "EventName": "IDQ.MS_UOPS", 393 "PublicDescription": "Counts the number of uops initiated by MITE or Decode Stream Buffer (DSB) and delivered to Instruction Decode Queue (IDQ) while the Microcode Sequencer (MS) is busy. Counting includes uops that may 'bypass' the IDQ.", 394 "SampleAfterValue": "1000003", 395 "UMask": "0x20", 396 "Unit": "cpu_core" 397 }, 398 { 399 "BriefDescription": "This event counts a subset of the Topdown Slots event that were no operation was delivered to the back-end pipeline due to instruction fetch limitations when the back-end could have accepted more operations. Common examples include instruction cache misses or x86 instruction decode limitations.", 400 "EventCode": "0x9c", 401 "EventName": "IDQ_BUBBLES.CORE", 402 "PublicDescription": "This event counts a subset of the Topdown Slots event that were no operation was delivered to the back-end pipeline due to instruction fetch limitations when the back-end could have accepted more operations. Common examples include instruction cache misses or x86 instruction decode limitations.\nThe count may be distributed among unhalted logical processors (hyper-threads) who share the same physical core, in processors that support Intel Hyper-Threading Technology. Software can use this event as the numerator for the Frontend Bound metric (or top-level category) of the Top-down Microarchitecture Analysis method.", 403 "SampleAfterValue": "1000003", 404 "UMask": "0x1", 405 "Unit": "cpu_core" 406 }, 407 { 408 "BriefDescription": "Uops not delivered by IDQ when backend of the machine is not stalled", 409 "EventCode": "0x9c", 410 "EventName": "IDQ_UOPS_NOT_DELIVERED.CORE", 411 "PublicDescription": "Counts the number of uops not delivered to by the Instruction Decode Queue (IDQ) to the back-end of the pipeline when there was no back-end stalls. This event counts for one SMT thread in a given cycle.", 412 "SampleAfterValue": "1000003", 413 "UMask": "0x1", 414 "Unit": "cpu_core" 415 }, 416 { 417 "BriefDescription": "Cycles when no uops are not delivered by the IDQ when backend of the machine is not stalled", 418 "CounterMask": "6", 419 "EventCode": "0x9c", 420 "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_0_UOPS_DELIV.CORE", 421 "PublicDescription": "Counts the number of cycles when no uops were delivered by the Instruction Decode Queue (IDQ) to the back-end of the pipeline when there was no back-end stalls. This event counts for one SMT thread in a given cycle.", 422 "SampleAfterValue": "1000003", 423 "UMask": "0x1", 424 "Unit": "cpu_core" 425 }, 426 { 427 "BriefDescription": "Cycles when optimal number of uops was delivered to the back-end when the back-end is not stalled", 428 "CounterMask": "1", 429 "EventCode": "0x9c", 430 "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_FE_WAS_OK", 431 "Invert": "1", 432 "PublicDescription": "Counts the number of cycles when the optimal number of uops were delivered by the Instruction Decode Queue (IDQ) to the back-end of the pipeline when there was no back-end stalls. This event counts for one SMT thread in a given cycle.", 433 "SampleAfterValue": "1000003", 434 "UMask": "0x1", 435 "Unit": "cpu_core" 436 } 437] 438