xref: /linux/tools/perf/pmu-events/arch/x86/meteorlake/pipeline.json (revision 40ccd6aa3e2e05be93394e3cd560c718dedfcc77)
1[
2    {
3        "BriefDescription": "Counts the number of cycles when any of the dividers are active.",
4        "CounterMask": "1",
5        "EventCode": "0xcd",
6        "EventName": "ARITH.DIV_ACTIVE",
7        "SampleAfterValue": "1000003",
8        "UMask": "0x3",
9        "Unit": "cpu_atom"
10    },
11    {
12        "BriefDescription": "Cycles when divide unit is busy executing divide or square root operations.",
13        "CounterMask": "1",
14        "EventCode": "0xb0",
15        "EventName": "ARITH.DIV_ACTIVE",
16        "PublicDescription": "Counts cycles when divide unit is busy executing divide or square root operations. Accounts for integer and floating-point operations.",
17        "SampleAfterValue": "1000003",
18        "UMask": "0x9",
19        "Unit": "cpu_core"
20    },
21    {
22        "BriefDescription": "This event counts the cycles the integer divider is busy.",
23        "CounterMask": "1",
24        "EventCode": "0xb0",
25        "EventName": "ARITH.IDIV_ACTIVE",
26        "SampleAfterValue": "1000003",
27        "UMask": "0x8",
28        "Unit": "cpu_core"
29    },
30    {
31        "BriefDescription": "Number of occurrences where a microcode assist is invoked by hardware.",
32        "EventCode": "0xc1",
33        "EventName": "ASSISTS.ANY",
34        "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.",
35        "SampleAfterValue": "100003",
36        "UMask": "0x1b",
37        "Unit": "cpu_core"
38    },
39    {
40        "BriefDescription": "Counts the total number of branch instructions retired for all branch types.",
41        "EventCode": "0xc4",
42        "EventName": "BR_INST_RETIRED.ALL_BRANCHES",
43        "PEBS": "1",
44        "PublicDescription": "Counts the total number of instructions in which the instruction pointer (IP) of the processor is resteered due to a branch instruction and the branch instruction successfully retires.  All branch type instructions are accounted for.",
45        "SampleAfterValue": "200003",
46        "Unit": "cpu_atom"
47    },
48    {
49        "BriefDescription": "All branch instructions retired.",
50        "EventCode": "0xc4",
51        "EventName": "BR_INST_RETIRED.ALL_BRANCHES",
52        "PEBS": "1",
53        "PublicDescription": "Counts all branch instructions retired.",
54        "SampleAfterValue": "400009",
55        "Unit": "cpu_core"
56    },
57    {
58        "BriefDescription": "Counts the number of retired JCC (Jump on Conditional Code) branch instructions retired, includes both taken and not taken branches.",
59        "EventCode": "0xc4",
60        "EventName": "BR_INST_RETIRED.COND",
61        "PEBS": "1",
62        "SampleAfterValue": "200003",
63        "UMask": "0x7e",
64        "Unit": "cpu_atom"
65    },
66    {
67        "BriefDescription": "Conditional branch instructions retired.",
68        "EventCode": "0xc4",
69        "EventName": "BR_INST_RETIRED.COND",
70        "PEBS": "1",
71        "PublicDescription": "Counts conditional branch instructions retired.",
72        "SampleAfterValue": "400009",
73        "UMask": "0x11",
74        "Unit": "cpu_core"
75    },
76    {
77        "BriefDescription": "Not taken branch instructions retired.",
78        "EventCode": "0xc4",
79        "EventName": "BR_INST_RETIRED.COND_NTAKEN",
80        "PEBS": "1",
81        "PublicDescription": "Counts not taken branch instructions retired.",
82        "SampleAfterValue": "400009",
83        "UMask": "0x10",
84        "Unit": "cpu_core"
85    },
86    {
87        "BriefDescription": "Counts the number of taken JCC (Jump on Conditional Code) branch instructions retired.",
88        "EventCode": "0xc4",
89        "EventName": "BR_INST_RETIRED.COND_TAKEN",
90        "PEBS": "1",
91        "SampleAfterValue": "200003",
92        "UMask": "0xfe",
93        "Unit": "cpu_atom"
94    },
95    {
96        "BriefDescription": "Taken conditional branch instructions retired.",
97        "EventCode": "0xc4",
98        "EventName": "BR_INST_RETIRED.COND_TAKEN",
99        "PEBS": "1",
100        "PublicDescription": "Counts taken conditional branch instructions retired.",
101        "SampleAfterValue": "400009",
102        "UMask": "0x1",
103        "Unit": "cpu_core"
104    },
105    {
106        "BriefDescription": "Counts the number of far branch instructions retired, includes far jump, far call and return, and interrupt call and return.",
107        "EventCode": "0xc4",
108        "EventName": "BR_INST_RETIRED.FAR_BRANCH",
109        "PEBS": "1",
110        "SampleAfterValue": "200003",
111        "UMask": "0xbf",
112        "Unit": "cpu_atom"
113    },
114    {
115        "BriefDescription": "Far branch instructions retired.",
116        "EventCode": "0xc4",
117        "EventName": "BR_INST_RETIRED.FAR_BRANCH",
118        "PEBS": "1",
119        "PublicDescription": "Counts far branch instructions retired.",
120        "SampleAfterValue": "100007",
121        "UMask": "0x40",
122        "Unit": "cpu_core"
123    },
124    {
125        "BriefDescription": "Counts the number of near indirect JMP and near indirect CALL branch instructions retired.",
126        "EventCode": "0xc4",
127        "EventName": "BR_INST_RETIRED.INDIRECT",
128        "PEBS": "1",
129        "SampleAfterValue": "200003",
130        "UMask": "0xeb",
131        "Unit": "cpu_atom"
132    },
133    {
134        "BriefDescription": "Indirect near branch instructions retired (excluding returns)",
135        "EventCode": "0xc4",
136        "EventName": "BR_INST_RETIRED.INDIRECT",
137        "PEBS": "1",
138        "PublicDescription": "Counts near indirect branch instructions retired excluding returns. TSX abort is an indirect branch.",
139        "SampleAfterValue": "100003",
140        "UMask": "0x80",
141        "Unit": "cpu_core"
142    },
143    {
144        "BriefDescription": "Counts the number of near indirect CALL branch instructions retired.",
145        "EventCode": "0xc4",
146        "EventName": "BR_INST_RETIRED.INDIRECT_CALL",
147        "PEBS": "1",
148        "SampleAfterValue": "200003",
149        "UMask": "0xfb",
150        "Unit": "cpu_atom"
151    },
152    {
153        "BriefDescription": "This event is deprecated. Refer to new event BR_INST_RETIRED.INDIRECT_CALL",
154        "Deprecated": "1",
155        "EventCode": "0xc4",
156        "EventName": "BR_INST_RETIRED.IND_CALL",
157        "PEBS": "1",
158        "SampleAfterValue": "200003",
159        "UMask": "0xfb",
160        "Unit": "cpu_atom"
161    },
162    {
163        "BriefDescription": "Counts the number of near CALL branch instructions retired.",
164        "EventCode": "0xc4",
165        "EventName": "BR_INST_RETIRED.NEAR_CALL",
166        "PEBS": "1",
167        "SampleAfterValue": "200003",
168        "UMask": "0xf9",
169        "Unit": "cpu_atom"
170    },
171    {
172        "BriefDescription": "Direct and indirect near call instructions retired.",
173        "EventCode": "0xc4",
174        "EventName": "BR_INST_RETIRED.NEAR_CALL",
175        "PEBS": "1",
176        "PublicDescription": "Counts both direct and indirect near call instructions retired.",
177        "SampleAfterValue": "100007",
178        "UMask": "0x2",
179        "Unit": "cpu_core"
180    },
181    {
182        "BriefDescription": "Counts the number of near RET branch instructions retired.",
183        "EventCode": "0xc4",
184        "EventName": "BR_INST_RETIRED.NEAR_RETURN",
185        "PEBS": "1",
186        "SampleAfterValue": "200003",
187        "UMask": "0xf7",
188        "Unit": "cpu_atom"
189    },
190    {
191        "BriefDescription": "Return instructions retired.",
192        "EventCode": "0xc4",
193        "EventName": "BR_INST_RETIRED.NEAR_RETURN",
194        "PEBS": "1",
195        "PublicDescription": "Counts return instructions retired.",
196        "SampleAfterValue": "100007",
197        "UMask": "0x8",
198        "Unit": "cpu_core"
199    },
200    {
201        "BriefDescription": "Taken branch instructions retired.",
202        "EventCode": "0xc4",
203        "EventName": "BR_INST_RETIRED.NEAR_TAKEN",
204        "PEBS": "1",
205        "PublicDescription": "Counts taken branch instructions retired.",
206        "SampleAfterValue": "400009",
207        "UMask": "0x20",
208        "Unit": "cpu_core"
209    },
210    {
211        "BriefDescription": "Counts the total number of mispredicted branch instructions retired for all branch types.",
212        "EventCode": "0xc5",
213        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES",
214        "PEBS": "1",
215        "PublicDescription": "Counts the total number of mispredicted branch instructions retired.  All branch type instructions are accounted for.  Prediction of the branch target address enables the processor to begin executing instructions before the non-speculative execution path is known. The branch prediction unit (BPU) predicts the target address based on the instruction pointer (IP) of the branch and on the execution path through which execution reached this IP.    A branch misprediction occurs when the prediction is wrong, and results in discarding all instructions executed in the speculative path and re-fetching from the correct path.",
216        "SampleAfterValue": "200003",
217        "Unit": "cpu_atom"
218    },
219    {
220        "BriefDescription": "All mispredicted branch instructions retired.",
221        "EventCode": "0xc5",
222        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES",
223        "PEBS": "1",
224        "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.",
225        "SampleAfterValue": "400009",
226        "Unit": "cpu_core"
227    },
228    {
229        "BriefDescription": "All mispredicted branch instructions retired. This precise event may be used to get the misprediction cost via the Retire_Latency field of PEBS. It fires on the instruction that immediately follows the mispredicted branch.",
230        "EventCode": "0xc5",
231        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES_COST",
232        "PEBS": "1",
233        "SampleAfterValue": "400009",
234        "UMask": "0x44",
235        "Unit": "cpu_core"
236    },
237    {
238        "BriefDescription": "Counts the number of mispredicted JCC (Jump on Conditional Code) branch instructions retired.",
239        "EventCode": "0xc5",
240        "EventName": "BR_MISP_RETIRED.COND",
241        "PEBS": "1",
242        "SampleAfterValue": "200003",
243        "UMask": "0x7e",
244        "Unit": "cpu_atom"
245    },
246    {
247        "BriefDescription": "Mispredicted conditional branch instructions retired.",
248        "EventCode": "0xc5",
249        "EventName": "BR_MISP_RETIRED.COND",
250        "PEBS": "1",
251        "PublicDescription": "Counts mispredicted conditional branch instructions retired.",
252        "SampleAfterValue": "400009",
253        "UMask": "0x11",
254        "Unit": "cpu_core"
255    },
256    {
257        "BriefDescription": "Mispredicted conditional branch instructions retired. This precise event may be used to get the misprediction cost via the Retire_Latency field of PEBS. It fires on the instruction that immediately follows the mispredicted branch.",
258        "EventCode": "0xc5",
259        "EventName": "BR_MISP_RETIRED.COND_COST",
260        "PEBS": "1",
261        "SampleAfterValue": "400009",
262        "UMask": "0x51",
263        "Unit": "cpu_core"
264    },
265    {
266        "BriefDescription": "Mispredicted non-taken conditional branch instructions retired.",
267        "EventCode": "0xc5",
268        "EventName": "BR_MISP_RETIRED.COND_NTAKEN",
269        "PEBS": "1",
270        "PublicDescription": "Counts the number of conditional branch instructions retired that were mispredicted and the branch direction was not taken.",
271        "SampleAfterValue": "400009",
272        "UMask": "0x10",
273        "Unit": "cpu_core"
274    },
275    {
276        "BriefDescription": "Mispredicted non-taken conditional branch instructions retired. This precise event may be used to get the misprediction cost via the Retire_Latency field of PEBS. It fires on the instruction that immediately follows the mispredicted branch.",
277        "EventCode": "0xc5",
278        "EventName": "BR_MISP_RETIRED.COND_NTAKEN_COST",
279        "PEBS": "1",
280        "SampleAfterValue": "400009",
281        "UMask": "0x50",
282        "Unit": "cpu_core"
283    },
284    {
285        "BriefDescription": "Counts the number of mispredicted taken JCC (Jump on Conditional Code) branch instructions retired.",
286        "EventCode": "0xc5",
287        "EventName": "BR_MISP_RETIRED.COND_TAKEN",
288        "PEBS": "1",
289        "SampleAfterValue": "200003",
290        "UMask": "0xfe",
291        "Unit": "cpu_atom"
292    },
293    {
294        "BriefDescription": "number of branch instructions retired that were mispredicted and taken.",
295        "EventCode": "0xc5",
296        "EventName": "BR_MISP_RETIRED.COND_TAKEN",
297        "PEBS": "1",
298        "PublicDescription": "Counts taken conditional mispredicted branch instructions retired.",
299        "SampleAfterValue": "400009",
300        "UMask": "0x1",
301        "Unit": "cpu_core"
302    },
303    {
304        "BriefDescription": "Mispredicted taken conditional branch instructions retired. This precise event may be used to get the misprediction cost via the Retire_Latency field of PEBS. It fires on the instruction that immediately follows the mispredicted branch.",
305        "EventCode": "0xc5",
306        "EventName": "BR_MISP_RETIRED.COND_TAKEN_COST",
307        "PEBS": "1",
308        "SampleAfterValue": "400009",
309        "UMask": "0x41",
310        "Unit": "cpu_core"
311    },
312    {
313        "BriefDescription": "Counts the number of mispredicted near indirect JMP and near indirect CALL branch instructions retired.",
314        "EventCode": "0xc5",
315        "EventName": "BR_MISP_RETIRED.INDIRECT",
316        "PEBS": "1",
317        "SampleAfterValue": "200003",
318        "UMask": "0xeb",
319        "Unit": "cpu_atom"
320    },
321    {
322        "BriefDescription": "Miss-predicted near indirect branch instructions retired (excluding returns)",
323        "EventCode": "0xc5",
324        "EventName": "BR_MISP_RETIRED.INDIRECT",
325        "PEBS": "1",
326        "PublicDescription": "Counts miss-predicted near indirect branch instructions retired excluding returns. TSX abort is an indirect branch.",
327        "SampleAfterValue": "100003",
328        "UMask": "0x80",
329        "Unit": "cpu_core"
330    },
331    {
332        "BriefDescription": "Counts the number of mispredicted near indirect CALL branch instructions retired.",
333        "EventCode": "0xc5",
334        "EventName": "BR_MISP_RETIRED.INDIRECT_CALL",
335        "PEBS": "1",
336        "SampleAfterValue": "200003",
337        "UMask": "0xfb",
338        "Unit": "cpu_atom"
339    },
340    {
341        "BriefDescription": "Mispredicted indirect CALL retired.",
342        "EventCode": "0xc5",
343        "EventName": "BR_MISP_RETIRED.INDIRECT_CALL",
344        "PEBS": "1",
345        "PublicDescription": "Counts retired mispredicted indirect (near taken) CALL instructions, including both register and memory indirect.",
346        "SampleAfterValue": "400009",
347        "UMask": "0x2",
348        "Unit": "cpu_core"
349    },
350    {
351        "BriefDescription": "Mispredicted indirect CALL retired. This precise event may be used to get the misprediction cost via the Retire_Latency field of PEBS. It fires on the instruction that immediately follows the mispredicted branch.",
352        "EventCode": "0xc5",
353        "EventName": "BR_MISP_RETIRED.INDIRECT_CALL_COST",
354        "PEBS": "1",
355        "SampleAfterValue": "400009",
356        "UMask": "0x42",
357        "Unit": "cpu_core"
358    },
359    {
360        "BriefDescription": "Mispredicted near indirect branch instructions retired (excluding returns). This precise event may be used to get the misprediction cost via the Retire_Latency field of PEBS. It fires on the instruction that immediately follows the mispredicted branch.",
361        "EventCode": "0xc5",
362        "EventName": "BR_MISP_RETIRED.INDIRECT_COST",
363        "PEBS": "1",
364        "SampleAfterValue": "100003",
365        "UMask": "0xc0",
366        "Unit": "cpu_core"
367    },
368    {
369        "BriefDescription": "Counts the number of mispredicted near taken branch instructions retired.",
370        "EventCode": "0xc5",
371        "EventName": "BR_MISP_RETIRED.NEAR_TAKEN",
372        "PEBS": "1",
373        "SampleAfterValue": "200003",
374        "UMask": "0x80",
375        "Unit": "cpu_atom"
376    },
377    {
378        "BriefDescription": "Number of near branch instructions retired that were mispredicted and taken.",
379        "EventCode": "0xc5",
380        "EventName": "BR_MISP_RETIRED.NEAR_TAKEN",
381        "PEBS": "1",
382        "PublicDescription": "Counts number of near branch instructions retired that were mispredicted and taken.",
383        "SampleAfterValue": "400009",
384        "UMask": "0x20",
385        "Unit": "cpu_core"
386    },
387    {
388        "BriefDescription": "Mispredicted taken near branch instructions retired. This precise event may be used to get the misprediction cost via the Retire_Latency field of PEBS. It fires on the instruction that immediately follows the mispredicted branch.",
389        "EventCode": "0xc5",
390        "EventName": "BR_MISP_RETIRED.NEAR_TAKEN_COST",
391        "PEBS": "1",
392        "SampleAfterValue": "400009",
393        "UMask": "0x60",
394        "Unit": "cpu_core"
395    },
396    {
397        "BriefDescription": "This event counts the number of mispredicted ret instructions retired. Non PEBS",
398        "EventCode": "0xc5",
399        "EventName": "BR_MISP_RETIRED.RET",
400        "PEBS": "1",
401        "PublicDescription": "This is a non-precise version (that is, does not use PEBS) of the event that counts mispredicted return instructions retired.",
402        "SampleAfterValue": "100007",
403        "UMask": "0x8",
404        "Unit": "cpu_core"
405    },
406    {
407        "BriefDescription": "Counts the number of mispredicted near RET branch instructions retired.",
408        "EventCode": "0xc5",
409        "EventName": "BR_MISP_RETIRED.RETURN",
410        "PEBS": "1",
411        "SampleAfterValue": "200003",
412        "UMask": "0xf7",
413        "Unit": "cpu_atom"
414    },
415    {
416        "BriefDescription": "Mispredicted ret instructions retired. This precise event may be used to get the misprediction cost via the Retire_Latency field of PEBS. It fires on the instruction that immediately follows the mispredicted branch.",
417        "EventCode": "0xc5",
418        "EventName": "BR_MISP_RETIRED.RET_COST",
419        "PEBS": "1",
420        "SampleAfterValue": "100007",
421        "UMask": "0x48",
422        "Unit": "cpu_core"
423    },
424    {
425        "BriefDescription": "Core clocks when the thread is in the C0.1 light-weight slower wakeup time but more power saving optimized state.",
426        "EventCode": "0xec",
427        "EventName": "CPU_CLK_UNHALTED.C01",
428        "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.",
429        "SampleAfterValue": "2000003",
430        "UMask": "0x10",
431        "Unit": "cpu_core"
432    },
433    {
434        "BriefDescription": "Core clocks when the thread is in the C0.2 light-weight faster wakeup time but less power saving optimized state.",
435        "EventCode": "0xec",
436        "EventName": "CPU_CLK_UNHALTED.C02",
437        "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.",
438        "SampleAfterValue": "2000003",
439        "UMask": "0x20",
440        "Unit": "cpu_core"
441    },
442    {
443        "BriefDescription": "Core clocks when the thread is in the C0.1 or C0.2 or running a PAUSE in C0 ACPI state.",
444        "EventCode": "0xec",
445        "EventName": "CPU_CLK_UNHALTED.C0_WAIT",
446        "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.",
447        "SampleAfterValue": "2000003",
448        "UMask": "0x70",
449        "Unit": "cpu_core"
450    },
451    {
452        "BriefDescription": "Fixed Counter: Counts the number of unhalted core clock cycles",
453        "EventName": "CPU_CLK_UNHALTED.CORE",
454        "SampleAfterValue": "2000003",
455        "UMask": "0x2",
456        "Unit": "cpu_atom"
457    },
458    {
459        "BriefDescription": "Counts the number of unhalted core clock cycles [This event is alias to CPU_CLK_UNHALTED.THREAD_P]",
460        "EventCode": "0x3c",
461        "EventName": "CPU_CLK_UNHALTED.CORE_P",
462        "SampleAfterValue": "2000003",
463        "Unit": "cpu_atom"
464    },
465    {
466        "BriefDescription": "Cycle counts are evenly distributed between active threads in the Core.",
467        "EventCode": "0xec",
468        "EventName": "CPU_CLK_UNHALTED.DISTRIBUTED",
469        "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.",
470        "SampleAfterValue": "2000003",
471        "UMask": "0x2",
472        "Unit": "cpu_core"
473    },
474    {
475        "BriefDescription": "Core crystal clock cycles when this thread is unhalted and the other thread is halted.",
476        "EventCode": "0x3c",
477        "EventName": "CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE",
478        "PublicDescription": "Counts Core crystal clock cycles when current thread is unhalted and the other thread is halted.",
479        "SampleAfterValue": "25003",
480        "UMask": "0x2",
481        "Unit": "cpu_core"
482    },
483    {
484        "BriefDescription": "CPU_CLK_UNHALTED.PAUSE",
485        "EventCode": "0xec",
486        "EventName": "CPU_CLK_UNHALTED.PAUSE",
487        "SampleAfterValue": "2000003",
488        "UMask": "0x40",
489        "Unit": "cpu_core"
490    },
491    {
492        "BriefDescription": "CPU_CLK_UNHALTED.PAUSE_INST",
493        "CounterMask": "1",
494        "EdgeDetect": "1",
495        "EventCode": "0xec",
496        "EventName": "CPU_CLK_UNHALTED.PAUSE_INST",
497        "SampleAfterValue": "2000003",
498        "UMask": "0x40",
499        "Unit": "cpu_core"
500    },
501    {
502        "BriefDescription": "Core crystal clock cycles. Cycle counts are evenly distributed between active threads in the Core.",
503        "EventCode": "0x3c",
504        "EventName": "CPU_CLK_UNHALTED.REF_DISTRIBUTED",
505        "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.",
506        "SampleAfterValue": "2000003",
507        "UMask": "0x8",
508        "Unit": "cpu_core"
509    },
510    {
511        "BriefDescription": "Fixed Counter: Counts the number of unhalted reference clock cycles",
512        "EventName": "CPU_CLK_UNHALTED.REF_TSC",
513        "SampleAfterValue": "2000003",
514        "UMask": "0x3",
515        "Unit": "cpu_atom"
516    },
517    {
518        "BriefDescription": "Reference cycles when the core is not in halt state.",
519        "EventName": "CPU_CLK_UNHALTED.REF_TSC",
520        "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.",
521        "SampleAfterValue": "2000003",
522        "UMask": "0x3",
523        "Unit": "cpu_core"
524    },
525    {
526        "BriefDescription": "Counts the number of unhalted reference clock cycles at TSC frequency.",
527        "EventCode": "0x3c",
528        "EventName": "CPU_CLK_UNHALTED.REF_TSC_P",
529        "PublicDescription": "Counts the number of reference cycles that the core is not in a halt state. The core enters the halt state when it is running the HLT instruction. This event is not affected by core frequency changes and increments at a fixed frequency that is also used for the Time Stamp Counter (TSC). This event uses a programmable general purpose performance counter.",
530        "SampleAfterValue": "2000003",
531        "UMask": "0x1",
532        "Unit": "cpu_atom"
533    },
534    {
535        "BriefDescription": "Reference cycles when the core is not in halt state.",
536        "EventCode": "0x3c",
537        "EventName": "CPU_CLK_UNHALTED.REF_TSC_P",
538        "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.",
539        "SampleAfterValue": "2000003",
540        "UMask": "0x1",
541        "Unit": "cpu_core"
542    },
543    {
544        "BriefDescription": "Fixed Counter: Counts the number of unhalted core clock cycles",
545        "EventName": "CPU_CLK_UNHALTED.THREAD",
546        "SampleAfterValue": "2000003",
547        "UMask": "0x2",
548        "Unit": "cpu_atom"
549    },
550    {
551        "BriefDescription": "Core cycles when the thread is not in halt state",
552        "EventName": "CPU_CLK_UNHALTED.THREAD",
553        "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.",
554        "SampleAfterValue": "2000003",
555        "UMask": "0x2",
556        "Unit": "cpu_core"
557    },
558    {
559        "BriefDescription": "Counts the number of unhalted core clock cycles [This event is alias to CPU_CLK_UNHALTED.CORE_P]",
560        "EventCode": "0x3c",
561        "EventName": "CPU_CLK_UNHALTED.THREAD_P",
562        "SampleAfterValue": "2000003",
563        "Unit": "cpu_atom"
564    },
565    {
566        "BriefDescription": "Thread cycles when thread is not in halt state",
567        "EventCode": "0x3c",
568        "EventName": "CPU_CLK_UNHALTED.THREAD_P",
569        "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.",
570        "SampleAfterValue": "2000003",
571        "Unit": "cpu_core"
572    },
573    {
574        "BriefDescription": "Cycles while L1 cache miss demand load is outstanding.",
575        "CounterMask": "8",
576        "EventCode": "0xa3",
577        "EventName": "CYCLE_ACTIVITY.CYCLES_L1D_MISS",
578        "SampleAfterValue": "1000003",
579        "UMask": "0x8",
580        "Unit": "cpu_core"
581    },
582    {
583        "BriefDescription": "Cycles while L2 cache miss demand load is outstanding.",
584        "CounterMask": "1",
585        "EventCode": "0xa3",
586        "EventName": "CYCLE_ACTIVITY.CYCLES_L2_MISS",
587        "SampleAfterValue": "1000003",
588        "UMask": "0x1",
589        "Unit": "cpu_core"
590    },
591    {
592        "BriefDescription": "Cycles while memory subsystem has an outstanding load.",
593        "CounterMask": "16",
594        "EventCode": "0xa3",
595        "EventName": "CYCLE_ACTIVITY.CYCLES_MEM_ANY",
596        "SampleAfterValue": "1000003",
597        "UMask": "0x10",
598        "Unit": "cpu_core"
599    },
600    {
601        "BriefDescription": "Execution stalls while L1 cache miss demand load is outstanding.",
602        "CounterMask": "12",
603        "EventCode": "0xa3",
604        "EventName": "CYCLE_ACTIVITY.STALLS_L1D_MISS",
605        "SampleAfterValue": "1000003",
606        "UMask": "0xc",
607        "Unit": "cpu_core"
608    },
609    {
610        "BriefDescription": "Execution stalls while L2 cache miss demand load is outstanding.",
611        "CounterMask": "5",
612        "EventCode": "0xa3",
613        "EventName": "CYCLE_ACTIVITY.STALLS_L2_MISS",
614        "SampleAfterValue": "1000003",
615        "UMask": "0x5",
616        "Unit": "cpu_core"
617    },
618    {
619        "BriefDescription": "Total execution stalls.",
620        "CounterMask": "4",
621        "EventCode": "0xa3",
622        "EventName": "CYCLE_ACTIVITY.STALLS_TOTAL",
623        "SampleAfterValue": "1000003",
624        "UMask": "0x4",
625        "Unit": "cpu_core"
626    },
627    {
628        "BriefDescription": "Cycles total of 1 uop is executed on all ports and Reservation Station was not empty.",
629        "EventCode": "0xa6",
630        "EventName": "EXE_ACTIVITY.1_PORTS_UTIL",
631        "PublicDescription": "Counts cycles during which a total of 1 uop was executed on all ports and Reservation Station (RS) was not empty.",
632        "SampleAfterValue": "2000003",
633        "UMask": "0x2",
634        "Unit": "cpu_core"
635    },
636    {
637        "BriefDescription": "Cycles total of 2 uops are executed on all ports and Reservation Station was not empty.",
638        "EventCode": "0xa6",
639        "EventName": "EXE_ACTIVITY.2_PORTS_UTIL",
640        "PublicDescription": "Counts cycles during which a total of 2 uops were executed on all ports and Reservation Station (RS) was not empty.",
641        "SampleAfterValue": "2000003",
642        "UMask": "0x4",
643        "Unit": "cpu_core"
644    },
645    {
646        "BriefDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station was not empty.",
647        "EventCode": "0xa6",
648        "EventName": "EXE_ACTIVITY.3_PORTS_UTIL",
649        "PublicDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station (RS) was not empty.",
650        "SampleAfterValue": "2000003",
651        "UMask": "0x8",
652        "Unit": "cpu_core"
653    },
654    {
655        "BriefDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station was not empty.",
656        "EventCode": "0xa6",
657        "EventName": "EXE_ACTIVITY.4_PORTS_UTIL",
658        "PublicDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station (RS) was not empty.",
659        "SampleAfterValue": "2000003",
660        "UMask": "0x10",
661        "Unit": "cpu_core"
662    },
663    {
664        "BriefDescription": "Execution stalls while memory subsystem has an outstanding load.",
665        "CounterMask": "5",
666        "EventCode": "0xa6",
667        "EventName": "EXE_ACTIVITY.BOUND_ON_LOADS",
668        "SampleAfterValue": "2000003",
669        "UMask": "0x21",
670        "Unit": "cpu_core"
671    },
672    {
673        "BriefDescription": "Cycles where the Store Buffer was full and no loads caused an execution stall.",
674        "CounterMask": "2",
675        "EventCode": "0xa6",
676        "EventName": "EXE_ACTIVITY.BOUND_ON_STORES",
677        "PublicDescription": "Counts cycles where the Store Buffer was full and no loads caused an execution stall.",
678        "SampleAfterValue": "1000003",
679        "UMask": "0x40",
680        "Unit": "cpu_core"
681    },
682    {
683        "BriefDescription": "Cycles no uop executed while RS was not empty, the SB was not full and there was no outstanding load.",
684        "EventCode": "0xa6",
685        "EventName": "EXE_ACTIVITY.EXE_BOUND_0_PORTS",
686        "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.",
687        "SampleAfterValue": "1000003",
688        "UMask": "0x80",
689        "Unit": "cpu_core"
690    },
691    {
692        "BriefDescription": "Instruction decoders utilized in a cycle",
693        "EventCode": "0x75",
694        "EventName": "INST_DECODED.DECODERS",
695        "PublicDescription": "Number of decoders utilized in a cycle when the MITE (legacy decode pipeline) fetches instructions.",
696        "SampleAfterValue": "2000003",
697        "UMask": "0x1",
698        "Unit": "cpu_core"
699    },
700    {
701        "BriefDescription": "Fixed Counter: Counts the number of instructions retired",
702        "EventName": "INST_RETIRED.ANY",
703        "PEBS": "1",
704        "SampleAfterValue": "2000003",
705        "UMask": "0x1",
706        "Unit": "cpu_atom"
707    },
708    {
709        "BriefDescription": "Number of instructions retired. Fixed Counter - architectural event",
710        "EventName": "INST_RETIRED.ANY",
711        "PEBS": "1",
712        "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.",
713        "SampleAfterValue": "2000003",
714        "UMask": "0x1",
715        "Unit": "cpu_core"
716    },
717    {
718        "BriefDescription": "Counts the number of instructions retired",
719        "EventCode": "0xc0",
720        "EventName": "INST_RETIRED.ANY_P",
721        "PEBS": "1",
722        "SampleAfterValue": "2000003",
723        "Unit": "cpu_atom"
724    },
725    {
726        "BriefDescription": "Number of instructions retired. General Counter - architectural event",
727        "EventCode": "0xc0",
728        "EventName": "INST_RETIRED.ANY_P",
729        "PEBS": "1",
730        "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.",
731        "SampleAfterValue": "2000003",
732        "Unit": "cpu_core"
733    },
734    {
735        "BriefDescription": "INST_RETIRED.MACRO_FUSED",
736        "EventCode": "0xc0",
737        "EventName": "INST_RETIRED.MACRO_FUSED",
738        "PEBS": "1",
739        "SampleAfterValue": "2000003",
740        "UMask": "0x10",
741        "Unit": "cpu_core"
742    },
743    {
744        "BriefDescription": "Retired NOP instructions.",
745        "EventCode": "0xc0",
746        "EventName": "INST_RETIRED.NOP",
747        "PEBS": "1",
748        "PublicDescription": "Counts all retired NOP or ENDBR32/64 or PREFETCHIT0/1 instructions",
749        "SampleAfterValue": "2000003",
750        "UMask": "0x2",
751        "Unit": "cpu_core"
752    },
753    {
754        "BriefDescription": "Precise instruction retired with PEBS precise-distribution",
755        "EventName": "INST_RETIRED.PREC_DIST",
756        "PEBS": "1",
757        "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.",
758        "SampleAfterValue": "2000003",
759        "UMask": "0x1",
760        "Unit": "cpu_core"
761    },
762    {
763        "BriefDescription": "Iterations of Repeat string retired instructions.",
764        "EventCode": "0xc0",
765        "EventName": "INST_RETIRED.REP_ITERATION",
766        "PEBS": "1",
767        "PublicDescription": "Number of iterations of Repeat (REP) string retired instructions such as MOVS, CMPS, and SCAS. Each has a byte, word, and doubleword version and string instructions can be repeated using a repetition prefix, REP, that allows their architectural execution to be repeated a number of times as specified by the RCX register. Note the number of iterations is implementation-dependent.",
768        "SampleAfterValue": "2000003",
769        "UMask": "0x8",
770        "Unit": "cpu_core"
771    },
772    {
773        "BriefDescription": "Cycles the Backend cluster is recovering after a miss-speculation or a Store Buffer or Load Buffer drain stall.",
774        "CounterMask": "1",
775        "EventCode": "0xad",
776        "EventName": "INT_MISC.ALL_RECOVERY_CYCLES",
777        "PublicDescription": "Counts cycles the Backend cluster is recovering after a miss-speculation or a Store Buffer or Load Buffer drain stall.",
778        "SampleAfterValue": "2000003",
779        "UMask": "0x3",
780        "Unit": "cpu_core"
781    },
782    {
783        "BriefDescription": "Clears speculative count",
784        "CounterMask": "1",
785        "EdgeDetect": "1",
786        "EventCode": "0xad",
787        "EventName": "INT_MISC.CLEARS_COUNT",
788        "PublicDescription": "Counts the number of speculative clears due to any type of branch misprediction or machine clears",
789        "SampleAfterValue": "500009",
790        "UMask": "0x1",
791        "Unit": "cpu_core"
792    },
793    {
794        "BriefDescription": "Counts cycles after recovery from a branch misprediction or machine clear till the first uop is issued from the resteered path.",
795        "EventCode": "0xad",
796        "EventName": "INT_MISC.CLEAR_RESTEER_CYCLES",
797        "PublicDescription": "Cycles after recovery from a branch misprediction or machine clear till the first uop is issued from the resteered path.",
798        "SampleAfterValue": "500009",
799        "UMask": "0x80",
800        "Unit": "cpu_core"
801    },
802    {
803        "BriefDescription": "Cycles when Resource Allocation Table (RAT) external stall is sent to Instruction Decode Queue (IDQ) for the thread",
804        "EventCode": "0xad",
805        "EventName": "INT_MISC.RAT_STALLS",
806        "PublicDescription": "This event counts the number of cycles during which Resource Allocation Table (RAT) external stall is sent to Instruction Decode Queue (IDQ) for the current thread. This also includes the cycles during which the Allocator is serving another thread.",
807        "SampleAfterValue": "1000003",
808        "UMask": "0x8",
809        "Unit": "cpu_core"
810    },
811    {
812        "BriefDescription": "Core cycles the allocator was stalled due to recovery from earlier clear event for this thread",
813        "EventCode": "0xad",
814        "EventName": "INT_MISC.RECOVERY_CYCLES",
815        "PublicDescription": "Counts core cycles when the Resource allocator was stalled due to recovery from an earlier branch misprediction or machine clear event.",
816        "SampleAfterValue": "500009",
817        "UMask": "0x1",
818        "Unit": "cpu_core"
819    },
820    {
821        "BriefDescription": "Bubble cycles of BAClear (Unknown Branch).",
822        "EventCode": "0xad",
823        "EventName": "INT_MISC.UNKNOWN_BRANCH_CYCLES",
824        "MSRIndex": "0x3F7",
825        "MSRValue": "0x7",
826        "SampleAfterValue": "1000003",
827        "UMask": "0x40",
828        "Unit": "cpu_core"
829    },
830    {
831        "BriefDescription": "TMA slots where uops got dropped",
832        "EventCode": "0xad",
833        "EventName": "INT_MISC.UOP_DROPPING",
834        "PublicDescription": "Estimated number of Top-down Microarchitecture Analysis slots that got dropped due to non front-end reasons",
835        "SampleAfterValue": "1000003",
836        "UMask": "0x10",
837        "Unit": "cpu_core"
838    },
839    {
840        "BriefDescription": "INT_VEC_RETIRED.128BIT",
841        "EventCode": "0xe7",
842        "EventName": "INT_VEC_RETIRED.128BIT",
843        "SampleAfterValue": "1000003",
844        "UMask": "0x13",
845        "Unit": "cpu_core"
846    },
847    {
848        "BriefDescription": "INT_VEC_RETIRED.256BIT",
849        "EventCode": "0xe7",
850        "EventName": "INT_VEC_RETIRED.256BIT",
851        "SampleAfterValue": "1000003",
852        "UMask": "0xac",
853        "Unit": "cpu_core"
854    },
855    {
856        "BriefDescription": "integer ADD, SUB, SAD 128-bit vector instructions.",
857        "EventCode": "0xe7",
858        "EventName": "INT_VEC_RETIRED.ADD_128",
859        "PublicDescription": "Number of retired integer ADD/SUB (regular or horizontal), SAD 128-bit vector instructions.",
860        "SampleAfterValue": "1000003",
861        "UMask": "0x3",
862        "Unit": "cpu_core"
863    },
864    {
865        "BriefDescription": "integer ADD, SUB, SAD 256-bit vector instructions.",
866        "EventCode": "0xe7",
867        "EventName": "INT_VEC_RETIRED.ADD_256",
868        "PublicDescription": "Number of retired integer ADD/SUB (regular or horizontal), SAD 256-bit vector instructions.",
869        "SampleAfterValue": "1000003",
870        "UMask": "0xc",
871        "Unit": "cpu_core"
872    },
873    {
874        "BriefDescription": "INT_VEC_RETIRED.MUL_256",
875        "EventCode": "0xe7",
876        "EventName": "INT_VEC_RETIRED.MUL_256",
877        "SampleAfterValue": "1000003",
878        "UMask": "0x80",
879        "Unit": "cpu_core"
880    },
881    {
882        "BriefDescription": "INT_VEC_RETIRED.SHUFFLES",
883        "EventCode": "0xe7",
884        "EventName": "INT_VEC_RETIRED.SHUFFLES",
885        "SampleAfterValue": "1000003",
886        "UMask": "0x40",
887        "Unit": "cpu_core"
888    },
889    {
890        "BriefDescription": "INT_VEC_RETIRED.VNNI_128",
891        "EventCode": "0xe7",
892        "EventName": "INT_VEC_RETIRED.VNNI_128",
893        "SampleAfterValue": "1000003",
894        "UMask": "0x10",
895        "Unit": "cpu_core"
896    },
897    {
898        "BriefDescription": "INT_VEC_RETIRED.VNNI_256",
899        "EventCode": "0xe7",
900        "EventName": "INT_VEC_RETIRED.VNNI_256",
901        "SampleAfterValue": "1000003",
902        "UMask": "0x20",
903        "Unit": "cpu_core"
904    },
905    {
906        "BriefDescription": "Counts the number of retired loads that are blocked because it initially appears to be store forward blocked, but subsequently is shown not to be blocked based on 4K alias check.",
907        "EventCode": "0x03",
908        "EventName": "LD_BLOCKS.ADDRESS_ALIAS",
909        "PEBS": "1",
910        "SampleAfterValue": "1000003",
911        "UMask": "0x4",
912        "Unit": "cpu_atom"
913    },
914    {
915        "BriefDescription": "False dependencies in MOB due to partial compare on address.",
916        "EventCode": "0x03",
917        "EventName": "LD_BLOCKS.ADDRESS_ALIAS",
918        "PublicDescription": "Counts the number of times a load got blocked due to false dependencies in MOB due to partial compare on address.",
919        "SampleAfterValue": "100003",
920        "UMask": "0x4",
921        "Unit": "cpu_core"
922    },
923    {
924        "BriefDescription": "Counts the number of retired loads that are blocked because its address exactly matches an older store whose data is not ready.",
925        "EventCode": "0x03",
926        "EventName": "LD_BLOCKS.DATA_UNKNOWN",
927        "PEBS": "1",
928        "SampleAfterValue": "1000003",
929        "UMask": "0x1",
930        "Unit": "cpu_atom"
931    },
932    {
933        "BriefDescription": "The number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.",
934        "EventCode": "0x03",
935        "EventName": "LD_BLOCKS.NO_SR",
936        "PublicDescription": "Counts the number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.",
937        "SampleAfterValue": "100003",
938        "UMask": "0x88",
939        "Unit": "cpu_core"
940    },
941    {
942        "BriefDescription": "Counts the number of retired loads that are blocked because its address partially overlapped with an older store.",
943        "EventCode": "0x03",
944        "EventName": "LD_BLOCKS.STORE_FORWARD",
945        "PEBS": "1",
946        "SampleAfterValue": "1000003",
947        "UMask": "0x2",
948        "Unit": "cpu_atom"
949    },
950    {
951        "BriefDescription": "Loads blocked due to overlapping with a preceding store that cannot be forwarded.",
952        "EventCode": "0x03",
953        "EventName": "LD_BLOCKS.STORE_FORWARD",
954        "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.",
955        "SampleAfterValue": "100003",
956        "UMask": "0x82",
957        "Unit": "cpu_core"
958    },
959    {
960        "BriefDescription": "Cycles Uops delivered by the LSD, but didn't come from the decoder.",
961        "CounterMask": "1",
962        "EventCode": "0xa8",
963        "EventName": "LSD.CYCLES_ACTIVE",
964        "PublicDescription": "Counts the cycles when at least one uop is delivered by the LSD (Loop-stream detector).",
965        "SampleAfterValue": "2000003",
966        "UMask": "0x1",
967        "Unit": "cpu_core"
968    },
969    {
970        "BriefDescription": "Cycles optimal number of Uops delivered by the LSD, but did not come from the decoder.",
971        "CounterMask": "6",
972        "EventCode": "0xa8",
973        "EventName": "LSD.CYCLES_OK",
974        "PublicDescription": "Counts the cycles when optimal number of uops is delivered by the LSD (Loop-stream detector).",
975        "SampleAfterValue": "2000003",
976        "UMask": "0x1",
977        "Unit": "cpu_core"
978    },
979    {
980        "BriefDescription": "Number of Uops delivered by the LSD.",
981        "EventCode": "0xa8",
982        "EventName": "LSD.UOPS",
983        "PublicDescription": "Counts the number of uops delivered to the back-end by the LSD(Loop Stream Detector).",
984        "SampleAfterValue": "2000003",
985        "UMask": "0x1",
986        "Unit": "cpu_core"
987    },
988    {
989        "BriefDescription": "Number of machine clears (nukes) of any type.",
990        "CounterMask": "1",
991        "EdgeDetect": "1",
992        "EventCode": "0xc3",
993        "EventName": "MACHINE_CLEARS.COUNT",
994        "PublicDescription": "Counts the number of machine clears (nukes) of any type.",
995        "SampleAfterValue": "100003",
996        "UMask": "0x1",
997        "Unit": "cpu_core"
998    },
999    {
1000        "BriefDescription": "Counts the number of machine clears due to memory ordering in which an internal load passes an older store within the same CPU.",
1001        "EventCode": "0xc3",
1002        "EventName": "MACHINE_CLEARS.DISAMBIGUATION",
1003        "SampleAfterValue": "20003",
1004        "UMask": "0x8",
1005        "Unit": "cpu_atom"
1006    },
1007    {
1008        "BriefDescription": "Counts the number of machine clears due to a page fault.  Counts both I-Side and D-Side (Loads/Stores) page faults.  A page fault occurs when either the page is not present, or an access violation occurs.",
1009        "EventCode": "0xc3",
1010        "EventName": "MACHINE_CLEARS.PAGE_FAULT",
1011        "SampleAfterValue": "20003",
1012        "UMask": "0x20",
1013        "Unit": "cpu_atom"
1014    },
1015    {
1016        "BriefDescription": "Counts the number of machine clears that flush the pipeline and restart the machine with the use of microcode due to SMC, MEMORY_ORDERING, FP_ASSISTS, PAGE_FAULT, DISAMBIGUATION, and FPC_VIRTUAL_TRAP.",
1017        "EventCode": "0xc3",
1018        "EventName": "MACHINE_CLEARS.SLOW",
1019        "SampleAfterValue": "20003",
1020        "UMask": "0x6f",
1021        "Unit": "cpu_atom"
1022    },
1023    {
1024        "BriefDescription": "Counts the number of machine clears due to program modifying data (self modifying code) within 1K of a recently fetched code page.",
1025        "EventCode": "0xc3",
1026        "EventName": "MACHINE_CLEARS.SMC",
1027        "SampleAfterValue": "20003",
1028        "UMask": "0x1",
1029        "Unit": "cpu_atom"
1030    },
1031    {
1032        "BriefDescription": "Self-modifying code (SMC) detected.",
1033        "EventCode": "0xc3",
1034        "EventName": "MACHINE_CLEARS.SMC",
1035        "PublicDescription": "Counts self-modifying code (SMC) detected, which causes a machine clear.",
1036        "SampleAfterValue": "100003",
1037        "UMask": "0x4",
1038        "Unit": "cpu_core"
1039    },
1040    {
1041        "BriefDescription": "LFENCE instructions retired",
1042        "EventCode": "0xe0",
1043        "EventName": "MISC2_RETIRED.LFENCE",
1044        "PublicDescription": "number of LFENCE retired instructions",
1045        "SampleAfterValue": "400009",
1046        "UMask": "0x20",
1047        "Unit": "cpu_core"
1048    },
1049    {
1050        "BriefDescription": "Counts the number of Last Branch Record (LBR) entries. Requires LBRs to be enabled and configured in IA32_LBR_CTL. [This event is alias to LBR_INSERTS.ANY]",
1051        "EventCode": "0xe4",
1052        "EventName": "MISC_RETIRED.LBR_INSERTS",
1053        "PEBS": "1",
1054        "SampleAfterValue": "1000003",
1055        "UMask": "0x1",
1056        "Unit": "cpu_atom"
1057    },
1058    {
1059        "BriefDescription": "Counts cycles where the pipeline is stalled due to serializing operations.",
1060        "EventCode": "0xa2",
1061        "EventName": "RESOURCE_STALLS.SCOREBOARD",
1062        "SampleAfterValue": "100003",
1063        "UMask": "0x2",
1064        "Unit": "cpu_core"
1065    },
1066    {
1067        "BriefDescription": "This event counts a subset of the Topdown Slots event that were not consumed by the back-end pipeline due to lack of back-end resources, as a result of memory subsystem delays, execution units limitations, or other conditions.",
1068        "EventCode": "0xa4",
1069        "EventName": "TOPDOWN.BACKEND_BOUND_SLOTS",
1070        "PublicDescription": "This event counts a subset of the Topdown Slots event that were not consumed by the back-end pipeline due to lack of back-end resources, as a result of memory subsystem delays, execution units limitations, or other conditions. The count is distributed among unhalted logical processors (hyper-threads) who share the same physical core, in processors that support Intel Hyper-Threading Technology. Software can use this event as the numerator for the Backend Bound metric (or top-level category) of the Top-down Microarchitecture Analysis method.",
1071        "SampleAfterValue": "10000003",
1072        "UMask": "0x2",
1073        "Unit": "cpu_core"
1074    },
1075    {
1076        "BriefDescription": "TMA slots wasted due to incorrect speculations.",
1077        "EventCode": "0xa4",
1078        "EventName": "TOPDOWN.BAD_SPEC_SLOTS",
1079        "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.",
1080        "SampleAfterValue": "10000003",
1081        "UMask": "0x4",
1082        "Unit": "cpu_core"
1083    },
1084    {
1085        "BriefDescription": "TMA slots wasted due to incorrect speculation by branch mispredictions",
1086        "EventCode": "0xa4",
1087        "EventName": "TOPDOWN.BR_MISPREDICT_SLOTS",
1088        "PublicDescription": "Number of TMA slots that were wasted due to incorrect speculation by (any type of) branch mispredictions. This event estimates number of speculative operations that were issued but not retired as well as the out-of-order engine recovery past a branch misprediction.",
1089        "SampleAfterValue": "10000003",
1090        "UMask": "0x8",
1091        "Unit": "cpu_core"
1092    },
1093    {
1094        "BriefDescription": "TOPDOWN.MEMORY_BOUND_SLOTS",
1095        "EventCode": "0xa4",
1096        "EventName": "TOPDOWN.MEMORY_BOUND_SLOTS",
1097        "SampleAfterValue": "10000003",
1098        "UMask": "0x10",
1099        "Unit": "cpu_core"
1100    },
1101    {
1102        "BriefDescription": "TMA slots available for an unhalted logical processor. Fixed counter - architectural event",
1103        "EventName": "TOPDOWN.SLOTS",
1104        "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).",
1105        "SampleAfterValue": "10000003",
1106        "UMask": "0x4",
1107        "Unit": "cpu_core"
1108    },
1109    {
1110        "BriefDescription": "TMA slots available for an unhalted logical processor. General counter - architectural event",
1111        "EventCode": "0xa4",
1112        "EventName": "TOPDOWN.SLOTS_P",
1113        "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.",
1114        "SampleAfterValue": "10000003",
1115        "UMask": "0x1",
1116        "Unit": "cpu_core"
1117    },
1118    {
1119        "BriefDescription": "Counts the number of issue slots that were not consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear. [This event is alias to TOPDOWN_BAD_SPECULATION.ALL_P]",
1120        "EventCode": "0x73",
1121        "EventName": "TOPDOWN_BAD_SPECULATION.ALL",
1122        "PublicDescription": "Counts the total number of issue slots that were not consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear. Only issue slots wasted due to fast nukes such as memory ordering nukes are counted. Other nukes are not accounted for. Counts all issue slots blocked during this recovery window, including relevant microcode flows, and while uops are not yet available in the instruction queue (IQ) or until an FE_BOUND event occurs besides OTHER and CISC. Also includes the issue slots that were consumed by the backend but were thrown away because they were younger than the mispredict or machine clear. [This event is alias to TOPDOWN_BAD_SPECULATION.ALL_P]",
1123        "SampleAfterValue": "1000003",
1124        "Unit": "cpu_atom"
1125    },
1126    {
1127        "BriefDescription": "Counts the number of issue slots that were not consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear. [This event is alias to TOPDOWN_BAD_SPECULATION.ALL]",
1128        "EventCode": "0x73",
1129        "EventName": "TOPDOWN_BAD_SPECULATION.ALL_P",
1130        "PublicDescription": "Counts the total number of issue slots that were not consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear. Only issue slots wasted due to fast nukes such as memory ordering nukes are counted. Other nukes are not accounted for. Counts all issue slots blocked during this recovery window, including relevant microcode flows, and while uops are not yet available in the instruction queue (IQ) or until an FE_BOUND event occurs besides OTHER and CISC. Also includes the issue slots that were consumed by the backend but were thrown away because they were younger than the mispredict or machine clear. [This event is alias to TOPDOWN_BAD_SPECULATION.ALL]",
1131        "SampleAfterValue": "1000003",
1132        "Unit": "cpu_atom"
1133    },
1134    {
1135        "BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the backend due to Fast Nukes such as  Memory Ordering Machine clears and MRN nukes",
1136        "EventCode": "0x73",
1137        "EventName": "TOPDOWN_BAD_SPECULATION.FASTNUKE",
1138        "SampleAfterValue": "1000003",
1139        "UMask": "0x2",
1140        "Unit": "cpu_atom"
1141    },
1142    {
1143        "BriefDescription": "Counts the total number of issue slots that were not consumed by the backend because allocation is stalled due to a machine clear (nuke) of any kind including memory ordering and memory disambiguation.",
1144        "EventCode": "0x73",
1145        "EventName": "TOPDOWN_BAD_SPECULATION.MACHINE_CLEARS",
1146        "SampleAfterValue": "1000003",
1147        "UMask": "0x3",
1148        "Unit": "cpu_atom"
1149    },
1150    {
1151        "BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the backend due to Branch Mispredict",
1152        "EventCode": "0x73",
1153        "EventName": "TOPDOWN_BAD_SPECULATION.MISPREDICT",
1154        "SampleAfterValue": "1000003",
1155        "UMask": "0x4",
1156        "Unit": "cpu_atom"
1157    },
1158    {
1159        "BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the backend due to a machine clear (nuke).",
1160        "EventCode": "0x73",
1161        "EventName": "TOPDOWN_BAD_SPECULATION.NUKE",
1162        "SampleAfterValue": "1000003",
1163        "UMask": "0x1",
1164        "Unit": "cpu_atom"
1165    },
1166    {
1167        "BriefDescription": "Counts the number of retirement slots not consumed due to backend stalls [This event is alias to TOPDOWN_BE_BOUND.ALL_P]",
1168        "EventCode": "0x74",
1169        "EventName": "TOPDOWN_BE_BOUND.ALL",
1170        "SampleAfterValue": "1000003",
1171        "Unit": "cpu_atom"
1172    },
1173    {
1174        "BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the backend due to due to certain allocation restrictions",
1175        "EventCode": "0x74",
1176        "EventName": "TOPDOWN_BE_BOUND.ALLOC_RESTRICTIONS",
1177        "SampleAfterValue": "1000003",
1178        "UMask": "0x1",
1179        "Unit": "cpu_atom"
1180    },
1181    {
1182        "BriefDescription": "Counts the number of retirement slots not consumed due to backend stalls [This event is alias to TOPDOWN_BE_BOUND.ALL]",
1183        "EventCode": "0x74",
1184        "EventName": "TOPDOWN_BE_BOUND.ALL_P",
1185        "SampleAfterValue": "1000003",
1186        "Unit": "cpu_atom"
1187    },
1188    {
1189        "BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the backend due to memory reservation stall (scheduler not being able to accept another uop).  This could be caused by RSV full or load/store buffer block.",
1190        "EventCode": "0x74",
1191        "EventName": "TOPDOWN_BE_BOUND.MEM_SCHEDULER",
1192        "SampleAfterValue": "1000003",
1193        "UMask": "0x2",
1194        "Unit": "cpu_atom"
1195    },
1196    {
1197        "BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the backend due to IEC and FPC RAT stalls - which can be due to the FIQ and IEC reservation station stall (integer, FP and SIMD scheduler not being able to accept another uop. )",
1198        "EventCode": "0x74",
1199        "EventName": "TOPDOWN_BE_BOUND.NON_MEM_SCHEDULER",
1200        "SampleAfterValue": "1000003",
1201        "UMask": "0x8",
1202        "Unit": "cpu_atom"
1203    },
1204    {
1205        "BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the backend due to mrbl stall.  A 'marble' refers to a physical register file entry, also known as the physical destination (PDST).",
1206        "EventCode": "0x74",
1207        "EventName": "TOPDOWN_BE_BOUND.REGISTER",
1208        "SampleAfterValue": "1000003",
1209        "UMask": "0x20",
1210        "Unit": "cpu_atom"
1211    },
1212    {
1213        "BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the backend due to ROB full",
1214        "EventCode": "0x74",
1215        "EventName": "TOPDOWN_BE_BOUND.REORDER_BUFFER",
1216        "SampleAfterValue": "1000003",
1217        "UMask": "0x40",
1218        "Unit": "cpu_atom"
1219    },
1220    {
1221        "BriefDescription": "Counts the number of issue slots every cycle that were not consumed by the backend due to iq/jeu scoreboards or ms scb",
1222        "EventCode": "0x74",
1223        "EventName": "TOPDOWN_BE_BOUND.SERIALIZATION",
1224        "SampleAfterValue": "1000003",
1225        "UMask": "0x10",
1226        "Unit": "cpu_atom"
1227    },
1228    {
1229        "BriefDescription": "Counts the number of retirement slots not consumed due to front end stalls [This event is alias to TOPDOWN_FE_BOUND.ALL_P]",
1230        "EventCode": "0x71",
1231        "EventName": "TOPDOWN_FE_BOUND.ALL",
1232        "SampleAfterValue": "1000003",
1233        "Unit": "cpu_atom"
1234    },
1235    {
1236        "BriefDescription": "Counts the number of retirement slots not consumed due to front end stalls [This event is alias to TOPDOWN_FE_BOUND.ALL]",
1237        "EventCode": "0x71",
1238        "EventName": "TOPDOWN_FE_BOUND.ALL_P",
1239        "SampleAfterValue": "1000003",
1240        "Unit": "cpu_atom"
1241    },
1242    {
1243        "BriefDescription": "Counts the number of issue slots every cycle that were not delivered by the frontend due to BAClear",
1244        "EventCode": "0x71",
1245        "EventName": "TOPDOWN_FE_BOUND.BRANCH_DETECT",
1246        "SampleAfterValue": "1000003",
1247        "UMask": "0x2",
1248        "Unit": "cpu_atom"
1249    },
1250    {
1251        "BriefDescription": "Counts the number of issue slots every cycle that were not delivered by the frontend due to BTClear",
1252        "EventCode": "0x71",
1253        "EventName": "TOPDOWN_FE_BOUND.BRANCH_RESTEER",
1254        "SampleAfterValue": "1000003",
1255        "UMask": "0x40",
1256        "Unit": "cpu_atom"
1257    },
1258    {
1259        "BriefDescription": "Counts the number of issue slots every cycle that were not delivered by the frontend due to ms",
1260        "EventCode": "0x71",
1261        "EventName": "TOPDOWN_FE_BOUND.CISC",
1262        "SampleAfterValue": "1000003",
1263        "UMask": "0x1",
1264        "Unit": "cpu_atom"
1265    },
1266    {
1267        "BriefDescription": "Counts the number of issue slots every cycle that were not delivered by the frontend due to decode stall",
1268        "EventCode": "0x71",
1269        "EventName": "TOPDOWN_FE_BOUND.DECODE",
1270        "SampleAfterValue": "1000003",
1271        "UMask": "0x8",
1272        "Unit": "cpu_atom"
1273    },
1274    {
1275        "BriefDescription": "Counts the number of issue slots every cycle that were not delivered by the frontend due to frontend bandwidth restrictions due to decode, predecode, cisc, and other limitations.",
1276        "EventCode": "0x71",
1277        "EventName": "TOPDOWN_FE_BOUND.FRONTEND_BANDWIDTH",
1278        "SampleAfterValue": "1000003",
1279        "UMask": "0x8d",
1280        "Unit": "cpu_atom"
1281    },
1282    {
1283        "BriefDescription": "Counts the number of issue slots every cycle that were not delivered by the frontend due to latency related stalls including BACLEARs, BTCLEARs, ITLB misses, and ICache misses.",
1284        "EventCode": "0x71",
1285        "EventName": "TOPDOWN_FE_BOUND.FRONTEND_LATENCY",
1286        "SampleAfterValue": "1000003",
1287        "UMask": "0x72",
1288        "Unit": "cpu_atom"
1289    },
1290    {
1291        "BriefDescription": "This event is deprecated. [This event is alias to TOPDOWN_FE_BOUND.ITLB_MISS]",
1292        "Deprecated": "1",
1293        "EventCode": "0x71",
1294        "EventName": "TOPDOWN_FE_BOUND.ITLB",
1295        "SampleAfterValue": "1000003",
1296        "UMask": "0x10",
1297        "Unit": "cpu_atom"
1298    },
1299    {
1300        "BriefDescription": "Counts the number of issue slots every cycle that were not delivered by the frontend due to itlb miss [This event is alias to TOPDOWN_FE_BOUND.ITLB]",
1301        "EventCode": "0x71",
1302        "EventName": "TOPDOWN_FE_BOUND.ITLB_MISS",
1303        "SampleAfterValue": "1000003",
1304        "UMask": "0x10",
1305        "Unit": "cpu_atom"
1306    },
1307    {
1308        "BriefDescription": "Counts the number of issue slots every cycle that were not delivered by the frontend that do not categorize into any other common frontend stall",
1309        "EventCode": "0x71",
1310        "EventName": "TOPDOWN_FE_BOUND.OTHER",
1311        "SampleAfterValue": "1000003",
1312        "UMask": "0x80",
1313        "Unit": "cpu_atom"
1314    },
1315    {
1316        "BriefDescription": "Counts the number of issue slots every cycle that were not delivered by the frontend due to predecode wrong",
1317        "EventCode": "0x71",
1318        "EventName": "TOPDOWN_FE_BOUND.PREDECODE",
1319        "SampleAfterValue": "1000003",
1320        "UMask": "0x4",
1321        "Unit": "cpu_atom"
1322    },
1323    {
1324        "BriefDescription": "Counts the number of consumed retirement slots.  Similar to UOPS_RETIRED.ALL [This event is alias to TOPDOWN_RETIRING.ALL_P]",
1325        "EventCode": "0x72",
1326        "EventName": "TOPDOWN_RETIRING.ALL",
1327        "PEBS": "1",
1328        "SampleAfterValue": "1000003",
1329        "Unit": "cpu_atom"
1330    },
1331    {
1332        "BriefDescription": "Counts the number of consumed retirement slots.  Similar to UOPS_RETIRED.ALL [This event is alias to TOPDOWN_RETIRING.ALL]",
1333        "EventCode": "0x72",
1334        "EventName": "TOPDOWN_RETIRING.ALL_P",
1335        "PEBS": "1",
1336        "SampleAfterValue": "1000003",
1337        "Unit": "cpu_atom"
1338    },
1339    {
1340        "BriefDescription": "Number of non dec-by-all uops decoded by decoder",
1341        "EventCode": "0x76",
1342        "EventName": "UOPS_DECODED.DEC0_UOPS",
1343        "PublicDescription": "This event counts the number of not dec-by-all uops decoded by decoder 0.",
1344        "SampleAfterValue": "1000003",
1345        "UMask": "0x1",
1346        "Unit": "cpu_core"
1347    },
1348    {
1349        "BriefDescription": "Uops executed on port 0",
1350        "EventCode": "0xb2",
1351        "EventName": "UOPS_DISPATCHED.PORT_0",
1352        "PublicDescription": "Number of uops dispatch to execution  port 0.",
1353        "SampleAfterValue": "2000003",
1354        "UMask": "0x1",
1355        "Unit": "cpu_core"
1356    },
1357    {
1358        "BriefDescription": "Uops executed on port 1",
1359        "EventCode": "0xb2",
1360        "EventName": "UOPS_DISPATCHED.PORT_1",
1361        "PublicDescription": "Number of uops dispatch to execution  port 1.",
1362        "SampleAfterValue": "2000003",
1363        "UMask": "0x2",
1364        "Unit": "cpu_core"
1365    },
1366    {
1367        "BriefDescription": "Uops executed on ports 2, 3 and 10",
1368        "EventCode": "0xb2",
1369        "EventName": "UOPS_DISPATCHED.PORT_2_3_10",
1370        "PublicDescription": "Number of uops dispatch to execution ports 2, 3 and 10",
1371        "SampleAfterValue": "2000003",
1372        "UMask": "0x4",
1373        "Unit": "cpu_core"
1374    },
1375    {
1376        "BriefDescription": "Uops executed on ports 4 and 9",
1377        "EventCode": "0xb2",
1378        "EventName": "UOPS_DISPATCHED.PORT_4_9",
1379        "PublicDescription": "Number of uops dispatch to execution ports 4 and 9",
1380        "SampleAfterValue": "2000003",
1381        "UMask": "0x10",
1382        "Unit": "cpu_core"
1383    },
1384    {
1385        "BriefDescription": "Uops executed on ports 5 and 11",
1386        "EventCode": "0xb2",
1387        "EventName": "UOPS_DISPATCHED.PORT_5_11",
1388        "PublicDescription": "Number of uops dispatch to execution ports 5 and 11",
1389        "SampleAfterValue": "2000003",
1390        "UMask": "0x20",
1391        "Unit": "cpu_core"
1392    },
1393    {
1394        "BriefDescription": "Uops executed on port 6",
1395        "EventCode": "0xb2",
1396        "EventName": "UOPS_DISPATCHED.PORT_6",
1397        "PublicDescription": "Number of uops dispatch to execution  port 6.",
1398        "SampleAfterValue": "2000003",
1399        "UMask": "0x40",
1400        "Unit": "cpu_core"
1401    },
1402    {
1403        "BriefDescription": "Uops executed on ports 7 and 8",
1404        "EventCode": "0xb2",
1405        "EventName": "UOPS_DISPATCHED.PORT_7_8",
1406        "PublicDescription": "Number of uops dispatch to execution  ports 7 and 8.",
1407        "SampleAfterValue": "2000003",
1408        "UMask": "0x80",
1409        "Unit": "cpu_core"
1410    },
1411    {
1412        "BriefDescription": "Number of uops executed on the core.",
1413        "EventCode": "0xb1",
1414        "EventName": "UOPS_EXECUTED.CORE",
1415        "PublicDescription": "Counts the number of uops executed from any thread.",
1416        "SampleAfterValue": "2000003",
1417        "UMask": "0x2",
1418        "Unit": "cpu_core"
1419    },
1420    {
1421        "BriefDescription": "Cycles at least 1 micro-op is executed from any thread on physical core.",
1422        "CounterMask": "1",
1423        "EventCode": "0xb1",
1424        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_1",
1425        "PublicDescription": "Counts cycles when at least 1 micro-op is executed from any thread on physical core.",
1426        "SampleAfterValue": "2000003",
1427        "UMask": "0x2",
1428        "Unit": "cpu_core"
1429    },
1430    {
1431        "BriefDescription": "Cycles at least 2 micro-op is executed from any thread on physical core.",
1432        "CounterMask": "2",
1433        "EventCode": "0xb1",
1434        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_2",
1435        "PublicDescription": "Counts cycles when at least 2 micro-ops are executed from any thread on physical core.",
1436        "SampleAfterValue": "2000003",
1437        "UMask": "0x2",
1438        "Unit": "cpu_core"
1439    },
1440    {
1441        "BriefDescription": "Cycles at least 3 micro-op is executed from any thread on physical core.",
1442        "CounterMask": "3",
1443        "EventCode": "0xb1",
1444        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_3",
1445        "PublicDescription": "Counts cycles when at least 3 micro-ops are executed from any thread on physical core.",
1446        "SampleAfterValue": "2000003",
1447        "UMask": "0x2",
1448        "Unit": "cpu_core"
1449    },
1450    {
1451        "BriefDescription": "Cycles at least 4 micro-op is executed from any thread on physical core.",
1452        "CounterMask": "4",
1453        "EventCode": "0xb1",
1454        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_4",
1455        "PublicDescription": "Counts cycles when at least 4 micro-ops are executed from any thread on physical core.",
1456        "SampleAfterValue": "2000003",
1457        "UMask": "0x2",
1458        "Unit": "cpu_core"
1459    },
1460    {
1461        "BriefDescription": "Cycles where at least 1 uop was executed per-thread",
1462        "CounterMask": "1",
1463        "EventCode": "0xb1",
1464        "EventName": "UOPS_EXECUTED.CYCLES_GE_1",
1465        "PublicDescription": "Cycles where at least 1 uop was executed per-thread.",
1466        "SampleAfterValue": "2000003",
1467        "UMask": "0x1",
1468        "Unit": "cpu_core"
1469    },
1470    {
1471        "BriefDescription": "Cycles where at least 2 uops were executed per-thread",
1472        "CounterMask": "2",
1473        "EventCode": "0xb1",
1474        "EventName": "UOPS_EXECUTED.CYCLES_GE_2",
1475        "PublicDescription": "Cycles where at least 2 uops were executed per-thread.",
1476        "SampleAfterValue": "2000003",
1477        "UMask": "0x1",
1478        "Unit": "cpu_core"
1479    },
1480    {
1481        "BriefDescription": "Cycles where at least 3 uops were executed per-thread",
1482        "CounterMask": "3",
1483        "EventCode": "0xb1",
1484        "EventName": "UOPS_EXECUTED.CYCLES_GE_3",
1485        "PublicDescription": "Cycles where at least 3 uops were executed per-thread.",
1486        "SampleAfterValue": "2000003",
1487        "UMask": "0x1",
1488        "Unit": "cpu_core"
1489    },
1490    {
1491        "BriefDescription": "Cycles where at least 4 uops were executed per-thread",
1492        "CounterMask": "4",
1493        "EventCode": "0xb1",
1494        "EventName": "UOPS_EXECUTED.CYCLES_GE_4",
1495        "PublicDescription": "Cycles where at least 4 uops were executed per-thread.",
1496        "SampleAfterValue": "2000003",
1497        "UMask": "0x1",
1498        "Unit": "cpu_core"
1499    },
1500    {
1501        "BriefDescription": "Counts number of cycles no uops were dispatched to be executed on this thread.",
1502        "CounterMask": "1",
1503        "EventCode": "0xb1",
1504        "EventName": "UOPS_EXECUTED.STALLS",
1505        "Invert": "1",
1506        "PublicDescription": "Counts cycles during which no uops were dispatched from the Reservation Station (RS) per thread.",
1507        "SampleAfterValue": "2000003",
1508        "UMask": "0x1",
1509        "Unit": "cpu_core"
1510    },
1511    {
1512        "BriefDescription": "Counts the number of uops to be executed per-thread each cycle.",
1513        "EventCode": "0xb1",
1514        "EventName": "UOPS_EXECUTED.THREAD",
1515        "SampleAfterValue": "2000003",
1516        "UMask": "0x1",
1517        "Unit": "cpu_core"
1518    },
1519    {
1520        "BriefDescription": "Counts the number of x87 uops dispatched.",
1521        "EventCode": "0xb1",
1522        "EventName": "UOPS_EXECUTED.X87",
1523        "PublicDescription": "Counts the number of x87 uops executed.",
1524        "SampleAfterValue": "2000003",
1525        "UMask": "0x10",
1526        "Unit": "cpu_core"
1527    },
1528    {
1529        "BriefDescription": "Counts the number of uops issued by the front end every cycle.",
1530        "EventCode": "0x0e",
1531        "EventName": "UOPS_ISSUED.ANY",
1532        "PublicDescription": "Counts the number of uops issued by the front end every cycle. When 4-uops are requested and only 2-uops are delivered, the event counts 2.  Uops_issued correlates to the number of ROB entries.  If uop takes 2 ROB slots it counts as 2 uops_issued.",
1533        "SampleAfterValue": "1000003",
1534        "Unit": "cpu_atom"
1535    },
1536    {
1537        "BriefDescription": "Uops that RAT issues to RS",
1538        "EventCode": "0xae",
1539        "EventName": "UOPS_ISSUED.ANY",
1540        "PublicDescription": "Counts the number of uops that the Resource Allocation Table (RAT) issues to the Reservation Station (RS).",
1541        "SampleAfterValue": "2000003",
1542        "UMask": "0x1",
1543        "Unit": "cpu_core"
1544    },
1545    {
1546        "BriefDescription": "UOPS_ISSUED.CYCLES",
1547        "CounterMask": "1",
1548        "EventCode": "0xae",
1549        "EventName": "UOPS_ISSUED.CYCLES",
1550        "SampleAfterValue": "2000003",
1551        "UMask": "0x1",
1552        "Unit": "cpu_core"
1553    },
1554    {
1555        "BriefDescription": "Cycles when RAT does not issue Uops to RS for the thread",
1556        "CounterMask": "1",
1557        "EventCode": "0xae",
1558        "EventName": "UOPS_ISSUED.STALLS",
1559        "Invert": "1",
1560        "PublicDescription": "Counts cycles during which the Resource Allocation Table (RAT) does not issue any Uops to the reservation station (RS) for the current thread.",
1561        "SampleAfterValue": "1000003",
1562        "UMask": "0x1",
1563        "Unit": "cpu_core"
1564    },
1565    {
1566        "BriefDescription": "Counts the total number of uops retired.",
1567        "EventCode": "0xc2",
1568        "EventName": "UOPS_RETIRED.ALL",
1569        "PEBS": "1",
1570        "SampleAfterValue": "2000003",
1571        "Unit": "cpu_atom"
1572    },
1573    {
1574        "BriefDescription": "Cycles with retired uop(s).",
1575        "CounterMask": "1",
1576        "EventCode": "0xc2",
1577        "EventName": "UOPS_RETIRED.CYCLES",
1578        "PublicDescription": "Counts cycles where at least one uop has retired.",
1579        "SampleAfterValue": "1000003",
1580        "UMask": "0x2",
1581        "Unit": "cpu_core"
1582    },
1583    {
1584        "BriefDescription": "Retired uops except the last uop of each instruction.",
1585        "EventCode": "0xc2",
1586        "EventName": "UOPS_RETIRED.HEAVY",
1587        "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.",
1588        "SampleAfterValue": "2000003",
1589        "UMask": "0x1",
1590        "Unit": "cpu_core"
1591    },
1592    {
1593        "BriefDescription": "Counts the number of integer divide uops retired.",
1594        "EventCode": "0xc2",
1595        "EventName": "UOPS_RETIRED.IDIV",
1596        "PEBS": "1",
1597        "SampleAfterValue": "2000003",
1598        "UMask": "0x10",
1599        "Unit": "cpu_atom"
1600    },
1601    {
1602        "BriefDescription": "Counts the number of uops that are from the complex flows issued by the micro-sequencer (MS).  This includes uops from flows due to complex instructions, faults, assists, and inserted flows.",
1603        "EventCode": "0xc2",
1604        "EventName": "UOPS_RETIRED.MS",
1605        "PEBS": "1",
1606        "SampleAfterValue": "2000003",
1607        "UMask": "0x1",
1608        "Unit": "cpu_atom"
1609    },
1610    {
1611        "BriefDescription": "UOPS_RETIRED.MS",
1612        "EventCode": "0xc2",
1613        "EventName": "UOPS_RETIRED.MS",
1614        "MSRIndex": "0x3F7",
1615        "MSRValue": "0x8",
1616        "SampleAfterValue": "2000003",
1617        "UMask": "0x4",
1618        "Unit": "cpu_core"
1619    },
1620    {
1621        "BriefDescription": "This event counts a subset of the Topdown Slots event that are utilized by operations that eventually get retired (committed) by the processor pipeline. Usually, this event positively correlates with higher performance  for example, as measured by the instructions-per-cycle metric.",
1622        "EventCode": "0xc2",
1623        "EventName": "UOPS_RETIRED.SLOTS",
1624        "PublicDescription": "This event counts a subset of the Topdown Slots event that are utilized by operations that eventually get retired (committed) by the processor pipeline. Usually, this event positively correlates with higher performance  for example, as measured by the instructions-per-cycle metric. Software can use this event as the numerator for the Retiring metric (or top-level category) of the Top-down Microarchitecture Analysis method.",
1625        "SampleAfterValue": "2000003",
1626        "UMask": "0x2",
1627        "Unit": "cpu_core"
1628    },
1629    {
1630        "BriefDescription": "Cycles without actually retired uops.",
1631        "CounterMask": "1",
1632        "EventCode": "0xc2",
1633        "EventName": "UOPS_RETIRED.STALLS",
1634        "Invert": "1",
1635        "PublicDescription": "This event counts cycles without actually retired uops.",
1636        "SampleAfterValue": "1000003",
1637        "UMask": "0x2",
1638        "Unit": "cpu_core"
1639    },
1640    {
1641        "BriefDescription": "Cycles with less than 10 actually retired uops.",
1642        "CounterMask": "10",
1643        "EventCode": "0xc2",
1644        "EventName": "UOPS_RETIRED.TOTAL_CYCLES",
1645        "Invert": "1",
1646        "PublicDescription": "Counts the number of cycles using always true condition (uops_ret < 16) applied to non PEBS uops retired event.",
1647        "SampleAfterValue": "1000003",
1648        "UMask": "0x2",
1649        "Unit": "cpu_core"
1650    },
1651    {
1652        "BriefDescription": "Counts the number of x87 uops retired, includes those in ms flows",
1653        "EventCode": "0xc2",
1654        "EventName": "UOPS_RETIRED.X87",
1655        "PEBS": "1",
1656        "SampleAfterValue": "2000003",
1657        "UMask": "0x2",
1658        "Unit": "cpu_atom"
1659    }
1660]
1661