1[
2    {
3        "BriefDescription": "AMX_OPS_RETIRED.BF16",
4        "EventCode": "0xce",
5        "EventName": "AMX_OPS_RETIRED.BF16",
6        "SampleAfterValue": "1000003",
7        "UMask": "0x2"
8    },
9    {
10        "BriefDescription": "AMX_OPS_RETIRED.INT8",
11        "EventCode": "0xce",
12        "EventName": "AMX_OPS_RETIRED.INT8",
13        "SampleAfterValue": "1000003",
14        "UMask": "0x1"
15    },
16    {
17        "BriefDescription": "This event is deprecated. Refer to new event ARITH.DIV_ACTIVE",
18        "CounterMask": "1",
19        "Deprecated": "1",
20        "EventCode": "0xb0",
21        "EventName": "ARITH.DIVIDER_ACTIVE",
22        "SampleAfterValue": "1000003",
23        "UMask": "0x9"
24    },
25    {
26        "BriefDescription": "Cycles when divide unit is busy executing divide or square root operations.",
27        "CounterMask": "1",
28        "EventCode": "0xb0",
29        "EventName": "ARITH.DIV_ACTIVE",
30        "PublicDescription": "Counts cycles when divide unit is busy executing divide or square root operations. Accounts for integer and floating-point operations.",
31        "SampleAfterValue": "1000003",
32        "UMask": "0x9"
33    },
34    {
35        "BriefDescription": "This event is deprecated. Refer to new event ARITH.FPDIV_ACTIVE",
36        "CounterMask": "1",
37        "Deprecated": "1",
38        "EventCode": "0xb0",
39        "EventName": "ARITH.FP_DIVIDER_ACTIVE",
40        "SampleAfterValue": "1000003",
41        "UMask": "0x1"
42    },
43    {
44        "BriefDescription": "This event counts the cycles the integer divider is busy.",
45        "EventCode": "0xb0",
46        "EventName": "ARITH.IDIV_ACTIVE",
47        "SampleAfterValue": "1000003",
48        "UMask": "0x8"
49    },
50    {
51        "BriefDescription": "This event is deprecated. Refer to new event ARITH.IDIV_ACTIVE",
52        "CounterMask": "1",
53        "Deprecated": "1",
54        "EventCode": "0xb0",
55        "EventName": "ARITH.INT_DIVIDER_ACTIVE",
56        "SampleAfterValue": "1000003",
57        "UMask": "0x8"
58    },
59    {
60        "BriefDescription": "Number of occurrences where a microcode assist is invoked by hardware.",
61        "EventCode": "0xc1",
62        "EventName": "ASSISTS.ANY",
63        "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.",
64        "SampleAfterValue": "100003",
65        "UMask": "0x1b"
66    },
67    {
68        "BriefDescription": "All branch instructions retired.",
69        "EventCode": "0xc4",
70        "EventName": "BR_INST_RETIRED.ALL_BRANCHES",
71        "PEBS": "1",
72        "PublicDescription": "Counts all branch instructions retired.",
73        "SampleAfterValue": "400009"
74    },
75    {
76        "BriefDescription": "Conditional branch instructions retired.",
77        "EventCode": "0xc4",
78        "EventName": "BR_INST_RETIRED.COND",
79        "PEBS": "1",
80        "PublicDescription": "Counts conditional branch instructions retired.",
81        "SampleAfterValue": "400009",
82        "UMask": "0x11"
83    },
84    {
85        "BriefDescription": "Not taken branch instructions retired.",
86        "EventCode": "0xc4",
87        "EventName": "BR_INST_RETIRED.COND_NTAKEN",
88        "PEBS": "1",
89        "PublicDescription": "Counts not taken branch instructions retired.",
90        "SampleAfterValue": "400009",
91        "UMask": "0x10"
92    },
93    {
94        "BriefDescription": "Taken conditional branch instructions retired.",
95        "EventCode": "0xc4",
96        "EventName": "BR_INST_RETIRED.COND_TAKEN",
97        "PEBS": "1",
98        "PublicDescription": "Counts taken conditional branch instructions retired.",
99        "SampleAfterValue": "400009",
100        "UMask": "0x1"
101    },
102    {
103        "BriefDescription": "Far branch instructions retired.",
104        "EventCode": "0xc4",
105        "EventName": "BR_INST_RETIRED.FAR_BRANCH",
106        "PEBS": "1",
107        "PublicDescription": "Counts far branch instructions retired.",
108        "SampleAfterValue": "100007",
109        "UMask": "0x40"
110    },
111    {
112        "BriefDescription": "Indirect near branch instructions retired (excluding returns)",
113        "EventCode": "0xc4",
114        "EventName": "BR_INST_RETIRED.INDIRECT",
115        "PEBS": "1",
116        "PublicDescription": "Counts near indirect branch instructions retired excluding returns. TSX abort is an indirect branch.",
117        "SampleAfterValue": "100003",
118        "UMask": "0x80"
119    },
120    {
121        "BriefDescription": "Direct and indirect near call instructions retired.",
122        "EventCode": "0xc4",
123        "EventName": "BR_INST_RETIRED.NEAR_CALL",
124        "PEBS": "1",
125        "PublicDescription": "Counts both direct and indirect near call instructions retired.",
126        "SampleAfterValue": "100007",
127        "UMask": "0x2"
128    },
129    {
130        "BriefDescription": "Return instructions retired.",
131        "EventCode": "0xc4",
132        "EventName": "BR_INST_RETIRED.NEAR_RETURN",
133        "PEBS": "1",
134        "PublicDescription": "Counts return instructions retired.",
135        "SampleAfterValue": "100007",
136        "UMask": "0x8"
137    },
138    {
139        "BriefDescription": "Taken branch instructions retired.",
140        "EventCode": "0xc4",
141        "EventName": "BR_INST_RETIRED.NEAR_TAKEN",
142        "PEBS": "1",
143        "PublicDescription": "Counts taken branch instructions retired.",
144        "SampleAfterValue": "400009",
145        "UMask": "0x20"
146    },
147    {
148        "BriefDescription": "All mispredicted branch instructions retired.",
149        "EventCode": "0xc5",
150        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES",
151        "PEBS": "1",
152        "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.",
153        "SampleAfterValue": "400009"
154    },
155    {
156        "BriefDescription": "Mispredicted conditional branch instructions retired.",
157        "EventCode": "0xc5",
158        "EventName": "BR_MISP_RETIRED.COND",
159        "PEBS": "1",
160        "PublicDescription": "Counts mispredicted conditional branch instructions retired.",
161        "SampleAfterValue": "400009",
162        "UMask": "0x11"
163    },
164    {
165        "BriefDescription": "Mispredicted non-taken conditional branch instructions retired.",
166        "EventCode": "0xc5",
167        "EventName": "BR_MISP_RETIRED.COND_NTAKEN",
168        "PEBS": "1",
169        "PublicDescription": "Counts the number of conditional branch instructions retired that were mispredicted and the branch direction was not taken.",
170        "SampleAfterValue": "400009",
171        "UMask": "0x10"
172    },
173    {
174        "BriefDescription": "number of branch instructions retired that were mispredicted and taken.",
175        "EventCode": "0xc5",
176        "EventName": "BR_MISP_RETIRED.COND_TAKEN",
177        "PEBS": "1",
178        "PublicDescription": "Counts taken conditional mispredicted branch instructions retired.",
179        "SampleAfterValue": "400009",
180        "UMask": "0x1"
181    },
182    {
183        "BriefDescription": "Miss-predicted near indirect branch instructions retired (excluding returns)",
184        "EventCode": "0xc5",
185        "EventName": "BR_MISP_RETIRED.INDIRECT",
186        "PEBS": "1",
187        "PublicDescription": "Counts miss-predicted near indirect branch instructions retired excluding returns. TSX abort is an indirect branch.",
188        "SampleAfterValue": "100003",
189        "UMask": "0x80"
190    },
191    {
192        "BriefDescription": "Mispredicted indirect CALL retired.",
193        "EventCode": "0xc5",
194        "EventName": "BR_MISP_RETIRED.INDIRECT_CALL",
195        "PEBS": "1",
196        "PublicDescription": "Counts retired mispredicted indirect (near taken) CALL instructions, including both register and memory indirect.",
197        "SampleAfterValue": "400009",
198        "UMask": "0x2"
199    },
200    {
201        "BriefDescription": "Number of near branch instructions retired that were mispredicted and taken.",
202        "EventCode": "0xc5",
203        "EventName": "BR_MISP_RETIRED.NEAR_TAKEN",
204        "PEBS": "1",
205        "PublicDescription": "Counts number of near branch instructions retired that were mispredicted and taken.",
206        "SampleAfterValue": "400009",
207        "UMask": "0x20"
208    },
209    {
210        "BriefDescription": "This event counts the number of mispredicted ret instructions retired. Non PEBS",
211        "EventCode": "0xc5",
212        "EventName": "BR_MISP_RETIRED.RET",
213        "PEBS": "1",
214        "PublicDescription": "This is a non-precise version (that is, does not use PEBS) of the event that counts mispredicted return instructions retired.",
215        "SampleAfterValue": "100007",
216        "UMask": "0x8"
217    },
218    {
219        "BriefDescription": "Core clocks when the thread is in the C0.1 light-weight slower wakeup time but more power saving optimized state.",
220        "EventCode": "0xec",
221        "EventName": "CPU_CLK_UNHALTED.C01",
222        "PublicDescription": "Counts core clocks when the thread is in the C0.1 light-weight slower wakeup time but more power saving optimized state.  This state can be entered via the TPAUSE or UMWAIT instructions.",
223        "SampleAfterValue": "2000003",
224        "UMask": "0x10"
225    },
226    {
227        "BriefDescription": "Core clocks when the thread is in the C0.2 light-weight faster wakeup time but less power saving optimized state.",
228        "EventCode": "0xec",
229        "EventName": "CPU_CLK_UNHALTED.C02",
230        "PublicDescription": "Counts core clocks when the thread is in the C0.2 light-weight faster wakeup time but less power saving optimized state.  This state can be entered via the TPAUSE or UMWAIT instructions.",
231        "SampleAfterValue": "2000003",
232        "UMask": "0x20"
233    },
234    {
235        "BriefDescription": "Core clocks when the thread is in the C0.1 or C0.2 or running a PAUSE in C0 ACPI state.",
236        "EventCode": "0xec",
237        "EventName": "CPU_CLK_UNHALTED.C0_WAIT",
238        "PublicDescription": "Counts core clocks when the thread is in the C0.1 or C0.2 power saving optimized states (TPAUSE or UMWAIT instructions) or running the PAUSE instruction.",
239        "SampleAfterValue": "2000003",
240        "UMask": "0x70"
241    },
242    {
243        "BriefDescription": "Cycle counts are evenly distributed between active threads in the Core.",
244        "EventCode": "0xec",
245        "EventName": "CPU_CLK_UNHALTED.DISTRIBUTED",
246        "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.",
247        "SampleAfterValue": "2000003",
248        "UMask": "0x2"
249    },
250    {
251        "BriefDescription": "Core crystal clock cycles when this thread is unhalted and the other thread is halted.",
252        "EventCode": "0x3c",
253        "EventName": "CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE",
254        "PublicDescription": "Counts Core crystal clock cycles when current thread is unhalted and the other thread is halted.",
255        "SampleAfterValue": "25003",
256        "UMask": "0x2"
257    },
258    {
259        "BriefDescription": "CPU_CLK_UNHALTED.PAUSE",
260        "EventCode": "0xec",
261        "EventName": "CPU_CLK_UNHALTED.PAUSE",
262        "SampleAfterValue": "2000003",
263        "UMask": "0x40"
264    },
265    {
266        "BriefDescription": "CPU_CLK_UNHALTED.PAUSE_INST",
267        "CounterMask": "1",
268        "EdgeDetect": "1",
269        "EventCode": "0xec",
270        "EventName": "CPU_CLK_UNHALTED.PAUSE_INST",
271        "SampleAfterValue": "2000003",
272        "UMask": "0x40"
273    },
274    {
275        "BriefDescription": "Core crystal clock cycles. Cycle counts are evenly distributed between active threads in the Core.",
276        "EventCode": "0x3c",
277        "EventName": "CPU_CLK_UNHALTED.REF_DISTRIBUTED",
278        "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.",
279        "SampleAfterValue": "2000003",
280        "UMask": "0x8"
281    },
282    {
283        "BriefDescription": "Reference cycles when the core is not in halt state.",
284        "EventName": "CPU_CLK_UNHALTED.REF_TSC",
285        "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. 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.",
286        "SampleAfterValue": "2000003",
287        "UMask": "0x3"
288    },
289    {
290        "BriefDescription": "Reference cycles when the core is not in halt state.",
291        "EventCode": "0x3c",
292        "EventName": "CPU_CLK_UNHALTED.REF_TSC_P",
293        "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. It is counted on a dedicated fixed counter, leaving the four (eight when Hyperthreading is disabled) 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.",
294        "SampleAfterValue": "2000003",
295        "UMask": "0x1"
296    },
297    {
298        "BriefDescription": "Core cycles when the thread is not in halt state",
299        "EventName": "CPU_CLK_UNHALTED.THREAD",
300        "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.",
301        "SampleAfterValue": "2000003",
302        "UMask": "0x2"
303    },
304    {
305        "BriefDescription": "Thread cycles when thread is not in halt state",
306        "EventCode": "0x3c",
307        "EventName": "CPU_CLK_UNHALTED.THREAD_P",
308        "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.",
309        "SampleAfterValue": "2000003"
310    },
311    {
312        "BriefDescription": "Cycles while L1 cache miss demand load is outstanding.",
313        "CounterMask": "8",
314        "EventCode": "0xa3",
315        "EventName": "CYCLE_ACTIVITY.CYCLES_L1D_MISS",
316        "SampleAfterValue": "1000003",
317        "UMask": "0x8"
318    },
319    {
320        "BriefDescription": "Cycles while L2 cache miss demand load is outstanding.",
321        "CounterMask": "1",
322        "EventCode": "0xa3",
323        "EventName": "CYCLE_ACTIVITY.CYCLES_L2_MISS",
324        "SampleAfterValue": "1000003",
325        "UMask": "0x1"
326    },
327    {
328        "BriefDescription": "Cycles while memory subsystem has an outstanding load.",
329        "CounterMask": "16",
330        "EventCode": "0xa3",
331        "EventName": "CYCLE_ACTIVITY.CYCLES_MEM_ANY",
332        "SampleAfterValue": "1000003",
333        "UMask": "0x10"
334    },
335    {
336        "BriefDescription": "Execution stalls while L1 cache miss demand load is outstanding.",
337        "CounterMask": "12",
338        "EventCode": "0xa3",
339        "EventName": "CYCLE_ACTIVITY.STALLS_L1D_MISS",
340        "SampleAfterValue": "1000003",
341        "UMask": "0xc"
342    },
343    {
344        "BriefDescription": "Execution stalls while L2 cache miss demand load is outstanding.",
345        "CounterMask": "5",
346        "EventCode": "0xa3",
347        "EventName": "CYCLE_ACTIVITY.STALLS_L2_MISS",
348        "SampleAfterValue": "1000003",
349        "UMask": "0x5"
350    },
351    {
352        "BriefDescription": "Total execution stalls.",
353        "CounterMask": "4",
354        "EventCode": "0xa3",
355        "EventName": "CYCLE_ACTIVITY.STALLS_TOTAL",
356        "SampleAfterValue": "1000003",
357        "UMask": "0x4"
358    },
359    {
360        "BriefDescription": "Cycles total of 1 uop is executed on all ports and Reservation Station was not empty.",
361        "EventCode": "0xa6",
362        "EventName": "EXE_ACTIVITY.1_PORTS_UTIL",
363        "PublicDescription": "Counts cycles during which a total of 1 uop was executed on all ports and Reservation Station (RS) was not empty.",
364        "SampleAfterValue": "2000003",
365        "UMask": "0x2"
366    },
367    {
368        "BriefDescription": "Cycles total of 2 uops are executed on all ports and Reservation Station was not empty.",
369        "EventCode": "0xa6",
370        "EventName": "EXE_ACTIVITY.2_PORTS_UTIL",
371        "PublicDescription": "Counts cycles during which a total of 2 uops were executed on all ports and Reservation Station (RS) was not empty.",
372        "SampleAfterValue": "2000003",
373        "UMask": "0x4"
374    },
375    {
376        "BriefDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station was not empty.",
377        "EventCode": "0xa6",
378        "EventName": "EXE_ACTIVITY.3_PORTS_UTIL",
379        "PublicDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station (RS) was not empty.",
380        "SampleAfterValue": "2000003",
381        "UMask": "0x8"
382    },
383    {
384        "BriefDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station was not empty.",
385        "EventCode": "0xa6",
386        "EventName": "EXE_ACTIVITY.4_PORTS_UTIL",
387        "PublicDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station (RS) was not empty.",
388        "SampleAfterValue": "2000003",
389        "UMask": "0x10"
390    },
391    {
392        "BriefDescription": "Execution stalls while memory subsystem has an outstanding load.",
393        "CounterMask": "5",
394        "EventCode": "0xa6",
395        "EventName": "EXE_ACTIVITY.BOUND_ON_LOADS",
396        "SampleAfterValue": "2000003",
397        "UMask": "0x21"
398    },
399    {
400        "BriefDescription": "Cycles where the Store Buffer was full and no loads caused an execution stall.",
401        "CounterMask": "2",
402        "EventCode": "0xa6",
403        "EventName": "EXE_ACTIVITY.BOUND_ON_STORES",
404        "PublicDescription": "Counts cycles where the Store Buffer was full and no loads caused an execution stall.",
405        "SampleAfterValue": "1000003",
406        "UMask": "0x40"
407    },
408    {
409        "BriefDescription": "Cycles no uop executed while RS was not empty, the SB was not full and there was no outstanding load.",
410        "EventCode": "0xa6",
411        "EventName": "EXE_ACTIVITY.EXE_BOUND_0_PORTS",
412        "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.",
413        "SampleAfterValue": "1000003",
414        "UMask": "0x80"
415    },
416    {
417        "BriefDescription": "Instruction decoders utilized in a cycle",
418        "EventCode": "0x75",
419        "EventName": "INST_DECODED.DECODERS",
420        "PublicDescription": "Number of decoders utilized in a cycle when the MITE (legacy decode pipeline) fetches instructions.",
421        "SampleAfterValue": "2000003",
422        "UMask": "0x1"
423    },
424    {
425        "BriefDescription": "Number of instructions retired. Fixed Counter - architectural event",
426        "EventName": "INST_RETIRED.ANY",
427        "PEBS": "1",
428        "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.",
429        "SampleAfterValue": "2000003",
430        "UMask": "0x1"
431    },
432    {
433        "BriefDescription": "Number of instructions retired. General Counter - architectural event",
434        "EventCode": "0xc0",
435        "EventName": "INST_RETIRED.ANY_P",
436        "PEBS": "1",
437        "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.",
438        "SampleAfterValue": "2000003"
439    },
440    {
441        "BriefDescription": "INST_RETIRED.MACRO_FUSED",
442        "EventCode": "0xc0",
443        "EventName": "INST_RETIRED.MACRO_FUSED",
444        "SampleAfterValue": "2000003",
445        "UMask": "0x10"
446    },
447    {
448        "BriefDescription": "Retired NOP instructions.",
449        "EventCode": "0xc0",
450        "EventName": "INST_RETIRED.NOP",
451        "PublicDescription": "Counts all retired NOP or ENDBR32/64 instructions",
452        "SampleAfterValue": "2000003",
453        "UMask": "0x2"
454    },
455    {
456        "BriefDescription": "Precise instruction retired with PEBS precise-distribution",
457        "EventName": "INST_RETIRED.PREC_DIST",
458        "PEBS": "1",
459        "PublicDescription": "A version of INST_RETIRED that allows for a precise distribution of samples across instructions retired. It utilizes the Precise Distribution of Instructions Retired (PDIR++) feature to fix bias in how retired instructions get sampled. Use on Fixed Counter 0.",
460        "SampleAfterValue": "2000003",
461        "UMask": "0x1"
462    },
463    {
464        "BriefDescription": "INST_RETIRED.REP_ITERATION",
465        "EventCode": "0xc0",
466        "EventName": "INST_RETIRED.REP_ITERATION",
467        "SampleAfterValue": "2000003",
468        "UMask": "0x8"
469    },
470    {
471        "BriefDescription": "Counts cycles after recovery from a branch misprediction or machine clear till the first uop is issued from the resteered path.",
472        "EventCode": "0xad",
473        "EventName": "INT_MISC.CLEAR_RESTEER_CYCLES",
474        "PublicDescription": "Cycles after recovery from a branch misprediction or machine clear till the first uop is issued from the resteered path.",
475        "SampleAfterValue": "500009",
476        "UMask": "0x80"
477    },
478    {
479        "BriefDescription": "INT_MISC.MBA_STALLS",
480        "EventCode": "0xad",
481        "EventName": "INT_MISC.MBA_STALLS",
482        "SampleAfterValue": "1000003",
483        "UMask": "0x20"
484    },
485    {
486        "BriefDescription": "Core cycles the allocator was stalled due to recovery from earlier clear event for this thread",
487        "EventCode": "0xad",
488        "EventName": "INT_MISC.RECOVERY_CYCLES",
489        "PublicDescription": "Counts core cycles when the Resource allocator was stalled due to recovery from an earlier branch misprediction or machine clear event.",
490        "SampleAfterValue": "500009",
491        "UMask": "0x1"
492    },
493    {
494        "BriefDescription": "INT_MISC.UNKNOWN_BRANCH_CYCLES",
495        "EventCode": "0xad",
496        "EventName": "INT_MISC.UNKNOWN_BRANCH_CYCLES",
497        "MSRIndex": "0x3F7",
498        "MSRValue": "0x7",
499        "SampleAfterValue": "1000003",
500        "UMask": "0x40"
501    },
502    {
503        "BriefDescription": "TMA slots where uops got dropped",
504        "EventCode": "0xad",
505        "EventName": "INT_MISC.UOP_DROPPING",
506        "PublicDescription": "Estimated number of Top-down Microarchitecture Analysis slots that got dropped due to non front-end reasons",
507        "SampleAfterValue": "1000003",
508        "UMask": "0x10"
509    },
510    {
511        "BriefDescription": "INT_VEC_RETIRED.128BIT",
512        "EventCode": "0xe7",
513        "EventName": "INT_VEC_RETIRED.128BIT",
514        "SampleAfterValue": "1000003",
515        "UMask": "0x13"
516    },
517    {
518        "BriefDescription": "INT_VEC_RETIRED.256BIT",
519        "EventCode": "0xe7",
520        "EventName": "INT_VEC_RETIRED.256BIT",
521        "SampleAfterValue": "1000003",
522        "UMask": "0xac"
523    },
524    {
525        "BriefDescription": "integer ADD, SUB, SAD 128-bit vector instructions.",
526        "EventCode": "0xe7",
527        "EventName": "INT_VEC_RETIRED.ADD_128",
528        "PublicDescription": "Number of retired integer ADD/SUB (regular or horizontal), SAD 128-bit vector instructions.",
529        "SampleAfterValue": "1000003",
530        "UMask": "0x3"
531    },
532    {
533        "BriefDescription": "integer ADD, SUB, SAD 256-bit vector instructions.",
534        "EventCode": "0xe7",
535        "EventName": "INT_VEC_RETIRED.ADD_256",
536        "PublicDescription": "Number of retired integer ADD/SUB (regular or horizontal), SAD 256-bit vector instructions.",
537        "SampleAfterValue": "1000003",
538        "UMask": "0xc"
539    },
540    {
541        "BriefDescription": "INT_VEC_RETIRED.MUL_256",
542        "EventCode": "0xe7",
543        "EventName": "INT_VEC_RETIRED.MUL_256",
544        "SampleAfterValue": "1000003",
545        "UMask": "0x80"
546    },
547    {
548        "BriefDescription": "INT_VEC_RETIRED.SHUFFLES",
549        "EventCode": "0xe7",
550        "EventName": "INT_VEC_RETIRED.SHUFFLES",
551        "SampleAfterValue": "1000003",
552        "UMask": "0x40"
553    },
554    {
555        "BriefDescription": "INT_VEC_RETIRED.VNNI_128",
556        "EventCode": "0xe7",
557        "EventName": "INT_VEC_RETIRED.VNNI_128",
558        "SampleAfterValue": "1000003",
559        "UMask": "0x10"
560    },
561    {
562        "BriefDescription": "INT_VEC_RETIRED.VNNI_256",
563        "EventCode": "0xe7",
564        "EventName": "INT_VEC_RETIRED.VNNI_256",
565        "SampleAfterValue": "1000003",
566        "UMask": "0x20"
567    },
568    {
569        "BriefDescription": "False dependencies in MOB due to partial compare on address.",
570        "EventCode": "0x03",
571        "EventName": "LD_BLOCKS.ADDRESS_ALIAS",
572        "PublicDescription": "Counts the number of times a load got blocked due to false dependencies in MOB due to partial compare on address.",
573        "SampleAfterValue": "100003",
574        "UMask": "0x4"
575    },
576    {
577        "BriefDescription": "The number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.",
578        "EventCode": "0x03",
579        "EventName": "LD_BLOCKS.NO_SR",
580        "PublicDescription": "Counts the number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.",
581        "SampleAfterValue": "100003",
582        "UMask": "0x88"
583    },
584    {
585        "BriefDescription": "Loads blocked due to overlapping with a preceding store that cannot be forwarded.",
586        "EventCode": "0x03",
587        "EventName": "LD_BLOCKS.STORE_FORWARD",
588        "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.",
589        "SampleAfterValue": "100003",
590        "UMask": "0x82"
591    },
592    {
593        "BriefDescription": "Counts the number of demand load dispatches that hit L1D fill buffer (FB) allocated for software prefetch.",
594        "EventCode": "0x4c",
595        "EventName": "LOAD_HIT_PREFETCH.SWPF",
596        "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.",
597        "SampleAfterValue": "100003",
598        "UMask": "0x1"
599    },
600    {
601        "BriefDescription": "Cycles Uops delivered by the LSD, but didn't come from the decoder.",
602        "CounterMask": "1",
603        "EventCode": "0xa8",
604        "EventName": "LSD.CYCLES_ACTIVE",
605        "PublicDescription": "Counts the cycles when at least one uop is delivered by the LSD (Loop-stream detector).",
606        "SampleAfterValue": "2000003",
607        "UMask": "0x1"
608    },
609    {
610        "BriefDescription": "Cycles optimal number of Uops delivered by the LSD, but did not come from the decoder.",
611        "CounterMask": "6",
612        "EventCode": "0xa8",
613        "EventName": "LSD.CYCLES_OK",
614        "PublicDescription": "Counts the cycles when optimal number of uops is delivered by the LSD (Loop-stream detector).",
615        "SampleAfterValue": "2000003",
616        "UMask": "0x1"
617    },
618    {
619        "BriefDescription": "Number of Uops delivered by the LSD.",
620        "EventCode": "0xa8",
621        "EventName": "LSD.UOPS",
622        "PublicDescription": "Counts the number of uops delivered to the back-end by the LSD(Loop Stream Detector).",
623        "SampleAfterValue": "2000003",
624        "UMask": "0x1"
625    },
626    {
627        "BriefDescription": "Number of machine clears (nukes) of any type.",
628        "CounterMask": "1",
629        "EdgeDetect": "1",
630        "EventCode": "0xc3",
631        "EventName": "MACHINE_CLEARS.COUNT",
632        "PublicDescription": "Counts the number of machine clears (nukes) of any type.",
633        "SampleAfterValue": "100003",
634        "UMask": "0x1"
635    },
636    {
637        "BriefDescription": "Self-modifying code (SMC) detected.",
638        "EventCode": "0xc3",
639        "EventName": "MACHINE_CLEARS.SMC",
640        "PublicDescription": "Counts self-modifying code (SMC) detected, which causes a machine clear.",
641        "SampleAfterValue": "100003",
642        "UMask": "0x4"
643    },
644    {
645        "BriefDescription": "MISC2_RETIRED.LFENCE",
646        "EventCode": "0xe0",
647        "EventName": "MISC2_RETIRED.LFENCE",
648        "SampleAfterValue": "400009",
649        "UMask": "0x20"
650    },
651    {
652        "BriefDescription": "Increments whenever there is an update to the LBR array.",
653        "EventCode": "0xcc",
654        "EventName": "MISC_RETIRED.LBR_INSERTS",
655        "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.",
656        "SampleAfterValue": "100003",
657        "UMask": "0x20"
658    },
659    {
660        "BriefDescription": "Cycles stalled due to no store buffers available. (not including draining form sync).",
661        "EventCode": "0xa2",
662        "EventName": "RESOURCE_STALLS.SB",
663        "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.",
664        "SampleAfterValue": "100003",
665        "UMask": "0x8"
666    },
667    {
668        "BriefDescription": "Counts cycles where the pipeline is stalled due to serializing operations.",
669        "EventCode": "0xa2",
670        "EventName": "RESOURCE_STALLS.SCOREBOARD",
671        "SampleAfterValue": "100003",
672        "UMask": "0x2"
673    },
674    {
675        "BriefDescription": "TMA slots where no uops were being issued due to lack of back-end resources.",
676        "EventCode": "0xa4",
677        "EventName": "TOPDOWN.BACKEND_BOUND_SLOTS",
678        "PublicDescription": "Number of slots in TMA method where no micro-operations were being issued from front-end to back-end of the machine due to lack of back-end resources.",
679        "SampleAfterValue": "10000003",
680        "UMask": "0x2"
681    },
682    {
683        "BriefDescription": "TMA slots wasted due to incorrect speculations.",
684        "EventCode": "0xa4",
685        "EventName": "TOPDOWN.BAD_SPEC_SLOTS",
686        "PublicDescription": "Number of slots of TMA method that were wasted due to incorrect speculation. It covers all types of control-flow or data-related mis-speculations.",
687        "SampleAfterValue": "10000003",
688        "UMask": "0x4"
689    },
690    {
691        "BriefDescription": "TMA slots wasted due to incorrect speculation by branch mispredictions",
692        "EventCode": "0xa4",
693        "EventName": "TOPDOWN.BR_MISPREDICT_SLOTS",
694        "PublicDescription": "Number of TMA slots that were wasted due to incorrect speculation by (any type of) branch mispredictions. This event estimates number of specualtive operations that were issued but not retired as well as the out-of-order engine recovery past a branch misprediction.",
695        "SampleAfterValue": "10000003",
696        "UMask": "0x8"
697    },
698    {
699        "BriefDescription": "TOPDOWN.MEMORY_BOUND_SLOTS",
700        "EventCode": "0xa4",
701        "EventName": "TOPDOWN.MEMORY_BOUND_SLOTS",
702        "SampleAfterValue": "10000003",
703        "UMask": "0x10"
704    },
705    {
706        "BriefDescription": "TMA slots available for an unhalted logical processor. Fixed counter - architectural event",
707        "EventName": "TOPDOWN.SLOTS",
708        "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).",
709        "SampleAfterValue": "10000003",
710        "UMask": "0x4"
711    },
712    {
713        "BriefDescription": "TMA slots available for an unhalted logical processor. General counter - architectural event",
714        "EventCode": "0xa4",
715        "EventName": "TOPDOWN.SLOTS_P",
716        "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.",
717        "SampleAfterValue": "10000003",
718        "UMask": "0x1"
719    },
720    {
721        "BriefDescription": "UOPS_DECODED.DEC0_UOPS",
722        "EventCode": "0x76",
723        "EventName": "UOPS_DECODED.DEC0_UOPS",
724        "SampleAfterValue": "1000003",
725        "UMask": "0x1"
726    },
727    {
728        "BriefDescription": "Uops executed on port 0",
729        "EventCode": "0xb2",
730        "EventName": "UOPS_DISPATCHED.PORT_0",
731        "PublicDescription": "Number of uops dispatch to execution  port 0.",
732        "SampleAfterValue": "2000003",
733        "UMask": "0x1"
734    },
735    {
736        "BriefDescription": "Uops executed on port 1",
737        "EventCode": "0xb2",
738        "EventName": "UOPS_DISPATCHED.PORT_1",
739        "PublicDescription": "Number of uops dispatch to execution  port 1.",
740        "SampleAfterValue": "2000003",
741        "UMask": "0x2"
742    },
743    {
744        "BriefDescription": "Uops executed on ports 2, 3 and 10",
745        "EventCode": "0xb2",
746        "EventName": "UOPS_DISPATCHED.PORT_2_3_10",
747        "PublicDescription": "Number of uops dispatch to execution ports 2, 3 and 10",
748        "SampleAfterValue": "2000003",
749        "UMask": "0x4"
750    },
751    {
752        "BriefDescription": "Uops executed on ports 4 and 9",
753        "EventCode": "0xb2",
754        "EventName": "UOPS_DISPATCHED.PORT_4_9",
755        "PublicDescription": "Number of uops dispatch to execution ports 4 and 9",
756        "SampleAfterValue": "2000003",
757        "UMask": "0x10"
758    },
759    {
760        "BriefDescription": "Uops executed on ports 5 and 11",
761        "EventCode": "0xb2",
762        "EventName": "UOPS_DISPATCHED.PORT_5_11",
763        "PublicDescription": "Number of uops dispatch to execution ports 5 and 11",
764        "SampleAfterValue": "2000003",
765        "UMask": "0x20"
766    },
767    {
768        "BriefDescription": "Uops executed on port 6",
769        "EventCode": "0xb2",
770        "EventName": "UOPS_DISPATCHED.PORT_6",
771        "PublicDescription": "Number of uops dispatch to execution  port 6.",
772        "SampleAfterValue": "2000003",
773        "UMask": "0x40"
774    },
775    {
776        "BriefDescription": "Uops executed on ports 7 and 8",
777        "EventCode": "0xb2",
778        "EventName": "UOPS_DISPATCHED.PORT_7_8",
779        "PublicDescription": "Number of uops dispatch to execution  ports 7 and 8.",
780        "SampleAfterValue": "2000003",
781        "UMask": "0x80"
782    },
783    {
784        "BriefDescription": "Number of uops executed on the core.",
785        "EventCode": "0xb1",
786        "EventName": "UOPS_EXECUTED.CORE",
787        "PublicDescription": "Counts the number of uops executed from any thread.",
788        "SampleAfterValue": "2000003",
789        "UMask": "0x2"
790    },
791    {
792        "BriefDescription": "Cycles at least 1 micro-op is executed from any thread on physical core.",
793        "CounterMask": "1",
794        "EventCode": "0xb1",
795        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_1",
796        "PublicDescription": "Counts cycles when at least 1 micro-op is executed from any thread on physical core.",
797        "SampleAfterValue": "2000003",
798        "UMask": "0x2"
799    },
800    {
801        "BriefDescription": "Cycles at least 2 micro-op is executed from any thread on physical core.",
802        "CounterMask": "2",
803        "EventCode": "0xb1",
804        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_2",
805        "PublicDescription": "Counts cycles when at least 2 micro-ops are executed from any thread on physical core.",
806        "SampleAfterValue": "2000003",
807        "UMask": "0x2"
808    },
809    {
810        "BriefDescription": "Cycles at least 3 micro-op is executed from any thread on physical core.",
811        "CounterMask": "3",
812        "EventCode": "0xb1",
813        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_3",
814        "PublicDescription": "Counts cycles when at least 3 micro-ops are executed from any thread on physical core.",
815        "SampleAfterValue": "2000003",
816        "UMask": "0x2"
817    },
818    {
819        "BriefDescription": "Cycles at least 4 micro-op is executed from any thread on physical core.",
820        "CounterMask": "4",
821        "EventCode": "0xb1",
822        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_4",
823        "PublicDescription": "Counts cycles when at least 4 micro-ops are executed from any thread on physical core.",
824        "SampleAfterValue": "2000003",
825        "UMask": "0x2"
826    },
827    {
828        "BriefDescription": "Cycles where at least 1 uop was executed per-thread",
829        "CounterMask": "1",
830        "EventCode": "0xb1",
831        "EventName": "UOPS_EXECUTED.CYCLES_GE_1",
832        "PublicDescription": "Cycles where at least 1 uop was executed per-thread.",
833        "SampleAfterValue": "2000003",
834        "UMask": "0x1"
835    },
836    {
837        "BriefDescription": "Cycles where at least 2 uops were executed per-thread",
838        "CounterMask": "2",
839        "EventCode": "0xb1",
840        "EventName": "UOPS_EXECUTED.CYCLES_GE_2",
841        "PublicDescription": "Cycles where at least 2 uops were executed per-thread.",
842        "SampleAfterValue": "2000003",
843        "UMask": "0x1"
844    },
845    {
846        "BriefDescription": "Cycles where at least 3 uops were executed per-thread",
847        "CounterMask": "3",
848        "EventCode": "0xb1",
849        "EventName": "UOPS_EXECUTED.CYCLES_GE_3",
850        "PublicDescription": "Cycles where at least 3 uops were executed per-thread.",
851        "SampleAfterValue": "2000003",
852        "UMask": "0x1"
853    },
854    {
855        "BriefDescription": "Cycles where at least 4 uops were executed per-thread",
856        "CounterMask": "4",
857        "EventCode": "0xb1",
858        "EventName": "UOPS_EXECUTED.CYCLES_GE_4",
859        "PublicDescription": "Cycles where at least 4 uops were executed per-thread.",
860        "SampleAfterValue": "2000003",
861        "UMask": "0x1"
862    },
863    {
864        "BriefDescription": "Counts number of cycles no uops were dispatched to be executed on this thread.",
865        "CounterMask": "1",
866        "EventCode": "0xb1",
867        "EventName": "UOPS_EXECUTED.STALLS",
868        "Invert": "1",
869        "PublicDescription": "Counts cycles during which no uops were dispatched from the Reservation Station (RS) per thread.",
870        "SampleAfterValue": "2000003",
871        "UMask": "0x1"
872    },
873    {
874        "BriefDescription": "This event is deprecated. Refer to new event UOPS_EXECUTED.STALLS",
875        "CounterMask": "1",
876        "Deprecated": "1",
877        "EventCode": "0xb1",
878        "EventName": "UOPS_EXECUTED.STALL_CYCLES",
879        "Invert": "1",
880        "SampleAfterValue": "2000003",
881        "UMask": "0x1"
882    },
883    {
884        "BriefDescription": "Counts the number of uops to be executed per-thread each cycle.",
885        "EventCode": "0xb1",
886        "EventName": "UOPS_EXECUTED.THREAD",
887        "SampleAfterValue": "2000003",
888        "UMask": "0x1"
889    },
890    {
891        "BriefDescription": "Counts the number of x87 uops dispatched.",
892        "EventCode": "0xb1",
893        "EventName": "UOPS_EXECUTED.X87",
894        "PublicDescription": "Counts the number of x87 uops executed.",
895        "SampleAfterValue": "2000003",
896        "UMask": "0x10"
897    },
898    {
899        "BriefDescription": "Uops that RAT issues to RS",
900        "EventCode": "0xae",
901        "EventName": "UOPS_ISSUED.ANY",
902        "PublicDescription": "Counts the number of uops that the Resource Allocation Table (RAT) issues to the Reservation Station (RS).",
903        "SampleAfterValue": "2000003",
904        "UMask": "0x1"
905    },
906    {
907        "BriefDescription": "Cycles with retired uop(s).",
908        "CounterMask": "1",
909        "EventCode": "0xc2",
910        "EventName": "UOPS_RETIRED.CYCLES",
911        "PublicDescription": "Counts cycles where at least one uop has retired.",
912        "SampleAfterValue": "1000003",
913        "UMask": "0x2"
914    },
915    {
916        "BriefDescription": "Retired uops except the last uop of each instruction.",
917        "EventCode": "0xc2",
918        "EventName": "UOPS_RETIRED.HEAVY",
919        "PublicDescription": "Counts the number of retired micro-operations (uops) except the last uop of each instruction. An instruction that is decoded into less than two uops does not contribute to the count.",
920        "SampleAfterValue": "2000003",
921        "UMask": "0x1"
922    },
923    {
924        "BriefDescription": "UOPS_RETIRED.MS",
925        "EventCode": "0xc2",
926        "EventName": "UOPS_RETIRED.MS",
927        "MSRIndex": "0x3F7",
928        "MSRValue": "0x8",
929        "SampleAfterValue": "2000003",
930        "UMask": "0x4"
931    },
932    {
933        "BriefDescription": "Retirement slots used.",
934        "EventCode": "0xc2",
935        "EventName": "UOPS_RETIRED.SLOTS",
936        "PublicDescription": "Counts the retirement slots used each cycle.",
937        "SampleAfterValue": "2000003",
938        "UMask": "0x2"
939    },
940    {
941        "BriefDescription": "Cycles without actually retired uops.",
942        "CounterMask": "1",
943        "EventCode": "0xc2",
944        "EventName": "UOPS_RETIRED.STALLS",
945        "Invert": "1",
946        "PublicDescription": "This event counts cycles without actually retired uops.",
947        "SampleAfterValue": "1000003",
948        "UMask": "0x2"
949    },
950    {
951        "BriefDescription": "This event is deprecated. Refer to new event UOPS_RETIRED.STALLS",
952        "CounterMask": "1",
953        "Deprecated": "1",
954        "EventCode": "0xc2",
955        "EventName": "UOPS_RETIRED.STALL_CYCLES",
956        "Invert": "1",
957        "SampleAfterValue": "1000003",
958        "UMask": "0x2"
959    }
960]
961