1[ 2 { 3 "BriefDescription": "Counts the total number when the front end is resteered, mainly when the BPU cannot provide a correct prediction and this is corrected by other branch handling mechanisms at the front end.", 4 "EventCode": "0xe6", 5 "EventName": "BACLEARS.ANY", 6 "PublicDescription": "Counts the number of times the front-end is resteered when it finds a branch instruction in a fetch line. This occurs for the first time a branch instruction is fetched or when the branch is not tracked by the BPU (Branch Prediction Unit) anymore.", 7 "SampleAfterValue": "100003", 8 "UMask": "0x1" 9 }, 10 { 11 "BriefDescription": "Decode Stream Buffer (DSB)-to-MITE transitions count.", 12 "CounterMask": "1", 13 "EdgeDetect": "1", 14 "EventCode": "0xab", 15 "EventName": "DSB2MITE_SWITCHES.COUNT", 16 "PublicDescription": "Counts the number of Decode Stream Buffer (DSB a.k.a. Uop Cache)-to-MITE speculative transitions.", 17 "SampleAfterValue": "100003", 18 "UMask": "0x2" 19 }, 20 { 21 "BriefDescription": "DSB-to-MITE switch true penalty cycles.", 22 "EventCode": "0xab", 23 "EventName": "DSB2MITE_SWITCHES.PENALTY_CYCLES", 24 "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.", 25 "SampleAfterValue": "100003", 26 "UMask": "0x2" 27 }, 28 { 29 "BriefDescription": "Retired Instructions who experienced DSB miss.", 30 "EventCode": "0xc6", 31 "EventName": "FRONTEND_RETIRED.ANY_DSB_MISS", 32 "MSRIndex": "0x3F7", 33 "MSRValue": "0x1", 34 "PEBS": "1", 35 "PublicDescription": "Counts retired Instructions that experienced DSB (Decode stream buffer i.e. the decoded instruction-cache) miss.", 36 "SampleAfterValue": "100007", 37 "UMask": "0x1" 38 }, 39 { 40 "BriefDescription": "Retired Instructions who experienced a critical DSB miss.", 41 "EventCode": "0xc6", 42 "EventName": "FRONTEND_RETIRED.DSB_MISS", 43 "MSRIndex": "0x3F7", 44 "MSRValue": "0x11", 45 "PEBS": "1", 46 "PublicDescription": "Number of retired Instructions that experienced a critical DSB (Decode stream buffer i.e. the decoded instruction-cache) miss. Critical means stalls were exposed to the back-end as a result of the DSB miss.", 47 "SampleAfterValue": "100007", 48 "UMask": "0x1" 49 }, 50 { 51 "BriefDescription": "Retired Instructions who experienced iTLB true miss.", 52 "EventCode": "0xc6", 53 "EventName": "FRONTEND_RETIRED.ITLB_MISS", 54 "MSRIndex": "0x3F7", 55 "MSRValue": "0x14", 56 "PEBS": "1", 57 "PublicDescription": "Counts retired Instructions that experienced iTLB (Instruction TLB) true miss.", 58 "SampleAfterValue": "100007", 59 "UMask": "0x1" 60 }, 61 { 62 "BriefDescription": "Retired Instructions who experienced Instruction L1 Cache true miss.", 63 "EventCode": "0xc6", 64 "EventName": "FRONTEND_RETIRED.L1I_MISS", 65 "MSRIndex": "0x3F7", 66 "MSRValue": "0x12", 67 "PEBS": "1", 68 "PublicDescription": "Counts retired Instructions who experienced Instruction L1 Cache true miss.", 69 "SampleAfterValue": "100007", 70 "UMask": "0x1" 71 }, 72 { 73 "BriefDescription": "Retired Instructions who experienced Instruction L2 Cache true miss.", 74 "EventCode": "0xc6", 75 "EventName": "FRONTEND_RETIRED.L2_MISS", 76 "MSRIndex": "0x3F7", 77 "MSRValue": "0x13", 78 "PEBS": "1", 79 "PublicDescription": "Counts retired Instructions who experienced Instruction L2 Cache true miss.", 80 "SampleAfterValue": "100007", 81 "UMask": "0x1" 82 }, 83 { 84 "BriefDescription": "Retired instructions after front-end starvation of at least 1 cycle", 85 "EventCode": "0xc6", 86 "EventName": "FRONTEND_RETIRED.LATENCY_GE_1", 87 "MSRIndex": "0x3F7", 88 "MSRValue": "0x500106", 89 "PEBS": "1", 90 "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.", 91 "SampleAfterValue": "100007", 92 "UMask": "0x1" 93 }, 94 { 95 "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.", 96 "EventCode": "0xc6", 97 "EventName": "FRONTEND_RETIRED.LATENCY_GE_128", 98 "MSRIndex": "0x3F7", 99 "MSRValue": "0x508006", 100 "PEBS": "1", 101 "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.", 102 "SampleAfterValue": "100007", 103 "UMask": "0x1" 104 }, 105 { 106 "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.", 107 "EventCode": "0xc6", 108 "EventName": "FRONTEND_RETIRED.LATENCY_GE_16", 109 "MSRIndex": "0x3F7", 110 "MSRValue": "0x501006", 111 "PEBS": "1", 112 "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.", 113 "SampleAfterValue": "100007", 114 "UMask": "0x1" 115 }, 116 { 117 "BriefDescription": "Retired instructions after front-end starvation of at least 2 cycles", 118 "EventCode": "0xc6", 119 "EventName": "FRONTEND_RETIRED.LATENCY_GE_2", 120 "MSRIndex": "0x3F7", 121 "MSRValue": "0x500206", 122 "PEBS": "1", 123 "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.", 124 "SampleAfterValue": "100007", 125 "UMask": "0x1" 126 }, 127 { 128 "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.", 129 "EventCode": "0xc6", 130 "EventName": "FRONTEND_RETIRED.LATENCY_GE_256", 131 "MSRIndex": "0x3F7", 132 "MSRValue": "0x510006", 133 "PEBS": "1", 134 "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.", 135 "SampleAfterValue": "100007", 136 "UMask": "0x1" 137 }, 138 { 139 "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.", 140 "EventCode": "0xc6", 141 "EventName": "FRONTEND_RETIRED.LATENCY_GE_2_BUBBLES_GE_1", 142 "MSRIndex": "0x3F7", 143 "MSRValue": "0x100206", 144 "PEBS": "1", 145 "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.", 146 "SampleAfterValue": "100007", 147 "UMask": "0x1" 148 }, 149 { 150 "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.", 151 "EventCode": "0xc6", 152 "EventName": "FRONTEND_RETIRED.LATENCY_GE_32", 153 "MSRIndex": "0x3F7", 154 "MSRValue": "0x502006", 155 "PEBS": "1", 156 "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.", 157 "SampleAfterValue": "100007", 158 "UMask": "0x1" 159 }, 160 { 161 "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.", 162 "EventCode": "0xc6", 163 "EventName": "FRONTEND_RETIRED.LATENCY_GE_4", 164 "MSRIndex": "0x3F7", 165 "MSRValue": "0x500406", 166 "PEBS": "1", 167 "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.", 168 "SampleAfterValue": "100007", 169 "UMask": "0x1" 170 }, 171 { 172 "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.", 173 "EventCode": "0xc6", 174 "EventName": "FRONTEND_RETIRED.LATENCY_GE_512", 175 "MSRIndex": "0x3F7", 176 "MSRValue": "0x520006", 177 "PEBS": "1", 178 "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.", 179 "SampleAfterValue": "100007", 180 "UMask": "0x1" 181 }, 182 { 183 "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.", 184 "EventCode": "0xc6", 185 "EventName": "FRONTEND_RETIRED.LATENCY_GE_64", 186 "MSRIndex": "0x3F7", 187 "MSRValue": "0x504006", 188 "PEBS": "1", 189 "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.", 190 "SampleAfterValue": "100007", 191 "UMask": "0x1" 192 }, 193 { 194 "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.", 195 "EventCode": "0xc6", 196 "EventName": "FRONTEND_RETIRED.LATENCY_GE_8", 197 "MSRIndex": "0x3F7", 198 "MSRValue": "0x500806", 199 "PEBS": "1", 200 "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.", 201 "SampleAfterValue": "100007", 202 "UMask": "0x1" 203 }, 204 { 205 "BriefDescription": "Retired Instructions who experienced STLB (2nd level TLB) true miss.", 206 "EventCode": "0xc6", 207 "EventName": "FRONTEND_RETIRED.STLB_MISS", 208 "MSRIndex": "0x3F7", 209 "MSRValue": "0x15", 210 "PEBS": "1", 211 "PublicDescription": "Counts retired Instructions that experienced STLB (2nd level TLB) true miss.", 212 "SampleAfterValue": "100007", 213 "UMask": "0x1" 214 }, 215 { 216 "BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache miss.", 217 "EventCode": "0x80", 218 "EventName": "ICACHE_16B.IFDATA_STALL", 219 "PublicDescription": "Counts cycles where a code line fetch is stalled due to an L1 instruction cache miss. The legacy decode pipeline works at a 16 Byte granularity.", 220 "SampleAfterValue": "500009", 221 "UMask": "0x4" 222 }, 223 { 224 "BriefDescription": "Instruction fetch tag lookups that hit in the instruction cache (L1I). Counts at 64-byte cache-line granularity.", 225 "EventCode": "0x83", 226 "EventName": "ICACHE_64B.IFTAG_HIT", 227 "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.", 228 "SampleAfterValue": "200003", 229 "UMask": "0x1" 230 }, 231 { 232 "BriefDescription": "Instruction fetch tag lookups that miss in the instruction cache (L1I). Counts at 64-byte cache-line granularity.", 233 "EventCode": "0x83", 234 "EventName": "ICACHE_64B.IFTAG_MISS", 235 "PublicDescription": "Counts instruction fetch tag lookups that miss in the instruction cache (L1I). Counts at 64-byte cache-line granularity. Accounts for both cacheable and uncacheable accesses.", 236 "SampleAfterValue": "200003", 237 "UMask": "0x2" 238 }, 239 { 240 "BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache tag miss.", 241 "EventCode": "0x83", 242 "EventName": "ICACHE_64B.IFTAG_STALL", 243 "PublicDescription": "Counts cycles where a code fetch is stalled due to L1 instruction cache tag miss.", 244 "SampleAfterValue": "200003", 245 "UMask": "0x4" 246 }, 247 { 248 "BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering any Uop", 249 "CounterMask": "1", 250 "EventCode": "0x79", 251 "EventName": "IDQ.DSB_CYCLES_ANY", 252 "PublicDescription": "Counts the number of cycles uops were delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path.", 253 "SampleAfterValue": "2000003", 254 "UMask": "0x8" 255 }, 256 { 257 "BriefDescription": "Cycles DSB is delivering optimal number of Uops", 258 "CounterMask": "5", 259 "EventCode": "0x79", 260 "EventName": "IDQ.DSB_CYCLES_OK", 261 "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).", 262 "SampleAfterValue": "2000003", 263 "UMask": "0x8" 264 }, 265 { 266 "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path", 267 "EventCode": "0x79", 268 "EventName": "IDQ.DSB_UOPS", 269 "PublicDescription": "Counts the number of uops delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path.", 270 "SampleAfterValue": "2000003", 271 "UMask": "0x8" 272 }, 273 { 274 "BriefDescription": "Cycles MITE is delivering any Uop", 275 "CounterMask": "1", 276 "EventCode": "0x79", 277 "EventName": "IDQ.MITE_CYCLES_ANY", 278 "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).", 279 "SampleAfterValue": "2000003", 280 "UMask": "0x4" 281 }, 282 { 283 "BriefDescription": "Cycles MITE is delivering optimal number of Uops", 284 "CounterMask": "5", 285 "EventCode": "0x79", 286 "EventName": "IDQ.MITE_CYCLES_OK", 287 "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).", 288 "SampleAfterValue": "2000003", 289 "UMask": "0x4" 290 }, 291 { 292 "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from MITE path", 293 "EventCode": "0x79", 294 "EventName": "IDQ.MITE_UOPS", 295 "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).", 296 "SampleAfterValue": "2000003", 297 "UMask": "0x4" 298 }, 299 { 300 "BriefDescription": "Number of switches from DSB or MITE to the MS", 301 "CounterMask": "1", 302 "EdgeDetect": "1", 303 "EventCode": "0x79", 304 "EventName": "IDQ.MS_SWITCHES", 305 "PublicDescription": "Number of switches from DSB (Decode Stream Buffer) or MITE (legacy decode pipeline) to the Microcode Sequencer.", 306 "SampleAfterValue": "100003", 307 "UMask": "0x30" 308 }, 309 { 310 "BriefDescription": "Uops delivered to IDQ while MS is busy", 311 "EventCode": "0x79", 312 "EventName": "IDQ.MS_UOPS", 313 "PublicDescription": "Counts the total number of uops delivered by the Microcode Sequencer (MS). Any instruction over 4 uops will be delivered by the MS. Some instructions such as transcendentals may additionally generate uops from the MS.", 314 "SampleAfterValue": "100003", 315 "UMask": "0x30" 316 }, 317 { 318 "BriefDescription": "Uops not delivered by IDQ when backend of the machine is not stalled", 319 "EventCode": "0x9c", 320 "EventName": "IDQ_UOPS_NOT_DELIVERED.CORE", 321 "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.", 322 "SampleAfterValue": "1000003", 323 "UMask": "0x1" 324 }, 325 { 326 "BriefDescription": "Cycles when no uops are not delivered by the IDQ when backend of the machine is not stalled", 327 "CounterMask": "5", 328 "EventCode": "0x9c", 329 "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_0_UOPS_DELIV.CORE", 330 "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.", 331 "SampleAfterValue": "1000003", 332 "UMask": "0x1" 333 }, 334 { 335 "BriefDescription": "Cycles when optimal number of uops was delivered to the back-end when the back-end is not stalled", 336 "CounterMask": "1", 337 "EventCode": "0x9C", 338 "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_FE_WAS_OK", 339 "Invert": "1", 340 "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.", 341 "SampleAfterValue": "1000003", 342 "UMask": "0x1" 343 } 344] 345