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