pipeline.json (22757B)
1[ 2 { 3 "BriefDescription": "Retired branch instructions (Precise event capable)", 4 "CollectPEBSRecord": "2", 5 "Counter": "0,1,2,3", 6 "EventCode": "0xC4", 7 "EventName": "BR_INST_RETIRED.ALL_BRANCHES", 8 "PEBS": "2", 9 "PublicDescription": "Counts branch instructions retired for all branch types. This is an architectural performance event.", 10 "SampleAfterValue": "200003" 11 }, 12 { 13 "BriefDescription": "Retired taken branch instructions (Precise event capable)", 14 "CollectPEBSRecord": "1", 15 "Counter": "0,1,2,3", 16 "EventCode": "0xC4", 17 "EventName": "BR_INST_RETIRED.ALL_TAKEN_BRANCHES", 18 "PEBS": "2", 19 "PublicDescription": "Counts the number of taken branch instructions retired.", 20 "SampleAfterValue": "200003", 21 "UMask": "0x80" 22 }, 23 { 24 "BriefDescription": "Retired near call instructions (Precise event capable)", 25 "CollectPEBSRecord": "2", 26 "Counter": "0,1,2,3", 27 "EventCode": "0xC4", 28 "EventName": "BR_INST_RETIRED.CALL", 29 "PEBS": "2", 30 "PublicDescription": "Counts near CALL branch instructions retired.", 31 "SampleAfterValue": "200003", 32 "UMask": "0xf9" 33 }, 34 { 35 "BriefDescription": "Retired far branch instructions (Precise event capable)", 36 "CollectPEBSRecord": "2", 37 "Counter": "0,1,2,3", 38 "EventCode": "0xC4", 39 "EventName": "BR_INST_RETIRED.FAR_BRANCH", 40 "PEBS": "2", 41 "PublicDescription": "Counts far branch instructions retired. This includes far jump, far call and return, and Interrupt call and return.", 42 "SampleAfterValue": "200003", 43 "UMask": "0xbf" 44 }, 45 { 46 "BriefDescription": "Retired near indirect call instructions (Precise event capable)", 47 "CollectPEBSRecord": "2", 48 "Counter": "0,1,2,3", 49 "EventCode": "0xC4", 50 "EventName": "BR_INST_RETIRED.IND_CALL", 51 "PEBS": "2", 52 "PublicDescription": "Counts near indirect CALL branch instructions retired.", 53 "SampleAfterValue": "200003", 54 "UMask": "0xfb" 55 }, 56 { 57 "BriefDescription": "Retired conditional branch instructions (Precise event capable)", 58 "CollectPEBSRecord": "2", 59 "Counter": "0,1,2,3", 60 "EventCode": "0xC4", 61 "EventName": "BR_INST_RETIRED.JCC", 62 "PEBS": "2", 63 "PublicDescription": "Counts retired Jcc (Jump on Conditional Code/Jump if Condition is Met) branch instructions retired, including both when the branch was taken and when it was not taken.", 64 "SampleAfterValue": "200003", 65 "UMask": "0x7e" 66 }, 67 { 68 "BriefDescription": "Retired instructions of near indirect Jmp or call (Precise event capable)", 69 "CollectPEBSRecord": "2", 70 "Counter": "0,1,2,3", 71 "EventCode": "0xC4", 72 "EventName": "BR_INST_RETIRED.NON_RETURN_IND", 73 "PEBS": "2", 74 "PublicDescription": "Counts near indirect call or near indirect jmp branch instructions retired.", 75 "SampleAfterValue": "200003", 76 "UMask": "0xeb" 77 }, 78 { 79 "BriefDescription": "Retired near relative call instructions (Precise event capable)", 80 "CollectPEBSRecord": "2", 81 "Counter": "0,1,2,3", 82 "EventCode": "0xC4", 83 "EventName": "BR_INST_RETIRED.REL_CALL", 84 "PEBS": "2", 85 "PublicDescription": "Counts near relative CALL branch instructions retired.", 86 "SampleAfterValue": "200003", 87 "UMask": "0xfd" 88 }, 89 { 90 "BriefDescription": "Retired near return instructions (Precise event capable)", 91 "CollectPEBSRecord": "2", 92 "Counter": "0,1,2,3", 93 "EventCode": "0xC4", 94 "EventName": "BR_INST_RETIRED.RETURN", 95 "PEBS": "2", 96 "PublicDescription": "Counts near return branch instructions retired.", 97 "SampleAfterValue": "200003", 98 "UMask": "0xf7" 99 }, 100 { 101 "BriefDescription": "Retired conditional branch instructions that were taken (Precise event capable)", 102 "CollectPEBSRecord": "2", 103 "Counter": "0,1,2,3", 104 "EventCode": "0xC4", 105 "EventName": "BR_INST_RETIRED.TAKEN_JCC", 106 "PEBS": "2", 107 "PublicDescription": "Counts Jcc (Jump on Conditional Code/Jump if Condition is Met) branch instructions retired that were taken and does not count when the Jcc branch instruction were not taken.", 108 "SampleAfterValue": "200003", 109 "UMask": "0xfe" 110 }, 111 { 112 "BriefDescription": "Retired mispredicted branch instructions (Precise event capable)", 113 "CollectPEBSRecord": "2", 114 "Counter": "0,1,2,3", 115 "EventCode": "0xC5", 116 "EventName": "BR_MISP_RETIRED.ALL_BRANCHES", 117 "PEBS": "2", 118 "PublicDescription": "Counts mispredicted branch instructions retired including all branch types.", 119 "SampleAfterValue": "200003" 120 }, 121 { 122 "BriefDescription": "Retired mispredicted near indirect call instructions (Precise event capable)", 123 "CollectPEBSRecord": "2", 124 "Counter": "0,1,2,3", 125 "EventCode": "0xC5", 126 "EventName": "BR_MISP_RETIRED.IND_CALL", 127 "PEBS": "2", 128 "PublicDescription": "Counts mispredicted near indirect CALL branch instructions retired, where the target address taken was not what the processor predicted.", 129 "SampleAfterValue": "200003", 130 "UMask": "0xfb" 131 }, 132 { 133 "BriefDescription": "Retired mispredicted conditional branch instructions (Precise event capable)", 134 "CollectPEBSRecord": "2", 135 "Counter": "0,1,2,3", 136 "EventCode": "0xC5", 137 "EventName": "BR_MISP_RETIRED.JCC", 138 "PEBS": "2", 139 "PublicDescription": "Counts mispredicted retired Jcc (Jump on Conditional Code/Jump if Condition is Met) branch instructions retired, including both when the branch was supposed to be taken and when it was not supposed to be taken (but the processor predicted the opposite condition).", 140 "SampleAfterValue": "200003", 141 "UMask": "0x7e" 142 }, 143 { 144 "BriefDescription": "Retired mispredicted instructions of near indirect Jmp or near indirect call. (Precise event capable)", 145 "CollectPEBSRecord": "2", 146 "Counter": "0,1,2,3", 147 "EventCode": "0xC5", 148 "EventName": "BR_MISP_RETIRED.NON_RETURN_IND", 149 "PEBS": "2", 150 "PublicDescription": "Counts mispredicted branch instructions retired that were near indirect call or near indirect jmp, where the target address taken was not what the processor predicted.", 151 "SampleAfterValue": "200003", 152 "UMask": "0xeb" 153 }, 154 { 155 "BriefDescription": "Retired mispredicted near return instructions (Precise event capable)", 156 "CollectPEBSRecord": "2", 157 "Counter": "0,1,2,3", 158 "EventCode": "0xC5", 159 "EventName": "BR_MISP_RETIRED.RETURN", 160 "PEBS": "2", 161 "PublicDescription": "Counts mispredicted near RET branch instructions retired, where the return address taken was not what the processor predicted.", 162 "SampleAfterValue": "200003", 163 "UMask": "0xf7" 164 }, 165 { 166 "BriefDescription": "Retired mispredicted conditional branch instructions that were taken (Precise event capable)", 167 "CollectPEBSRecord": "2", 168 "Counter": "0,1,2,3", 169 "EventCode": "0xC5", 170 "EventName": "BR_MISP_RETIRED.TAKEN_JCC", 171 "PEBS": "2", 172 "PublicDescription": "Counts mispredicted retired Jcc (Jump on Conditional Code/Jump if Condition is Met) branch instructions retired that were supposed to be taken but the processor predicted that it would not be taken.", 173 "SampleAfterValue": "200003", 174 "UMask": "0xfe" 175 }, 176 { 177 "BriefDescription": "Core cycles when core is not halted (Fixed event)", 178 "Counter": "Fixed counter 1", 179 "EventName": "CPU_CLK_UNHALTED.CORE", 180 "PublicDescription": "Counts the number of core cycles while the core is not in a halt state. The core enters the halt state when it is running the HLT instruction. In mobile systems the core frequency may change from time to time. For this reason this event may have a changing ratio with regards to time. This event uses fixed counter 1. You cannot collect a PEBs record for this event.", 181 "SampleAfterValue": "2000003", 182 "UMask": "0x2" 183 }, 184 { 185 "BriefDescription": "Core cycles when core is not halted", 186 "CollectPEBSRecord": "1", 187 "Counter": "0,1,2,3", 188 "EventCode": "0x3C", 189 "EventName": "CPU_CLK_UNHALTED.CORE_P", 190 "PublicDescription": "Core cycles when core is not halted. This event uses a (_P)rogrammable general purpose performance counter.", 191 "SampleAfterValue": "2000003" 192 }, 193 { 194 "BriefDescription": "Reference cycles when core is not halted", 195 "CollectPEBSRecord": "1", 196 "Counter": "0,1,2,3", 197 "EventCode": "0x3C", 198 "EventName": "CPU_CLK_UNHALTED.REF", 199 "PublicDescription": "Reference cycles when core is not halted. This event uses a programmable general purpose performance counter.", 200 "SampleAfterValue": "2000003", 201 "UMask": "0x1" 202 }, 203 { 204 "BriefDescription": "Reference cycles when core is not halted (Fixed event)", 205 "Counter": "Fixed counter 2", 206 "EventName": "CPU_CLK_UNHALTED.REF_TSC", 207 "PublicDescription": "Counts the number of reference cycles that the core is not in a halt state. The core enters the halt state when it is running the HLT instruction. In mobile systems the core frequency may change from time. This event is not affected by core frequency changes but counts as if the core is running at the maximum frequency all the time. This event uses fixed counter 2. You cannot collect a PEBs record for this event.", 208 "SampleAfterValue": "2000003", 209 "UMask": "0x3" 210 }, 211 { 212 "BriefDescription": "Cycles a divider is busy", 213 "CollectPEBSRecord": "1", 214 "Counter": "0,1,2,3", 215 "EventCode": "0xCD", 216 "EventName": "CYCLES_DIV_BUSY.ALL", 217 "PublicDescription": "Counts core cycles if either divide unit is busy.", 218 "SampleAfterValue": "2000003" 219 }, 220 { 221 "BriefDescription": "Cycles the integer divide unit is busy", 222 "CollectPEBSRecord": "1", 223 "Counter": "0,1,2,3", 224 "EventCode": "0xCD", 225 "EventName": "CYCLES_DIV_BUSY.IDIV", 226 "PublicDescription": "Counts core cycles the integer divide unit is busy.", 227 "SampleAfterValue": "200003", 228 "UMask": "0x1" 229 }, 230 { 231 "BriefDescription": "Instructions retired (Fixed event)", 232 "Counter": "Fixed counter 0", 233 "EventName": "INST_RETIRED.ANY", 234 "PublicDescription": "Counts the number of instructions that retire execution. For instructions that consist of multiple uops, this event counts the retirement of the last uop of the instruction. The counter continues counting during hardware interrupts, traps, and inside interrupt handlers. This event uses fixed counter 0. You cannot collect a PEBs record for this event.", 235 "SampleAfterValue": "2000003", 236 "UMask": "0x1" 237 }, 238 { 239 "BriefDescription": "Instructions retired (Precise event capable)", 240 "CollectPEBSRecord": "1", 241 "Counter": "0,1,2,3", 242 "EventCode": "0xC0", 243 "EventName": "INST_RETIRED.ANY_P", 244 "PEBS": "2", 245 "PublicDescription": "Counts the number of instructions that retire execution. For instructions that consist of multiple uops, this event counts the retirement of the last uop of the instruction. The event continues counting during hardware interrupts, traps, and inside interrupt handlers. This is an architectural performance event. This event uses a (_P)rogrammable general purpose performance counter. *This event is Precise Event capable: The EventingRIP field in the PEBS record is precise to the address of the instruction which caused the event. Note: Because PEBS records can be collected only on IA32_PMC0, only one event can use the PEBS facility at a time.", 246 "SampleAfterValue": "2000003" 247 }, 248 { 249 "BriefDescription": "Unfilled issue slots per cycle", 250 "CollectPEBSRecord": "1", 251 "Counter": "0,1,2,3", 252 "EventCode": "0xCA", 253 "EventName": "ISSUE_SLOTS_NOT_CONSUMED.ANY", 254 "PublicDescription": "Counts the number of issue slots per core cycle that were not consumed by the backend due to either a full resource in the backend (RESOURCE_FULL) or due to the processor recovering from some event (RECOVERY).", 255 "SampleAfterValue": "200003" 256 }, 257 { 258 "BriefDescription": "Unfilled issue slots per cycle to recover", 259 "CollectPEBSRecord": "1", 260 "Counter": "0,1,2,3", 261 "EventCode": "0xCA", 262 "EventName": "ISSUE_SLOTS_NOT_CONSUMED.RECOVERY", 263 "PublicDescription": "Counts the number of issue slots per core cycle that were not consumed by the backend because allocation is stalled waiting for a mispredicted jump to retire or other branch-like conditions (e.g. the event is relevant during certain microcode flows). Counts all issue slots blocked while within this window including slots where uops were not available in the Instruction Queue.", 264 "SampleAfterValue": "200003", 265 "UMask": "0x2" 266 }, 267 { 268 "BriefDescription": "Unfilled issue slots per cycle because of a full resource in the backend", 269 "CollectPEBSRecord": "1", 270 "Counter": "0,1,2,3", 271 "EventCode": "0xCA", 272 "EventName": "ISSUE_SLOTS_NOT_CONSUMED.RESOURCE_FULL", 273 "PublicDescription": "Counts the number of issue slots per core cycle that were not consumed because of a full resource in the backend. Including but not limited to resources such as the Re-order Buffer (ROB), reservation stations (RS), load/store buffers, physical registers, or any other needed machine resource that is currently unavailable. Note that uops must be available for consumption in order for this event to fire. If a uop is not available (Instruction Queue is empty), this event will not count.", 274 "SampleAfterValue": "200003", 275 "UMask": "0x1" 276 }, 277 { 278 "BriefDescription": "Loads blocked because address has 4k partial address false dependence (Precise event capable)", 279 "CollectPEBSRecord": "2", 280 "Counter": "0,1,2,3", 281 "EventCode": "0x03", 282 "EventName": "LD_BLOCKS.4K_ALIAS", 283 "PEBS": "2", 284 "PublicDescription": "Counts loads that block because their address modulo 4K matches a pending store.", 285 "SampleAfterValue": "200003", 286 "UMask": "0x4" 287 }, 288 { 289 "BriefDescription": "Loads blocked (Precise event capable)", 290 "CollectPEBSRecord": "2", 291 "Counter": "0,1,2,3", 292 "EventCode": "0x03", 293 "EventName": "LD_BLOCKS.ALL_BLOCK", 294 "PEBS": "2", 295 "PublicDescription": "Counts anytime a load that retires is blocked for any reason.", 296 "SampleAfterValue": "200003", 297 "UMask": "0x10" 298 }, 299 { 300 "BriefDescription": "Loads blocked due to store data not ready (Precise event capable)", 301 "CollectPEBSRecord": "2", 302 "Counter": "0,1,2,3", 303 "EventCode": "0x03", 304 "EventName": "LD_BLOCKS.DATA_UNKNOWN", 305 "PEBS": "2", 306 "PublicDescription": "Counts a load blocked from using a store forward, but did not occur because the store data was not available at the right time. The forward might occur subsequently when the data is available.", 307 "SampleAfterValue": "200003", 308 "UMask": "0x1" 309 }, 310 { 311 "BriefDescription": "Loads blocked due to store forward restriction (Precise event capable)", 312 "CollectPEBSRecord": "2", 313 "Counter": "0,1,2,3", 314 "EventCode": "0x03", 315 "EventName": "LD_BLOCKS.STORE_FORWARD", 316 "PEBS": "2", 317 "PublicDescription": "Counts a load blocked from using a store forward because of an address/size mismatch, only one of the loads blocked from each store will be counted.", 318 "SampleAfterValue": "200003", 319 "UMask": "0x2" 320 }, 321 { 322 "BriefDescription": "Loads blocked because address in not in the UTLB (Precise event capable)", 323 "CollectPEBSRecord": "2", 324 "Counter": "0,1,2,3", 325 "EventCode": "0x03", 326 "EventName": "LD_BLOCKS.UTLB_MISS", 327 "PEBS": "2", 328 "PublicDescription": "Counts loads blocked because they are unable to find their physical address in the micro TLB (UTLB).", 329 "SampleAfterValue": "200003", 330 "UMask": "0x8" 331 }, 332 { 333 "BriefDescription": "All machine clears", 334 "CollectPEBSRecord": "1", 335 "Counter": "0,1,2,3", 336 "EventCode": "0xC3", 337 "EventName": "MACHINE_CLEARS.ALL", 338 "PublicDescription": "Counts machine clears for any reason.", 339 "SampleAfterValue": "200003" 340 }, 341 { 342 "BriefDescription": "Machine clears due to memory disambiguation", 343 "CollectPEBSRecord": "1", 344 "Counter": "0,1,2,3", 345 "EventCode": "0xC3", 346 "EventName": "MACHINE_CLEARS.DISAMBIGUATION", 347 "PublicDescription": "Counts machine clears due to memory disambiguation. Memory disambiguation happens when a load which has been issued conflicts with a previous unretired store in the pipeline whose address was not known at issue time, but is later resolved to be the same as the load address.", 348 "SampleAfterValue": "200003", 349 "UMask": "0x8" 350 }, 351 { 352 "BriefDescription": "Self-Modifying Code detected", 353 "CollectPEBSRecord": "1", 354 "Counter": "0,1,2,3", 355 "EventCode": "0xC3", 356 "EventName": "MACHINE_CLEARS.SMC", 357 "PublicDescription": "Counts the number of times that the processor detects that a program is writing to a code section and has to perform a machine clear because of that modification. Self-modifying code (SMC) causes a severe penalty in all Intel architecture processors.", 358 "SampleAfterValue": "200003", 359 "UMask": "0x1" 360 }, 361 { 362 "BriefDescription": "Uops issued to the back end per cycle", 363 "CollectPEBSRecord": "1", 364 "Counter": "0,1,2,3", 365 "EventCode": "0x0E", 366 "EventName": "UOPS_ISSUED.ANY", 367 "PublicDescription": "Counts uops issued by the front end and allocated into the back end of the machine. This event counts uops that retire as well as uops that were speculatively executed but didn't retire. The sort of speculative uops that might be counted includes, but is not limited to those uops issued in the shadow of a miss-predicted branch, those uops that are inserted during an assist (such as for a denormal floating point result), and (previously allocated) uops that might be canceled during a machine clear.", 368 "SampleAfterValue": "200003" 369 }, 370 { 371 "BriefDescription": "Uops requested but not-delivered to the back-end per cycle", 372 "CollectPEBSRecord": "1", 373 "Counter": "0,1,2,3", 374 "EventCode": "0x9C", 375 "EventName": "UOPS_NOT_DELIVERED.ANY", 376 "PublicDescription": "This event used to measure front-end inefficiencies. I.e. when front-end of the machine is not delivering uops to the back-end and the back-end has is not stalled. This event can be used to identify if the machine is truly front-end bound. When this event occurs, it is an indication that the front-end of the machine is operating at less than its theoretical peak performance. Background: We can think of the processor pipeline as being divided into 2 broader parts: Front-end and Back-end. Front-end is responsible for fetching the instruction, decoding into uops in machine understandable format and putting them into a uop queue to be consumed by back end. The back-end then takes these uops, allocates the required resources. When all resources are ready, uops are executed. If the back-end is not ready to accept uops from the front-end, then we do not want to count these as front-end bottlenecks. However, whenever we have bottlenecks in the back-end, we will have allocation unit stalls and eventually forcing the front-end to wait until the back-end is ready to receive more uops. This event counts only when back-end is requesting more uops and front-end is not able to provide them. When 3 uops are requested and no uops are delivered, the event counts 3. When 3 are requested, and only 1 is delivered, the event counts 2. When only 2 are delivered, the event counts 1. Alternatively stated, the event will not count if 3 uops are delivered, or if the back end is stalled and not requesting any uops at all. Counts indicate missed opportunities for the front-end to deliver a uop to the back end. Some examples of conditions that cause front-end efficiencies are: ICache misses, ITLB misses, and decoder restrictions that limit the front-end bandwidth. Known Issues: Some uops require multiple allocation slots. These uops will not be charged as a front end 'not delivered' opportunity, and will be regarded as a back end problem. For example, the INC instruction has one uop that requires 2 issue slots. A stream of INC instructions will not count as UOPS_NOT_DELIVERED, even though only one instruction can be issued per clock. The low uop issue rate for a stream of INC instructions is considered to be a back end issue.", 377 "SampleAfterValue": "200003" 378 }, 379 { 380 "BriefDescription": "Uops retired (Precise event capable)", 381 "CollectPEBSRecord": "2", 382 "Counter": "0,1,2,3", 383 "EventCode": "0xC2", 384 "EventName": "UOPS_RETIRED.ANY", 385 "PEBS": "2", 386 "PublicDescription": "Counts uops which retired.", 387 "SampleAfterValue": "2000003" 388 }, 389 { 390 "BriefDescription": "Integer divide uops retired. (Precise Event Capable)", 391 "CollectPEBSRecord": "1", 392 "Counter": "0,1,2,3", 393 "EventCode": "0xC2", 394 "EventName": "UOPS_RETIRED.IDIV", 395 "PEBS": "2", 396 "PublicDescription": "Counts the number of integer divide uops retired.", 397 "SampleAfterValue": "2000003", 398 "UMask": "0x10" 399 }, 400 { 401 "BriefDescription": "MS uops retired (Precise event capable)", 402 "CollectPEBSRecord": "2", 403 "Counter": "0,1,2,3", 404 "EventCode": "0xC2", 405 "EventName": "UOPS_RETIRED.MS", 406 "PEBS": "2", 407 "PublicDescription": "Counts uops retired that are from the complex flows issued by the micro-sequencer (MS). Counts both the uops from a micro-coded instruction, and the uops that might be generated from a micro-coded assist.", 408 "SampleAfterValue": "2000003", 409 "UMask": "0x1" 410 } 411]