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