xref: /linux/tools/perf/pmu-events/arch/x86/tigerlake/pipeline.json (revision fdfc374af5dc345fbb9686921fa60176c1c41da0)
1[
2    {
3        "BriefDescription": "Cycles when divide unit is busy executing divide or square root operations.",
4        "CounterMask": "1",
5        "EventCode": "0x14",
6        "EventName": "ARITH.DIVIDER_ACTIVE",
7        "PublicDescription": "Counts cycles when divide unit is busy executing divide or square root operations. Accounts for integer and floating-point operations.",
8        "SampleAfterValue": "1000003",
9        "UMask": "0x9"
10    },
11    {
12        "BriefDescription": "Number of occurrences where a microcode assist is invoked by hardware.",
13        "EventCode": "0xc1",
14        "EventName": "ASSISTS.ANY",
15        "PublicDescription": "Counts the number of occurrences where a microcode assist is invoked by hardware Examples include AD (page Access Dirty), FP and AVX related assists.",
16        "SampleAfterValue": "100003",
17        "UMask": "0x7"
18    },
19    {
20        "BriefDescription": "All branch instructions retired.",
21        "EventCode": "0xc4",
22        "EventName": "BR_INST_RETIRED.ALL_BRANCHES",
23        "PEBS": "1",
24        "PublicDescription": "Counts all branch instructions retired.",
25        "SampleAfterValue": "400009"
26    },
27    {
28        "BriefDescription": "Conditional branch instructions retired.",
29        "EventCode": "0xc4",
30        "EventName": "BR_INST_RETIRED.COND",
31        "PEBS": "1",
32        "PublicDescription": "Counts conditional branch instructions retired.",
33        "SampleAfterValue": "400009",
34        "UMask": "0x11"
35    },
36    {
37        "BriefDescription": "Not taken branch instructions retired.",
38        "EventCode": "0xc4",
39        "EventName": "BR_INST_RETIRED.COND_NTAKEN",
40        "PEBS": "1",
41        "PublicDescription": "Counts not taken branch instructions retired.",
42        "SampleAfterValue": "400009",
43        "UMask": "0x10"
44    },
45    {
46        "BriefDescription": "Taken conditional branch instructions retired.",
47        "EventCode": "0xc4",
48        "EventName": "BR_INST_RETIRED.COND_TAKEN",
49        "PEBS": "1",
50        "PublicDescription": "Counts taken conditional branch instructions retired.",
51        "SampleAfterValue": "400009",
52        "UMask": "0x1"
53    },
54    {
55        "BriefDescription": "Far branch instructions retired.",
56        "EventCode": "0xc4",
57        "EventName": "BR_INST_RETIRED.FAR_BRANCH",
58        "PEBS": "1",
59        "PublicDescription": "Counts far branch instructions retired.",
60        "SampleAfterValue": "100007",
61        "UMask": "0x40"
62    },
63    {
64        "BriefDescription": "Indirect near branch instructions retired (excluding returns)",
65        "EventCode": "0xc4",
66        "EventName": "BR_INST_RETIRED.INDIRECT",
67        "PEBS": "1",
68        "PublicDescription": "Counts near indirect branch instructions retired excluding returns. TSX abort is an indirect branch.",
69        "SampleAfterValue": "100003",
70        "UMask": "0x80"
71    },
72    {
73        "BriefDescription": "Direct and indirect near call instructions retired.",
74        "EventCode": "0xc4",
75        "EventName": "BR_INST_RETIRED.NEAR_CALL",
76        "PEBS": "1",
77        "PublicDescription": "Counts both direct and indirect near call instructions retired.",
78        "SampleAfterValue": "100007",
79        "UMask": "0x2"
80    },
81    {
82        "BriefDescription": "Return instructions retired.",
83        "EventCode": "0xc4",
84        "EventName": "BR_INST_RETIRED.NEAR_RETURN",
85        "PEBS": "1",
86        "PublicDescription": "Counts return instructions retired.",
87        "SampleAfterValue": "100007",
88        "UMask": "0x8"
89    },
90    {
91        "BriefDescription": "Taken branch instructions retired.",
92        "EventCode": "0xc4",
93        "EventName": "BR_INST_RETIRED.NEAR_TAKEN",
94        "PEBS": "1",
95        "PublicDescription": "Counts taken branch instructions retired.",
96        "SampleAfterValue": "400009",
97        "UMask": "0x20"
98    },
99    {
100        "BriefDescription": "All mispredicted branch instructions retired.",
101        "EventCode": "0xc5",
102        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES",
103        "PEBS": "1",
104        "PublicDescription": "Counts all the retired branch instructions that were mispredicted by the processor. A branch misprediction occurs when the processor incorrectly predicts the destination of the branch.  When the misprediction is discovered at execution, all the instructions executed in the wrong (speculative) path must be discarded, and the processor must start fetching from the correct path.",
105        "SampleAfterValue": "50021"
106    },
107    {
108        "BriefDescription": "Mispredicted conditional branch instructions retired.",
109        "EventCode": "0xc5",
110        "EventName": "BR_MISP_RETIRED.COND",
111        "PEBS": "1",
112        "PublicDescription": "Counts mispredicted conditional branch instructions retired.",
113        "SampleAfterValue": "50021",
114        "UMask": "0x11"
115    },
116    {
117        "BriefDescription": "Mispredicted non-taken conditional branch instructions retired.",
118        "EventCode": "0xc5",
119        "EventName": "BR_MISP_RETIRED.COND_NTAKEN",
120        "PEBS": "1",
121        "PublicDescription": "Counts the number of conditional branch instructions retired that were mispredicted and the branch direction was not taken.",
122        "SampleAfterValue": "50021",
123        "UMask": "0x10"
124    },
125    {
126        "BriefDescription": "number of branch instructions retired that were mispredicted and taken.",
127        "EventCode": "0xc5",
128        "EventName": "BR_MISP_RETIRED.COND_TAKEN",
129        "PEBS": "1",
130        "PublicDescription": "Counts taken conditional mispredicted branch instructions retired.",
131        "SampleAfterValue": "50021",
132        "UMask": "0x1"
133    },
134    {
135        "BriefDescription": "All miss-predicted indirect branch instructions retired (excluding RETs. TSX aborts is considered indirect branch).",
136        "EventCode": "0xc5",
137        "EventName": "BR_MISP_RETIRED.INDIRECT",
138        "PEBS": "1",
139        "PublicDescription": "Counts all miss-predicted indirect branch instructions retired (excluding RETs. TSX aborts is considered indirect branch).",
140        "SampleAfterValue": "50021",
141        "UMask": "0x80"
142    },
143    {
144        "BriefDescription": "Mispredicted indirect CALL instructions retired.",
145        "EventCode": "0xc5",
146        "EventName": "BR_MISP_RETIRED.INDIRECT_CALL",
147        "PEBS": "1",
148        "PublicDescription": "Counts retired mispredicted indirect (near taken) CALL instructions, including both register and memory indirect.",
149        "SampleAfterValue": "50021",
150        "UMask": "0x2"
151    },
152    {
153        "BriefDescription": "Number of near branch instructions retired that were mispredicted and taken.",
154        "EventCode": "0xc5",
155        "EventName": "BR_MISP_RETIRED.NEAR_TAKEN",
156        "PEBS": "1",
157        "PublicDescription": "Counts number of near branch instructions retired that were mispredicted and taken.",
158        "SampleAfterValue": "50021",
159        "UMask": "0x20"
160    },
161    {
162        "BriefDescription": "This event counts the number of mispredicted ret instructions retired. Non PEBS",
163        "EventCode": "0xc5",
164        "EventName": "BR_MISP_RETIRED.RET",
165        "PEBS": "1",
166        "PublicDescription": "This is a non-precise version (that is, does not use PEBS) of the event that counts mispredicted return instructions retired.",
167        "SampleAfterValue": "50021",
168        "UMask": "0x8"
169    },
170    {
171        "BriefDescription": "Cycle counts are evenly distributed between active threads in the Core.",
172        "EventCode": "0xec",
173        "EventName": "CPU_CLK_UNHALTED.DISTRIBUTED",
174        "PublicDescription": "This event distributes cycle counts between active hyperthreads, i.e., those in C0.  A hyperthread becomes inactive when it executes the HLT or MWAIT instructions.  If all other hyperthreads are inactive (or disabled or do not exist), all counts are attributed to this hyperthread. To obtain the full count when the Core is active, sum the counts from each hyperthread.",
175        "SampleAfterValue": "2000003",
176        "UMask": "0x2"
177    },
178    {
179        "BriefDescription": "Core crystal clock cycles when this thread is unhalted and the other thread is halted.",
180        "EventCode": "0x3c",
181        "EventName": "CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE",
182        "PublicDescription": "Counts Core crystal clock cycles when current thread is unhalted and the other thread is halted.",
183        "SampleAfterValue": "25003",
184        "UMask": "0x2"
185    },
186    {
187        "BriefDescription": "Core crystal clock cycles. Cycle counts are evenly distributed between active threads in the Core.",
188        "EventCode": "0x3c",
189        "EventName": "CPU_CLK_UNHALTED.REF_DISTRIBUTED",
190        "PublicDescription": "This event distributes Core crystal clock cycle counts between active hyperthreads, i.e., those in C0 sleep-state. A hyperthread becomes inactive when it executes the HLT or MWAIT instructions. If one thread is active in a core, all counts are attributed to this hyperthread. To obtain the full count when the Core is active, sum the counts from each hyperthread.",
191        "SampleAfterValue": "2000003",
192        "UMask": "0x8"
193    },
194    {
195        "BriefDescription": "Reference cycles when the core is not in halt state.",
196        "EventName": "CPU_CLK_UNHALTED.REF_TSC",
197        "PublicDescription": "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. This event has a constant ratio with the CPU_CLK_UNHALTED.REF_XCLK event. It is counted on a dedicated fixed counter, leaving the eight programmable counters available for other events. Note: On all current platforms this event stops counting during 'throttling (TM)' states duty off periods the processor is 'halted'.  The counter update is done at a lower clock rate then the core clock the overflow status bit for this counter may appear 'sticky'.  After the counter has overflowed and software clears the overflow status bit and resets the counter to less than MAX. The reset value to the counter is not clocked immediately so the overflow status bit will flip 'high (1)' and generate another PMI (if enabled) after which the reset value gets clocked into the counter. Therefore, software will get the interrupt, read the overflow status bit '1 for bit 34 while the counter value is less than MAX. Software should ignore this case.",
198        "SampleAfterValue": "2000003",
199        "UMask": "0x3"
200    },
201    {
202        "BriefDescription": "Core crystal clock cycles when the thread is unhalted.",
203        "EventCode": "0x3c",
204        "EventName": "CPU_CLK_UNHALTED.REF_XCLK",
205        "PublicDescription": "Counts core crystal clock cycles when the thread is unhalted.",
206        "SampleAfterValue": "25003",
207        "UMask": "0x1"
208    },
209    {
210        "BriefDescription": "Core cycles when the thread is not in halt state",
211        "EventName": "CPU_CLK_UNHALTED.THREAD",
212        "PublicDescription": "Counts the number of core cycles while the thread is not in a halt state. The thread enters the halt state when it is running the HLT instruction. This event is a component in many key event ratios. The core frequency may change from time to time due to transitions associated with Enhanced Intel SpeedStep Technology or TM2. For this reason this event may have a changing ratio with regards to time. When the core frequency is constant, this event can approximate elapsed time while the core was not in the halt state. It is counted on a dedicated fixed counter, leaving the eight programmable counters available for other events.",
213        "SampleAfterValue": "2000003",
214        "UMask": "0x2"
215    },
216    {
217        "BriefDescription": "Thread cycles when thread is not in halt state",
218        "EventCode": "0x3c",
219        "EventName": "CPU_CLK_UNHALTED.THREAD_P",
220        "PublicDescription": "This is an architectural event that 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. For this reason, this event may have a changing ratio with regards to wall clock time.",
221        "SampleAfterValue": "2000003"
222    },
223    {
224        "BriefDescription": "Cycles while L1 cache miss demand load is outstanding.",
225        "CounterMask": "8",
226        "EventCode": "0xa3",
227        "EventName": "CYCLE_ACTIVITY.CYCLES_L1D_MISS",
228        "SampleAfterValue": "1000003",
229        "UMask": "0x8"
230    },
231    {
232        "BriefDescription": "Cycles while L2 cache miss demand load is outstanding.",
233        "CounterMask": "1",
234        "EventCode": "0xa3",
235        "EventName": "CYCLE_ACTIVITY.CYCLES_L2_MISS",
236        "SampleAfterValue": "1000003",
237        "UMask": "0x1"
238    },
239    {
240        "BriefDescription": "Cycles while memory subsystem has an outstanding load.",
241        "CounterMask": "16",
242        "EventCode": "0xa3",
243        "EventName": "CYCLE_ACTIVITY.CYCLES_MEM_ANY",
244        "SampleAfterValue": "1000003",
245        "UMask": "0x10"
246    },
247    {
248        "BriefDescription": "Execution stalls while L1 cache miss demand load is outstanding.",
249        "CounterMask": "12",
250        "EventCode": "0xa3",
251        "EventName": "CYCLE_ACTIVITY.STALLS_L1D_MISS",
252        "SampleAfterValue": "1000003",
253        "UMask": "0xc"
254    },
255    {
256        "BriefDescription": "Execution stalls while L2 cache miss demand load is outstanding.",
257        "CounterMask": "5",
258        "EventCode": "0xa3",
259        "EventName": "CYCLE_ACTIVITY.STALLS_L2_MISS",
260        "SampleAfterValue": "1000003",
261        "UMask": "0x5"
262    },
263    {
264        "BriefDescription": "Execution stalls while memory subsystem has an outstanding load.",
265        "CounterMask": "20",
266        "EventCode": "0xa3",
267        "EventName": "CYCLE_ACTIVITY.STALLS_MEM_ANY",
268        "SampleAfterValue": "1000003",
269        "UMask": "0x14"
270    },
271    {
272        "BriefDescription": "Total execution stalls.",
273        "CounterMask": "4",
274        "EventCode": "0xa3",
275        "EventName": "CYCLE_ACTIVITY.STALLS_TOTAL",
276        "SampleAfterValue": "1000003",
277        "UMask": "0x4"
278    },
279    {
280        "BriefDescription": "Cycles total of 1 uop is executed on all ports and Reservation Station was not empty.",
281        "EventCode": "0xa6",
282        "EventName": "EXE_ACTIVITY.1_PORTS_UTIL",
283        "PublicDescription": "Counts cycles during which a total of 1 uop was executed on all ports and Reservation Station (RS) was not empty.",
284        "SampleAfterValue": "2000003",
285        "UMask": "0x2"
286    },
287    {
288        "BriefDescription": "Cycles total of 2 uops are executed on all ports and Reservation Station was not empty.",
289        "EventCode": "0xa6",
290        "EventName": "EXE_ACTIVITY.2_PORTS_UTIL",
291        "PublicDescription": "Counts cycles during which a total of 2 uops were executed on all ports and Reservation Station (RS) was not empty.",
292        "SampleAfterValue": "2000003",
293        "UMask": "0x4"
294    },
295    {
296        "BriefDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station was not empty.",
297        "EventCode": "0xa6",
298        "EventName": "EXE_ACTIVITY.3_PORTS_UTIL",
299        "PublicDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station (RS) was not empty.",
300        "SampleAfterValue": "2000003",
301        "UMask": "0x8"
302    },
303    {
304        "BriefDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station was not empty.",
305        "EventCode": "0xa6",
306        "EventName": "EXE_ACTIVITY.4_PORTS_UTIL",
307        "PublicDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station (RS) was not empty.",
308        "SampleAfterValue": "2000003",
309        "UMask": "0x10"
310    },
311    {
312        "BriefDescription": "Cycles when the memory subsystem has an outstanding load. Increments by 4 for every such cycle.",
313        "CounterMask": "5",
314        "EventCode": "0xa6",
315        "EventName": "EXE_ACTIVITY.BOUND_ON_LOADS",
316        "PublicDescription": "Counts cycles when the memory subsystem has an outstanding load. Increments by 4 for every such cycle.",
317        "SampleAfterValue": "2000003",
318        "UMask": "0x21"
319    },
320    {
321        "BriefDescription": "Cycles where the Store Buffer was full and no loads caused an execution stall.",
322        "CounterMask": "2",
323        "EventCode": "0xa6",
324        "EventName": "EXE_ACTIVITY.BOUND_ON_STORES",
325        "PublicDescription": "Counts cycles where the Store Buffer was full and no loads caused an execution stall.",
326        "SampleAfterValue": "1000003",
327        "UMask": "0x40"
328    },
329    {
330        "BriefDescription": "Cycles no uop executed while RS was not empty, the SB was not full and there was no outstanding load.",
331        "EventCode": "0xa6",
332        "EventName": "EXE_ACTIVITY.EXE_BOUND_0_PORTS",
333        "PublicDescription": "Number of cycles total of 0 uops executed on all ports, Reservation Station (RS) was not empty, the Store Buffer (SB) was not full and there was no outstanding load.",
334        "SampleAfterValue": "1000003",
335        "UMask": "0x80"
336    },
337    {
338        "BriefDescription": "Stalls caused by changing prefix length of the instruction. [This event is alias to DECODE.LCP]",
339        "EventCode": "0x87",
340        "EventName": "ILD_STALL.LCP",
341        "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. [This event is alias to DECODE.LCP]",
342        "SampleAfterValue": "500009",
343        "UMask": "0x1"
344    },
345    {
346        "BriefDescription": "Instruction decoders utilized in a cycle",
347        "EventCode": "0x55",
348        "EventName": "INST_DECODED.DECODERS",
349        "PublicDescription": "Number of decoders utilized in a cycle when the MITE (legacy decode pipeline) fetches instructions.",
350        "SampleAfterValue": "2000003",
351        "UMask": "0x1"
352    },
353    {
354        "BriefDescription": "Number of instructions retired. Fixed Counter - architectural event",
355        "EventName": "INST_RETIRED.ANY",
356        "PEBS": "1",
357        "PublicDescription": "Counts the number of X86 instructions retired - an Architectural PerfMon event. Counting continues during hardware interrupts, traps, and inside interrupt handlers. Notes: INST_RETIRED.ANY is counted by a designated fixed counter freeing up programmable counters to count other events. INST_RETIRED.ANY_P is counted by a programmable counter.",
358        "SampleAfterValue": "2000003",
359        "UMask": "0x1"
360    },
361    {
362        "BriefDescription": "Number of instructions retired. General Counter - architectural event",
363        "EventCode": "0xc0",
364        "EventName": "INST_RETIRED.ANY_P",
365        "PEBS": "1",
366        "PublicDescription": "Counts the number of X86 instructions retired - an Architectural PerfMon event. Counting continues during hardware interrupts, traps, and inside interrupt handlers. Notes: INST_RETIRED.ANY is counted by a designated fixed counter freeing up programmable counters to count other events. INST_RETIRED.ANY_P is counted by a programmable counter.",
367        "SampleAfterValue": "2000003"
368    },
369    {
370        "BriefDescription": "Retired NOP instructions.",
371        "EventCode": "0xc0",
372        "EventName": "INST_RETIRED.NOP",
373        "PEBS": "1",
374        "PublicDescription": "Counts all retired NOP or ENDBR32/64 instructions",
375        "SampleAfterValue": "2000003",
376        "UMask": "0x2"
377    },
378    {
379        "BriefDescription": "Precise instruction retired event with a reduced effect of PEBS shadow in IP distribution",
380        "EventName": "INST_RETIRED.PREC_DIST",
381        "PEBS": "1",
382        "PublicDescription": "A version of INST_RETIRED that allows for a more unbiased distribution of samples across instructions retired. It utilizes the Precise Distribution of Instructions Retired (PDIR) feature to mitigate some bias in how retired instructions get sampled. Use on Fixed Counter 0.",
383        "SampleAfterValue": "2000003",
384        "UMask": "0x1"
385    },
386    {
387        "BriefDescription": "Cycles the Backend cluster is recovering after a miss-speculation or a Store Buffer or Load Buffer drain stall.",
388        "CounterMask": "1",
389        "EventCode": "0x0d",
390        "EventName": "INT_MISC.ALL_RECOVERY_CYCLES",
391        "PublicDescription": "Counts cycles the Backend cluster is recovering after a miss-speculation or a Store Buffer or Load Buffer drain stall.",
392        "SampleAfterValue": "2000003",
393        "UMask": "0x3"
394    },
395    {
396        "BriefDescription": "Clears speculative count",
397        "CounterMask": "1",
398        "EdgeDetect": "1",
399        "EventCode": "0x0d",
400        "EventName": "INT_MISC.CLEARS_COUNT",
401        "PublicDescription": "Counts the number of speculative clears due to any type of branch misprediction or machine clears",
402        "SampleAfterValue": "500009",
403        "UMask": "0x1"
404    },
405    {
406        "BriefDescription": "Counts cycles after recovery from a branch misprediction or machine clear till the first uop is issued from the resteered path.",
407        "EventCode": "0x0d",
408        "EventName": "INT_MISC.CLEAR_RESTEER_CYCLES",
409        "PublicDescription": "Cycles after recovery from a branch misprediction or machine clear till the first uop is issued from the resteered path.",
410        "SampleAfterValue": "500009",
411        "UMask": "0x80"
412    },
413    {
414        "BriefDescription": "Core cycles the allocator was stalled due to recovery from earlier clear event for this thread",
415        "EventCode": "0x0d",
416        "EventName": "INT_MISC.RECOVERY_CYCLES",
417        "PublicDescription": "Counts core cycles when the Resource allocator was stalled due to recovery from an earlier branch misprediction or machine clear event.",
418        "SampleAfterValue": "500009",
419        "UMask": "0x1"
420    },
421    {
422        "BriefDescription": "TMA slots where uops got dropped",
423        "EventCode": "0x0d",
424        "EventName": "INT_MISC.UOP_DROPPING",
425        "PublicDescription": "Estimated number of Top-down Microarchitecture Analysis slots that got dropped due to non front-end reasons",
426        "SampleAfterValue": "1000003",
427        "UMask": "0x10"
428    },
429    {
430        "BriefDescription": "The number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.",
431        "EventCode": "0x03",
432        "EventName": "LD_BLOCKS.NO_SR",
433        "PublicDescription": "Counts the number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.",
434        "SampleAfterValue": "100003",
435        "UMask": "0x8"
436    },
437    {
438        "BriefDescription": "Loads blocked due to overlapping with a preceding store that cannot be forwarded.",
439        "EventCode": "0x03",
440        "EventName": "LD_BLOCKS.STORE_FORWARD",
441        "PublicDescription": "Counts the number of times where store forwarding was prevented for a load operation. The most common case is a load blocked due to the address of memory access (partially) overlapping with a preceding uncompleted store. Note: See the table of not supported store forwards in the Optimization Guide.",
442        "SampleAfterValue": "100003",
443        "UMask": "0x2"
444    },
445    {
446        "BriefDescription": "False dependencies in MOB due to partial compare on address.",
447        "EventCode": "0x07",
448        "EventName": "LD_BLOCKS_PARTIAL.ADDRESS_ALIAS",
449        "PublicDescription": "Counts the number of times a load got blocked due to false dependencies in MOB due to partial compare on address.",
450        "SampleAfterValue": "100003",
451        "UMask": "0x1"
452    },
453    {
454        "BriefDescription": "Counts the number of demand load dispatches that hit L1D fill buffer (FB) allocated for software prefetch.",
455        "EventCode": "0x4c",
456        "EventName": "LOAD_HIT_PREFETCH.SWPF",
457        "PublicDescription": "Counts all not software-prefetch load dispatches that hit the fill buffer (FB) allocated for the software prefetch. It can also be incremented by some lock instructions. So it should only be used with profiling so that the locks can be excluded by ASM (Assembly File) inspection of the nearby instructions.",
458        "SampleAfterValue": "100003",
459        "UMask": "0x1"
460    },
461    {
462        "BriefDescription": "Cycles Uops delivered by the LSD, but didn't come from the decoder.",
463        "CounterMask": "1",
464        "EventCode": "0xa8",
465        "EventName": "LSD.CYCLES_ACTIVE",
466        "PublicDescription": "Counts the cycles when at least one uop is delivered by the LSD (Loop-stream detector).",
467        "SampleAfterValue": "2000003",
468        "UMask": "0x1"
469    },
470    {
471        "BriefDescription": "Cycles optimal number of Uops delivered by the LSD, but did not come from the decoder.",
472        "CounterMask": "5",
473        "EventCode": "0xa8",
474        "EventName": "LSD.CYCLES_OK",
475        "PublicDescription": "Counts the cycles when optimal number of uops is delivered by the LSD (Loop-stream detector).",
476        "SampleAfterValue": "2000003",
477        "UMask": "0x1"
478    },
479    {
480        "BriefDescription": "Number of Uops delivered by the LSD.",
481        "EventCode": "0xa8",
482        "EventName": "LSD.UOPS",
483        "PublicDescription": "Counts the number of uops delivered to the back-end by the LSD(Loop Stream Detector).",
484        "SampleAfterValue": "2000003",
485        "UMask": "0x1"
486    },
487    {
488        "BriefDescription": "Number of machine clears (nukes) of any type.",
489        "CounterMask": "1",
490        "EdgeDetect": "1",
491        "EventCode": "0xc3",
492        "EventName": "MACHINE_CLEARS.COUNT",
493        "PublicDescription": "Counts the number of machine clears (nukes) of any type.",
494        "SampleAfterValue": "100003",
495        "UMask": "0x1"
496    },
497    {
498        "BriefDescription": "Self-modifying code (SMC) detected.",
499        "EventCode": "0xc3",
500        "EventName": "MACHINE_CLEARS.SMC",
501        "PublicDescription": "Counts self-modifying code (SMC) detected, which causes a machine clear.",
502        "SampleAfterValue": "100003",
503        "UMask": "0x4"
504    },
505    {
506        "BriefDescription": "Increments whenever there is an update to the LBR array.",
507        "EventCode": "0xcc",
508        "EventName": "MISC_RETIRED.LBR_INSERTS",
509        "PublicDescription": "Increments when an entry is added to the Last Branch Record (LBR) array (or removed from the array in case of RETURNs in call stack mode). The event requires LBR enable via IA32_DEBUGCTL MSR and branch type selection via MSR_LBR_SELECT.",
510        "SampleAfterValue": "100003",
511        "UMask": "0x20"
512    },
513    {
514        "BriefDescription": "Number of retired PAUSE instructions. This event is not supported on first SKL and KBL products.",
515        "EventCode": "0xcc",
516        "EventName": "MISC_RETIRED.PAUSE_INST",
517        "PublicDescription": "Counts number of retired PAUSE instructions. This event is not supported on first SKL and KBL products.",
518        "SampleAfterValue": "100003",
519        "UMask": "0x40"
520    },
521    {
522        "BriefDescription": "Cycles stalled due to no store buffers available. (not including draining form sync).",
523        "EventCode": "0xa2",
524        "EventName": "RESOURCE_STALLS.SB",
525        "PublicDescription": "Counts allocation stall cycles caused by the store buffer (SB) being full. This counts cycles that the pipeline back-end blocked uop delivery from the front-end.",
526        "SampleAfterValue": "100003",
527        "UMask": "0x8"
528    },
529    {
530        "BriefDescription": "Counts cycles where the pipeline is stalled due to serializing operations.",
531        "EventCode": "0xa2",
532        "EventName": "RESOURCE_STALLS.SCOREBOARD",
533        "SampleAfterValue": "100003",
534        "UMask": "0x2"
535    },
536    {
537        "BriefDescription": "Cycles when Reservation Station (RS) is empty for the thread",
538        "EventCode": "0x5e",
539        "EventName": "RS_EVENTS.EMPTY_CYCLES",
540        "PublicDescription": "Counts cycles during which the reservation station (RS) is empty for this logical processor. This is usually caused when the front-end pipeline runs into stravation periods (e.g. branch mispredictions or i-cache misses)",
541        "SampleAfterValue": "1000003",
542        "UMask": "0x1"
543    },
544    {
545        "BriefDescription": "Counts end of periods where the Reservation Station (RS) was empty.",
546        "CounterMask": "1",
547        "EdgeDetect": "1",
548        "EventCode": "0x5e",
549        "EventName": "RS_EVENTS.EMPTY_END",
550        "Invert": "1",
551        "PublicDescription": "Counts end of periods where the Reservation Station (RS) was empty. Could be useful to closely sample on front-end latency issues (see the FRONTEND_RETIRED event of designated precise events)",
552        "SampleAfterValue": "100003",
553        "UMask": "0x1"
554    },
555    {
556        "BriefDescription": "TMA slots where no uops were being issued due to lack of back-end resources.",
557        "EventCode": "0xa4",
558        "EventName": "TOPDOWN.BACKEND_BOUND_SLOTS",
559        "PublicDescription": "Counts the number of Top-down Microarchitecture Analysis (TMA) method's  slots where no micro-operations were being issued from front-end to back-end of the machine due to lack of back-end resources.",
560        "SampleAfterValue": "10000003",
561        "UMask": "0x2"
562    },
563    {
564        "BriefDescription": "TMA slots wasted due to incorrect speculation by branch mispredictions",
565        "EventCode": "0xa4",
566        "EventName": "TOPDOWN.BR_MISPREDICT_SLOTS",
567        "PublicDescription": "Number of TMA slots that were wasted due to incorrect speculation by branch mispredictions. This event estimates number of operations that were issued but not retired from the speculative path as well as the out-of-order engine recovery past a branch misprediction.",
568        "SampleAfterValue": "10000003",
569        "UMask": "0x8"
570    },
571    {
572        "BriefDescription": "TMA slots available for an unhalted logical processor. Fixed counter - architectural event",
573        "EventName": "TOPDOWN.SLOTS",
574        "PublicDescription": "Number of available slots for an unhalted logical processor. The event increments by machine-width of the narrowest pipeline as employed by the Top-down Microarchitecture Analysis method (TMA). The count is distributed among unhalted logical processors (hyper-threads) who share the same physical core. Software can use this event as the denominator for the top-level metrics of the TMA method. This architectural event is counted on a designated fixed counter (Fixed Counter 3).",
575        "SampleAfterValue": "10000003",
576        "UMask": "0x4"
577    },
578    {
579        "BriefDescription": "TMA slots available for an unhalted logical processor. General counter - architectural event",
580        "EventCode": "0xa4",
581        "EventName": "TOPDOWN.SLOTS_P",
582        "PublicDescription": "Counts the number of available slots for an unhalted logical processor. The event increments by machine-width of the narrowest pipeline as employed by the Top-down Microarchitecture Analysis method. The count is distributed among unhalted logical processors (hyper-threads) who share the same physical core.",
583        "SampleAfterValue": "10000003",
584        "UMask": "0x1"
585    },
586    {
587        "BriefDescription": "Number of uops decoded out of instructions exclusively fetched by decoder 0",
588        "EventCode": "0x56",
589        "EventName": "UOPS_DECODED.DEC0",
590        "PublicDescription": "Uops exclusively fetched by decoder 0",
591        "SampleAfterValue": "1000003",
592        "UMask": "0x1"
593    },
594    {
595        "BriefDescription": "Number of uops executed on port 0",
596        "EventCode": "0xa1",
597        "EventName": "UOPS_DISPATCHED.PORT_0",
598        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 0.",
599        "SampleAfterValue": "2000003",
600        "UMask": "0x1"
601    },
602    {
603        "BriefDescription": "Number of uops executed on port 1",
604        "EventCode": "0xa1",
605        "EventName": "UOPS_DISPATCHED.PORT_1",
606        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 1.",
607        "SampleAfterValue": "2000003",
608        "UMask": "0x2"
609    },
610    {
611        "BriefDescription": "Number of uops executed on port 2 and 3",
612        "EventCode": "0xa1",
613        "EventName": "UOPS_DISPATCHED.PORT_2_3",
614        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to ports 2 and 3.",
615        "SampleAfterValue": "2000003",
616        "UMask": "0x4"
617    },
618    {
619        "BriefDescription": "Number of uops executed on port 4 and 9",
620        "EventCode": "0xa1",
621        "EventName": "UOPS_DISPATCHED.PORT_4_9",
622        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to ports 5 and 9.",
623        "SampleAfterValue": "2000003",
624        "UMask": "0x10"
625    },
626    {
627        "BriefDescription": "Number of uops executed on port 5",
628        "EventCode": "0xa1",
629        "EventName": "UOPS_DISPATCHED.PORT_5",
630        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 5.",
631        "SampleAfterValue": "2000003",
632        "UMask": "0x20"
633    },
634    {
635        "BriefDescription": "Number of uops executed on port 6",
636        "EventCode": "0xa1",
637        "EventName": "UOPS_DISPATCHED.PORT_6",
638        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 6.",
639        "SampleAfterValue": "2000003",
640        "UMask": "0x40"
641    },
642    {
643        "BriefDescription": "Number of uops executed on port 7 and 8",
644        "EventCode": "0xa1",
645        "EventName": "UOPS_DISPATCHED.PORT_7_8",
646        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to ports 7 and 8.",
647        "SampleAfterValue": "2000003",
648        "UMask": "0x80"
649    },
650    {
651        "BriefDescription": "Number of uops executed on the core.",
652        "EventCode": "0xb1",
653        "EventName": "UOPS_EXECUTED.CORE",
654        "PublicDescription": "Counts the number of uops executed from any thread.",
655        "SampleAfterValue": "2000003",
656        "UMask": "0x2"
657    },
658    {
659        "BriefDescription": "Cycles at least 1 micro-op is executed from any thread on physical core.",
660        "CounterMask": "1",
661        "EventCode": "0xb1",
662        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_1",
663        "PublicDescription": "Counts cycles when at least 1 micro-op is executed from any thread on physical core.",
664        "SampleAfterValue": "2000003",
665        "UMask": "0x2"
666    },
667    {
668        "BriefDescription": "Cycles at least 2 micro-op is executed from any thread on physical core.",
669        "CounterMask": "2",
670        "EventCode": "0xb1",
671        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_2",
672        "PublicDescription": "Counts cycles when at least 2 micro-ops are executed from any thread on physical core.",
673        "SampleAfterValue": "2000003",
674        "UMask": "0x2"
675    },
676    {
677        "BriefDescription": "Cycles at least 3 micro-op is executed from any thread on physical core.",
678        "CounterMask": "3",
679        "EventCode": "0xb1",
680        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_3",
681        "PublicDescription": "Counts cycles when at least 3 micro-ops are executed from any thread on physical core.",
682        "SampleAfterValue": "2000003",
683        "UMask": "0x2"
684    },
685    {
686        "BriefDescription": "Cycles at least 4 micro-op is executed from any thread on physical core.",
687        "CounterMask": "4",
688        "EventCode": "0xb1",
689        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_4",
690        "PublicDescription": "Counts cycles when at least 4 micro-ops are executed from any thread on physical core.",
691        "SampleAfterValue": "2000003",
692        "UMask": "0x2"
693    },
694    {
695        "BriefDescription": "Cycles where at least 1 uop was executed per-thread",
696        "CounterMask": "1",
697        "EventCode": "0xb1",
698        "EventName": "UOPS_EXECUTED.CYCLES_GE_1",
699        "PublicDescription": "Cycles where at least 1 uop was executed per-thread.",
700        "SampleAfterValue": "2000003",
701        "UMask": "0x1"
702    },
703    {
704        "BriefDescription": "Cycles where at least 2 uops were executed per-thread",
705        "CounterMask": "2",
706        "EventCode": "0xb1",
707        "EventName": "UOPS_EXECUTED.CYCLES_GE_2",
708        "PublicDescription": "Cycles where at least 2 uops were executed per-thread.",
709        "SampleAfterValue": "2000003",
710        "UMask": "0x1"
711    },
712    {
713        "BriefDescription": "Cycles where at least 3 uops were executed per-thread",
714        "CounterMask": "3",
715        "EventCode": "0xb1",
716        "EventName": "UOPS_EXECUTED.CYCLES_GE_3",
717        "PublicDescription": "Cycles where at least 3 uops were executed per-thread.",
718        "SampleAfterValue": "2000003",
719        "UMask": "0x1"
720    },
721    {
722        "BriefDescription": "Cycles where at least 4 uops were executed per-thread",
723        "CounterMask": "4",
724        "EventCode": "0xb1",
725        "EventName": "UOPS_EXECUTED.CYCLES_GE_4",
726        "PublicDescription": "Cycles where at least 4 uops were executed per-thread.",
727        "SampleAfterValue": "2000003",
728        "UMask": "0x1"
729    },
730    {
731        "BriefDescription": "Counts number of cycles no uops were dispatched to be executed on this thread.",
732        "CounterMask": "1",
733        "EventCode": "0xb1",
734        "EventName": "UOPS_EXECUTED.STALL_CYCLES",
735        "Invert": "1",
736        "PublicDescription": "Counts cycles during which no uops were dispatched from the Reservation Station (RS) per thread.",
737        "SampleAfterValue": "2000003",
738        "UMask": "0x1"
739    },
740    {
741        "BriefDescription": "Counts the number of uops to be executed per-thread each cycle.",
742        "EventCode": "0xb1",
743        "EventName": "UOPS_EXECUTED.THREAD",
744        "SampleAfterValue": "2000003",
745        "UMask": "0x1"
746    },
747    {
748        "BriefDescription": "Counts the number of x87 uops dispatched.",
749        "EventCode": "0xb1",
750        "EventName": "UOPS_EXECUTED.X87",
751        "PublicDescription": "Counts the number of x87 uops executed.",
752        "SampleAfterValue": "2000003",
753        "UMask": "0x10"
754    },
755    {
756        "BriefDescription": "Uops that RAT issues to RS",
757        "EventCode": "0x0e",
758        "EventName": "UOPS_ISSUED.ANY",
759        "PublicDescription": "Counts the number of uops that the Resource Allocation Table (RAT) issues to the Reservation Station (RS).",
760        "SampleAfterValue": "2000003",
761        "UMask": "0x1"
762    },
763    {
764        "BriefDescription": "Cycles when RAT does not issue Uops to RS for the thread",
765        "CounterMask": "1",
766        "EventCode": "0x0e",
767        "EventName": "UOPS_ISSUED.STALL_CYCLES",
768        "Invert": "1",
769        "PublicDescription": "Counts cycles during which the Resource Allocation Table (RAT) does not issue any Uops to the reservation station (RS) for the current thread.",
770        "SampleAfterValue": "1000003",
771        "UMask": "0x1"
772    },
773    {
774        "BriefDescription": "Uops inserted at issue-stage in order to preserve upper bits of vector registers.",
775        "EventCode": "0x0e",
776        "EventName": "UOPS_ISSUED.VECTOR_WIDTH_MISMATCH",
777        "PublicDescription": "Counts the number of Blend Uops issued by the Resource Allocation Table (RAT) to the reservation station (RS) in order to preserve upper bits of vector registers. Starting with the Skylake microarchitecture, these Blend uops are needed since every Intel SSE instruction executed in Dirty Upper State needs to preserve bits 128-255 of the destination register. For more information, refer to Mixing Intel AVX and Intel SSE Code section of the Optimization Guide.",
778        "SampleAfterValue": "100003",
779        "UMask": "0x2"
780    },
781    {
782        "BriefDescription": "Retirement slots used.",
783        "EventCode": "0xc2",
784        "EventName": "UOPS_RETIRED.SLOTS",
785        "PublicDescription": "Counts the retirement slots used each cycle.",
786        "SampleAfterValue": "2000003",
787        "UMask": "0x2"
788    },
789    {
790        "BriefDescription": "Cycles without actually retired uops.",
791        "CounterMask": "1",
792        "EventCode": "0xc2",
793        "EventName": "UOPS_RETIRED.STALL_CYCLES",
794        "Invert": "1",
795        "PublicDescription": "This event counts cycles without actually retired uops.",
796        "SampleAfterValue": "1000003",
797        "UMask": "0x2"
798    },
799    {
800        "BriefDescription": "Cycles with less than 10 actually retired uops.",
801        "CounterMask": "10",
802        "EventCode": "0xc2",
803        "EventName": "UOPS_RETIRED.TOTAL_CYCLES",
804        "Invert": "1",
805        "PublicDescription": "Counts the number of cycles using always true condition (uops_ret < 16) applied to non PEBS uops retired event.",
806        "SampleAfterValue": "1000003",
807        "UMask": "0x2"
808    }
809]
810