xref: /linux/tools/perf/pmu-events/arch/x86/ivytown/pipeline.json (revision 80d443e8876602be2c130f79c4de81e12e2a700d)
1[
2    {
3        "EventCode": "0x00",
4        "Counter": "Fixed counter 1",
5        "UMask": "0x1",
6        "EventName": "INST_RETIRED.ANY",
7        "SampleAfterValue": "2000003",
8        "BriefDescription": "Instructions retired from execution.",
9        "CounterHTOff": "Fixed counter 1"
10    },
11    {
12        "EventCode": "0x00",
13        "Counter": "Fixed counter 2",
14        "UMask": "0x2",
15        "EventName": "CPU_CLK_UNHALTED.THREAD",
16        "SampleAfterValue": "2000003",
17        "BriefDescription": "Core cycles when the thread is not in halt state.",
18        "CounterHTOff": "Fixed counter 2"
19    },
20    {
21        "EventCode": "0x00",
22        "Counter": "Fixed counter 3",
23        "UMask": "0x3",
24        "EventName": "CPU_CLK_UNHALTED.REF_TSC",
25        "SampleAfterValue": "2000003",
26        "BriefDescription": "Reference cycles when the core is not in halt state.",
27        "CounterHTOff": "Fixed counter 3"
28    },
29    {
30        "PublicDescription": "Loads blocked by overlapping with store buffer that cannot be forwarded.",
31        "EventCode": "0x03",
32        "Counter": "0,1,2,3",
33        "UMask": "0x2",
34        "EventName": "LD_BLOCKS.STORE_FORWARD",
35        "SampleAfterValue": "100003",
36        "BriefDescription": "Cases when loads get true Block-on-Store blocking code preventing store forwarding",
37        "CounterHTOff": "0,1,2,3,4,5,6,7"
38    },
39    {
40        "PublicDescription": "The number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.",
41        "EventCode": "0x03",
42        "Counter": "0,1,2,3",
43        "UMask": "0x8",
44        "EventName": "LD_BLOCKS.NO_SR",
45        "SampleAfterValue": "100003",
46        "BriefDescription": "This event counts the number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.",
47        "CounterHTOff": "0,1,2,3,4,5,6,7"
48    },
49    {
50        "PublicDescription": "False dependencies in MOB due to partial compare on address.",
51        "EventCode": "0x07",
52        "Counter": "0,1,2,3",
53        "UMask": "0x1",
54        "EventName": "LD_BLOCKS_PARTIAL.ADDRESS_ALIAS",
55        "SampleAfterValue": "100003",
56        "BriefDescription": "False dependencies in MOB due to partial compare on address",
57        "CounterHTOff": "0,1,2,3,4,5,6,7"
58    },
59    {
60        "EventCode": "0x0D",
61        "Counter": "0,1,2,3",
62        "UMask": "0x3",
63        "EventName": "INT_MISC.RECOVERY_CYCLES",
64        "SampleAfterValue": "2000003",
65        "BriefDescription": "Number of cycles waiting for the checkpoints in Resource Allocation Table (RAT) to be recovered after Nuke due to all other cases except JEClear (e.g. whenever a ucode assist is needed like SSE exception, memory disambiguation, etc.)",
66        "CounterMask": "1",
67        "CounterHTOff": "0,1,2,3,4,5,6,7"
68    },
69    {
70        "EventCode": "0x0D",
71        "Counter": "0,1,2,3",
72        "UMask": "0x3",
73        "EdgeDetect": "1",
74        "EventName": "INT_MISC.RECOVERY_STALLS_COUNT",
75        "SampleAfterValue": "2000003",
76        "BriefDescription": "Number of occurences waiting for the checkpoints in Resource Allocation Table (RAT) to be recovered after Nuke due to all other cases except JEClear (e.g. whenever a ucode assist is needed like SSE exception, memory disambiguation, etc.)",
77        "CounterMask": "1",
78        "CounterHTOff": "0,1,2,3,4,5,6,7"
79    },
80    {
81        "PublicDescription": "Increments each cycle the # of Uops issued by the RAT to RS. Set Cmask = 1, Inv = 1, Any= 1to count stalled cycles of this core.",
82        "EventCode": "0x0E",
83        "Counter": "0,1,2,3",
84        "UMask": "0x1",
85        "EventName": "UOPS_ISSUED.ANY",
86        "SampleAfterValue": "2000003",
87        "BriefDescription": "Uops that Resource Allocation Table (RAT) issues to Reservation Station (RS)",
88        "CounterHTOff": "0,1,2,3,4,5,6,7"
89    },
90    {
91        "PublicDescription": "Cycles when Resource Allocation Table (RAT) does not issue Uops to Reservation Station (RS) for the thread.",
92        "EventCode": "0x0E",
93        "Invert": "1",
94        "Counter": "0,1,2,3",
95        "UMask": "0x1",
96        "EventName": "UOPS_ISSUED.STALL_CYCLES",
97        "SampleAfterValue": "2000003",
98        "BriefDescription": "Cycles when Resource Allocation Table (RAT) does not issue Uops to Reservation Station (RS) for the thread",
99        "CounterMask": "1",
100        "CounterHTOff": "0,1,2,3"
101    },
102    {
103        "PublicDescription": "Cycles when Resource Allocation Table (RAT) does not issue Uops to Reservation Station (RS) for all threads.",
104        "EventCode": "0x0E",
105        "Invert": "1",
106        "Counter": "0,1,2,3",
107        "UMask": "0x1",
108        "AnyThread": "1",
109        "EventName": "UOPS_ISSUED.CORE_STALL_CYCLES",
110        "SampleAfterValue": "2000003",
111        "BriefDescription": "Cycles when Resource Allocation Table (RAT) does not issue Uops to Reservation Station (RS) for all threads",
112        "CounterMask": "1",
113        "CounterHTOff": "0,1,2,3"
114    },
115    {
116        "PublicDescription": "Number of flags-merge uops allocated. Such uops adds delay.",
117        "EventCode": "0x0E",
118        "Counter": "0,1,2,3",
119        "UMask": "0x10",
120        "EventName": "UOPS_ISSUED.FLAGS_MERGE",
121        "SampleAfterValue": "2000003",
122        "BriefDescription": "Number of flags-merge uops being allocated.",
123        "CounterHTOff": "0,1,2,3,4,5,6,7"
124    },
125    {
126        "PublicDescription": "Number of slow LEA or similar uops allocated. Such uop has 3 sources (e.g. 2 sources + immediate) regardless if as a result of LEA instruction or not.",
127        "EventCode": "0x0E",
128        "Counter": "0,1,2,3",
129        "UMask": "0x20",
130        "EventName": "UOPS_ISSUED.SLOW_LEA",
131        "SampleAfterValue": "2000003",
132        "BriefDescription": "Number of slow LEA uops being allocated. A uop is generally considered SlowLea if it has 3 sources (e.g. 2 sources + immediate) regardless if as a result of LEA instruction or not.",
133        "CounterHTOff": "0,1,2,3,4,5,6,7"
134    },
135    {
136        "PublicDescription": "Number of multiply packed/scalar single precision uops allocated.",
137        "EventCode": "0x0E",
138        "Counter": "0,1,2,3",
139        "UMask": "0x40",
140        "EventName": "UOPS_ISSUED.SINGLE_MUL",
141        "SampleAfterValue": "2000003",
142        "BriefDescription": "Number of Multiply packed/scalar single precision uops allocated",
143        "CounterHTOff": "0,1,2,3,4,5,6,7"
144    },
145    {
146        "PublicDescription": "Cycles that the divider is active, includes INT and FP. Set 'edge =1, cmask=1' to count the number of divides.",
147        "EventCode": "0x14",
148        "Counter": "0,1,2,3",
149        "UMask": "0x1",
150        "EventName": "ARITH.FPU_DIV_ACTIVE",
151        "SampleAfterValue": "2000003",
152        "BriefDescription": "Cycles when divider is busy executing divide operations",
153        "CounterHTOff": "0,1,2,3,4,5,6,7"
154    },
155    {
156        "PublicDescription": "Divide operations executed.",
157        "EventCode": "0x14",
158        "Counter": "0,1,2,3",
159        "UMask": "0x4",
160        "EdgeDetect": "1",
161        "EventName": "ARITH.FPU_DIV",
162        "SampleAfterValue": "100003",
163        "BriefDescription": "Divide operations executed",
164        "CounterMask": "1",
165        "CounterHTOff": "0,1,2,3,4,5,6,7"
166    },
167    {
168        "PublicDescription": "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.",
169        "EventCode": "0x3C",
170        "Counter": "0,1,2,3",
171        "UMask": "0x0",
172        "EventName": "CPU_CLK_UNHALTED.THREAD_P",
173        "SampleAfterValue": "2000003",
174        "BriefDescription": "Thread cycles when thread is not in halt state",
175        "CounterHTOff": "0,1,2,3,4,5,6,7"
176    },
177    {
178        "PublicDescription": "Increments at the frequency of XCLK (100 MHz) when not halted.",
179        "EventCode": "0x3C",
180        "Counter": "0,1,2,3",
181        "UMask": "0x1",
182        "EventName": "CPU_CLK_THREAD_UNHALTED.REF_XCLK",
183        "SampleAfterValue": "2000003",
184        "BriefDescription": "Reference cycles when the thread is unhalted (counts at 100 MHz rate)",
185        "CounterHTOff": "0,1,2,3,4,5,6,7"
186    },
187    {
188        "EventCode": "0x3C",
189        "Counter": "0,1,2,3",
190        "UMask": "0x2",
191        "EventName": "CPU_CLK_THREAD_UNHALTED.ONE_THREAD_ACTIVE",
192        "SampleAfterValue": "2000003",
193        "BriefDescription": "Count XClk pulses when this thread is unhalted and the other is halted.",
194        "CounterHTOff": "0,1,2,3"
195    },
196    {
197        "PublicDescription": "Non-SW-prefetch load dispatches that hit fill buffer allocated for S/W prefetch.",
198        "EventCode": "0x4C",
199        "Counter": "0,1,2,3",
200        "UMask": "0x1",
201        "EventName": "LOAD_HIT_PRE.SW_PF",
202        "SampleAfterValue": "100003",
203        "BriefDescription": "Not software-prefetch load dispatches that hit FB allocated for software prefetch",
204        "CounterHTOff": "0,1,2,3,4,5,6,7"
205    },
206    {
207        "PublicDescription": "Non-SW-prefetch load dispatches that hit fill buffer allocated for H/W prefetch.",
208        "EventCode": "0x4C",
209        "Counter": "0,1,2,3",
210        "UMask": "0x2",
211        "EventName": "LOAD_HIT_PRE.HW_PF",
212        "SampleAfterValue": "100003",
213        "BriefDescription": "Not software-prefetch load dispatches that hit FB allocated for hardware prefetch",
214        "CounterHTOff": "0,1,2,3,4,5,6,7"
215    },
216    {
217        "EventCode": "0x58",
218        "Counter": "0,1,2,3",
219        "UMask": "0x4",
220        "EventName": "MOVE_ELIMINATION.INT_NOT_ELIMINATED",
221        "SampleAfterValue": "1000003",
222        "BriefDescription": "Number of integer Move Elimination candidate uops that were not eliminated.",
223        "CounterHTOff": "0,1,2,3,4,5,6,7"
224    },
225    {
226        "EventCode": "0x58",
227        "Counter": "0,1,2,3",
228        "UMask": "0x8",
229        "EventName": "MOVE_ELIMINATION.SIMD_NOT_ELIMINATED",
230        "SampleAfterValue": "1000003",
231        "BriefDescription": "Number of SIMD Move Elimination candidate uops that were not eliminated.",
232        "CounterHTOff": "0,1,2,3,4,5,6,7"
233    },
234    {
235        "EventCode": "0x58",
236        "Counter": "0,1,2,3",
237        "UMask": "0x1",
238        "EventName": "MOVE_ELIMINATION.INT_ELIMINATED",
239        "SampleAfterValue": "1000003",
240        "BriefDescription": "Number of integer Move Elimination candidate uops that were eliminated.",
241        "CounterHTOff": "0,1,2,3,4,5,6,7"
242    },
243    {
244        "EventCode": "0x58",
245        "Counter": "0,1,2,3",
246        "UMask": "0x2",
247        "EventName": "MOVE_ELIMINATION.SIMD_ELIMINATED",
248        "SampleAfterValue": "1000003",
249        "BriefDescription": "Number of SIMD Move Elimination candidate uops that were eliminated.",
250        "CounterHTOff": "0,1,2,3,4,5,6,7"
251    },
252    {
253        "PublicDescription": "Cycles the RS is empty for the thread.",
254        "EventCode": "0x5E",
255        "Counter": "0,1,2,3",
256        "UMask": "0x1",
257        "EventName": "RS_EVENTS.EMPTY_CYCLES",
258        "SampleAfterValue": "2000003",
259        "BriefDescription": "Cycles when Reservation Station (RS) is empty for the thread",
260        "CounterHTOff": "0,1,2,3,4,5,6,7"
261    },
262    {
263        "EventCode": "0x87",
264        "Counter": "0,1,2,3",
265        "UMask": "0x1",
266        "EventName": "ILD_STALL.LCP",
267        "SampleAfterValue": "2000003",
268        "BriefDescription": "Stalls caused by changing prefix length of the instruction.",
269        "CounterHTOff": "0,1,2,3,4,5,6,7"
270    },
271    {
272        "PublicDescription": "Stall cycles due to IQ is full.",
273        "EventCode": "0x87",
274        "Counter": "0,1,2,3",
275        "UMask": "0x4",
276        "EventName": "ILD_STALL.IQ_FULL",
277        "SampleAfterValue": "2000003",
278        "BriefDescription": "Stall cycles because IQ is full",
279        "CounterHTOff": "0,1,2,3,4,5,6,7"
280    },
281    {
282        "PublicDescription": "Not taken macro-conditional branches.",
283        "EventCode": "0x88",
284        "Counter": "0,1,2,3",
285        "UMask": "0x41",
286        "EventName": "BR_INST_EXEC.NONTAKEN_CONDITIONAL",
287        "SampleAfterValue": "200003",
288        "BriefDescription": "Not taken macro-conditional branches",
289        "CounterHTOff": "0,1,2,3,4,5,6,7"
290    },
291    {
292        "PublicDescription": "Taken speculative and retired macro-conditional branches.",
293        "EventCode": "0x88",
294        "Counter": "0,1,2,3",
295        "UMask": "0x81",
296        "EventName": "BR_INST_EXEC.TAKEN_CONDITIONAL",
297        "SampleAfterValue": "200003",
298        "BriefDescription": "Taken speculative and retired macro-conditional branches",
299        "CounterHTOff": "0,1,2,3,4,5,6,7"
300    },
301    {
302        "PublicDescription": "Taken speculative and retired macro-conditional branch instructions excluding calls and indirects.",
303        "EventCode": "0x88",
304        "Counter": "0,1,2,3",
305        "UMask": "0x82",
306        "EventName": "BR_INST_EXEC.TAKEN_DIRECT_JUMP",
307        "SampleAfterValue": "200003",
308        "BriefDescription": "Taken speculative and retired macro-conditional branch instructions excluding calls and indirects",
309        "CounterHTOff": "0,1,2,3,4,5,6,7"
310    },
311    {
312        "PublicDescription": "Taken speculative and retired indirect branches excluding calls and returns.",
313        "EventCode": "0x88",
314        "Counter": "0,1,2,3",
315        "UMask": "0x84",
316        "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_JUMP_NON_CALL_RET",
317        "SampleAfterValue": "200003",
318        "BriefDescription": "Taken speculative and retired indirect branches excluding calls and returns",
319        "CounterHTOff": "0,1,2,3,4,5,6,7"
320    },
321    {
322        "PublicDescription": "Taken speculative and retired indirect branches with return mnemonic.",
323        "EventCode": "0x88",
324        "Counter": "0,1,2,3",
325        "UMask": "0x88",
326        "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_NEAR_RETURN",
327        "SampleAfterValue": "200003",
328        "BriefDescription": "Taken speculative and retired indirect branches with return mnemonic",
329        "CounterHTOff": "0,1,2,3,4,5,6,7"
330    },
331    {
332        "PublicDescription": "Taken speculative and retired direct near calls.",
333        "EventCode": "0x88",
334        "Counter": "0,1,2,3",
335        "UMask": "0x90",
336        "EventName": "BR_INST_EXEC.TAKEN_DIRECT_NEAR_CALL",
337        "SampleAfterValue": "200003",
338        "BriefDescription": "Taken speculative and retired direct near calls",
339        "CounterHTOff": "0,1,2,3,4,5,6,7"
340    },
341    {
342        "PublicDescription": "Taken speculative and retired indirect calls.",
343        "EventCode": "0x88",
344        "Counter": "0,1,2,3",
345        "UMask": "0xa0",
346        "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_NEAR_CALL",
347        "SampleAfterValue": "200003",
348        "BriefDescription": "Taken speculative and retired indirect calls",
349        "CounterHTOff": "0,1,2,3,4,5,6,7"
350    },
351    {
352        "PublicDescription": "Speculative and retired macro-conditional branches.",
353        "EventCode": "0x88",
354        "Counter": "0,1,2,3",
355        "UMask": "0xc1",
356        "EventName": "BR_INST_EXEC.ALL_CONDITIONAL",
357        "SampleAfterValue": "200003",
358        "BriefDescription": "Speculative and retired macro-conditional branches",
359        "CounterHTOff": "0,1,2,3,4,5,6,7"
360    },
361    {
362        "PublicDescription": "Speculative and retired macro-unconditional branches excluding calls and indirects.",
363        "EventCode": "0x88",
364        "Counter": "0,1,2,3",
365        "UMask": "0xc2",
366        "EventName": "BR_INST_EXEC.ALL_DIRECT_JMP",
367        "SampleAfterValue": "200003",
368        "BriefDescription": "Speculative and retired macro-unconditional branches excluding calls and indirects",
369        "CounterHTOff": "0,1,2,3,4,5,6,7"
370    },
371    {
372        "PublicDescription": "Speculative and retired indirect branches excluding calls and returns.",
373        "EventCode": "0x88",
374        "Counter": "0,1,2,3",
375        "UMask": "0xc4",
376        "EventName": "BR_INST_EXEC.ALL_INDIRECT_JUMP_NON_CALL_RET",
377        "SampleAfterValue": "200003",
378        "BriefDescription": "Speculative and retired indirect branches excluding calls and returns",
379        "CounterHTOff": "0,1,2,3,4,5,6,7"
380    },
381    {
382        "EventCode": "0x88",
383        "Counter": "0,1,2,3",
384        "UMask": "0xc8",
385        "EventName": "BR_INST_EXEC.ALL_INDIRECT_NEAR_RETURN",
386        "SampleAfterValue": "200003",
387        "BriefDescription": "Speculative and retired indirect return branches.",
388        "CounterHTOff": "0,1,2,3,4,5,6,7"
389    },
390    {
391        "PublicDescription": "Speculative and retired direct near calls.",
392        "EventCode": "0x88",
393        "Counter": "0,1,2,3",
394        "UMask": "0xd0",
395        "EventName": "BR_INST_EXEC.ALL_DIRECT_NEAR_CALL",
396        "SampleAfterValue": "200003",
397        "BriefDescription": "Speculative and retired direct near calls",
398        "CounterHTOff": "0,1,2,3,4,5,6,7"
399    },
400    {
401        "PublicDescription": "Counts all near executed branches (not necessarily retired).",
402        "EventCode": "0x88",
403        "Counter": "0,1,2,3",
404        "UMask": "0xff",
405        "EventName": "BR_INST_EXEC.ALL_BRANCHES",
406        "SampleAfterValue": "200003",
407        "BriefDescription": "Speculative and retired  branches",
408        "CounterHTOff": "0,1,2,3,4,5,6,7"
409    },
410    {
411        "PublicDescription": "Not taken speculative and retired mispredicted macro conditional branches.",
412        "EventCode": "0x89",
413        "Counter": "0,1,2,3",
414        "UMask": "0x41",
415        "EventName": "BR_MISP_EXEC.NONTAKEN_CONDITIONAL",
416        "SampleAfterValue": "200003",
417        "BriefDescription": "Not taken speculative and retired mispredicted macro conditional branches",
418        "CounterHTOff": "0,1,2,3,4,5,6,7"
419    },
420    {
421        "PublicDescription": "Taken speculative and retired mispredicted macro conditional branches.",
422        "EventCode": "0x89",
423        "Counter": "0,1,2,3",
424        "UMask": "0x81",
425        "EventName": "BR_MISP_EXEC.TAKEN_CONDITIONAL",
426        "SampleAfterValue": "200003",
427        "BriefDescription": "Taken speculative and retired mispredicted macro conditional branches",
428        "CounterHTOff": "0,1,2,3,4,5,6,7"
429    },
430    {
431        "PublicDescription": "Taken speculative and retired mispredicted indirect branches excluding calls and returns.",
432        "EventCode": "0x89",
433        "Counter": "0,1,2,3",
434        "UMask": "0x84",
435        "EventName": "BR_MISP_EXEC.TAKEN_INDIRECT_JUMP_NON_CALL_RET",
436        "SampleAfterValue": "200003",
437        "BriefDescription": "Taken speculative and retired mispredicted indirect branches excluding calls and returns",
438        "CounterHTOff": "0,1,2,3,4,5,6,7"
439    },
440    {
441        "PublicDescription": "Taken speculative and retired mispredicted indirect branches with return mnemonic.",
442        "EventCode": "0x89",
443        "Counter": "0,1,2,3",
444        "UMask": "0x88",
445        "EventName": "BR_MISP_EXEC.TAKEN_RETURN_NEAR",
446        "SampleAfterValue": "200003",
447        "BriefDescription": "Taken speculative and retired mispredicted indirect branches with return mnemonic",
448        "CounterHTOff": "0,1,2,3,4,5,6,7"
449    },
450    {
451        "PublicDescription": "Taken speculative and retired mispredicted indirect calls.",
452        "EventCode": "0x89",
453        "Counter": "0,1,2,3",
454        "UMask": "0xa0",
455        "EventName": "BR_MISP_EXEC.TAKEN_INDIRECT_NEAR_CALL",
456        "SampleAfterValue": "200003",
457        "BriefDescription": "Taken speculative and retired mispredicted indirect calls",
458        "CounterHTOff": "0,1,2,3,4,5,6,7"
459    },
460    {
461        "PublicDescription": "Speculative and retired mispredicted macro conditional branches.",
462        "EventCode": "0x89",
463        "Counter": "0,1,2,3",
464        "UMask": "0xc1",
465        "EventName": "BR_MISP_EXEC.ALL_CONDITIONAL",
466        "SampleAfterValue": "200003",
467        "BriefDescription": "Speculative and retired mispredicted macro conditional branches",
468        "CounterHTOff": "0,1,2,3,4,5,6,7"
469    },
470    {
471        "PublicDescription": "Mispredicted indirect branches excluding calls and returns.",
472        "EventCode": "0x89",
473        "Counter": "0,1,2,3",
474        "UMask": "0xc4",
475        "EventName": "BR_MISP_EXEC.ALL_INDIRECT_JUMP_NON_CALL_RET",
476        "SampleAfterValue": "200003",
477        "BriefDescription": "Mispredicted indirect branches excluding calls and returns",
478        "CounterHTOff": "0,1,2,3,4,5,6,7"
479    },
480    {
481        "PublicDescription": "Counts all near executed branches (not necessarily retired).",
482        "EventCode": "0x89",
483        "Counter": "0,1,2,3",
484        "UMask": "0xff",
485        "EventName": "BR_MISP_EXEC.ALL_BRANCHES",
486        "SampleAfterValue": "200003",
487        "BriefDescription": "Speculative and retired mispredicted macro conditional branches",
488        "CounterHTOff": "0,1,2,3,4,5,6,7"
489    },
490    {
491        "PublicDescription": "Cycles which a Uop is dispatched on port 0.",
492        "EventCode": "0xA1",
493        "Counter": "0,1,2,3",
494        "UMask": "0x1",
495        "EventName": "UOPS_DISPATCHED_PORT.PORT_0",
496        "SampleAfterValue": "2000003",
497        "BriefDescription": "Cycles per thread when uops are dispatched to port 0",
498        "CounterHTOff": "0,1,2,3,4,5,6,7"
499    },
500    {
501        "PublicDescription": "Cycles which a Uop is dispatched on port 1.",
502        "EventCode": "0xA1",
503        "Counter": "0,1,2,3",
504        "UMask": "0x2",
505        "EventName": "UOPS_DISPATCHED_PORT.PORT_1",
506        "SampleAfterValue": "2000003",
507        "BriefDescription": "Cycles per thread when uops are dispatched to port 1",
508        "CounterHTOff": "0,1,2,3,4,5,6,7"
509    },
510    {
511        "PublicDescription": "Cycles which a Uop is dispatched on port 4.",
512        "EventCode": "0xA1",
513        "Counter": "0,1,2,3",
514        "UMask": "0x40",
515        "EventName": "UOPS_DISPATCHED_PORT.PORT_4",
516        "SampleAfterValue": "2000003",
517        "BriefDescription": "Cycles per thread when uops are dispatched to port 4",
518        "CounterHTOff": "0,1,2,3,4,5,6,7"
519    },
520    {
521        "PublicDescription": "Cycles which a Uop is dispatched on port 5.",
522        "EventCode": "0xA1",
523        "Counter": "0,1,2,3",
524        "UMask": "0x80",
525        "EventName": "UOPS_DISPATCHED_PORT.PORT_5",
526        "SampleAfterValue": "2000003",
527        "BriefDescription": "Cycles per thread when uops are dispatched to port 5",
528        "CounterHTOff": "0,1,2,3,4,5,6,7"
529    },
530    {
531        "PublicDescription": "Cycles per core when uops are dispatched to port 0.",
532        "EventCode": "0xA1",
533        "Counter": "0,1,2,3",
534        "UMask": "0x1",
535        "AnyThread": "1",
536        "EventName": "UOPS_DISPATCHED_PORT.PORT_0_CORE",
537        "SampleAfterValue": "2000003",
538        "BriefDescription": "Cycles per core when uops are dispatched to port 0",
539        "CounterHTOff": "0,1,2,3,4,5,6,7"
540    },
541    {
542        "PublicDescription": "Cycles per core when uops are dispatched to port 1.",
543        "EventCode": "0xA1",
544        "Counter": "0,1,2,3",
545        "UMask": "0x2",
546        "AnyThread": "1",
547        "EventName": "UOPS_DISPATCHED_PORT.PORT_1_CORE",
548        "SampleAfterValue": "2000003",
549        "BriefDescription": "Cycles per core when uops are dispatched to port 1",
550        "CounterHTOff": "0,1,2,3,4,5,6,7"
551    },
552    {
553        "PublicDescription": "Cycles per core when uops are dispatched to port 4.",
554        "EventCode": "0xA1",
555        "Counter": "0,1,2,3",
556        "UMask": "0x40",
557        "AnyThread": "1",
558        "EventName": "UOPS_DISPATCHED_PORT.PORT_4_CORE",
559        "SampleAfterValue": "2000003",
560        "BriefDescription": "Cycles per core when uops are dispatched to port 4",
561        "CounterHTOff": "0,1,2,3,4,5,6,7"
562    },
563    {
564        "PublicDescription": "Cycles per core when uops are dispatched to port 5.",
565        "EventCode": "0xA1",
566        "Counter": "0,1,2,3",
567        "UMask": "0x80",
568        "AnyThread": "1",
569        "EventName": "UOPS_DISPATCHED_PORT.PORT_5_CORE",
570        "SampleAfterValue": "2000003",
571        "BriefDescription": "Cycles per core when uops are dispatched to port 5",
572        "CounterHTOff": "0,1,2,3,4,5,6,7"
573    },
574    {
575        "PublicDescription": "Cycles which a Uop is dispatched on port 2.",
576        "EventCode": "0xA1",
577        "Counter": "0,1,2,3",
578        "UMask": "0xc",
579        "EventName": "UOPS_DISPATCHED_PORT.PORT_2",
580        "SampleAfterValue": "2000003",
581        "BriefDescription": "Cycles per thread when load or STA uops are dispatched to port 2",
582        "CounterHTOff": "0,1,2,3,4,5,6,7"
583    },
584    {
585        "PublicDescription": "Cycles which a Uop is dispatched on port 3.",
586        "EventCode": "0xA1",
587        "Counter": "0,1,2,3",
588        "UMask": "0x30",
589        "EventName": "UOPS_DISPATCHED_PORT.PORT_3",
590        "SampleAfterValue": "2000003",
591        "BriefDescription": "Cycles per thread when load or STA uops are dispatched to port 3",
592        "CounterHTOff": "0,1,2,3,4,5,6,7"
593    },
594    {
595        "EventCode": "0xA1",
596        "Counter": "0,1,2,3",
597        "UMask": "0xc",
598        "AnyThread": "1",
599        "EventName": "UOPS_DISPATCHED_PORT.PORT_2_CORE",
600        "SampleAfterValue": "2000003",
601        "BriefDescription": "Uops dispatched to port 2, loads and stores per core (speculative and retired).",
602        "CounterHTOff": "0,1,2,3,4,5,6,7"
603    },
604    {
605        "PublicDescription": "Cycles per core when load or STA uops are dispatched to port 3.",
606        "EventCode": "0xA1",
607        "Counter": "0,1,2,3",
608        "UMask": "0x30",
609        "AnyThread": "1",
610        "EventName": "UOPS_DISPATCHED_PORT.PORT_3_CORE",
611        "SampleAfterValue": "2000003",
612        "BriefDescription": "Cycles per core when load or STA uops are dispatched to port 3",
613        "CounterHTOff": "0,1,2,3,4,5,6,7"
614    },
615    {
616        "PublicDescription": "Cycles Allocation is stalled due to Resource Related reason.",
617        "EventCode": "0xA2",
618        "Counter": "0,1,2,3",
619        "UMask": "0x1",
620        "EventName": "RESOURCE_STALLS.ANY",
621        "SampleAfterValue": "2000003",
622        "BriefDescription": "Resource-related stall cycles",
623        "CounterHTOff": "0,1,2,3,4,5,6,7"
624    },
625    {
626        "EventCode": "0xA2",
627        "Counter": "0,1,2,3",
628        "UMask": "0x4",
629        "EventName": "RESOURCE_STALLS.RS",
630        "SampleAfterValue": "2000003",
631        "BriefDescription": "Cycles stalled due to no eligible RS entry available.",
632        "CounterHTOff": "0,1,2,3,4,5,6,7"
633    },
634    {
635        "PublicDescription": "Cycles stalled due to no store buffers available (not including draining form sync).",
636        "EventCode": "0xA2",
637        "Counter": "0,1,2,3",
638        "UMask": "0x8",
639        "EventName": "RESOURCE_STALLS.SB",
640        "SampleAfterValue": "2000003",
641        "BriefDescription": "Cycles stalled due to no store buffers available. (not including draining form sync).",
642        "CounterHTOff": "0,1,2,3,4,5,6,7"
643    },
644    {
645        "EventCode": "0xA2",
646        "Counter": "0,1,2,3",
647        "UMask": "0x10",
648        "EventName": "RESOURCE_STALLS.ROB",
649        "SampleAfterValue": "2000003",
650        "BriefDescription": "Cycles stalled due to re-order buffer full.",
651        "CounterHTOff": "0,1,2,3,4,5,6,7"
652    },
653    {
654        "PublicDescription": "Cycles with pending L2 miss loads. Set AnyThread to count per core.",
655        "EventCode": "0xA3",
656        "Counter": "0,1,2,3",
657        "UMask": "0x1",
658        "EventName": "CYCLE_ACTIVITY.CYCLES_L2_PENDING",
659        "SampleAfterValue": "2000003",
660        "BriefDescription": "Cycles with pending L2 cache miss loads.",
661        "CounterMask": "1",
662        "CounterHTOff": "0,1,2,3,4,5,6,7"
663    },
664    {
665        "PublicDescription": "Cycles with pending L1 cache miss loads. Set AnyThread to count per core.",
666        "EventCode": "0xA3",
667        "Counter": "2",
668        "UMask": "0x8",
669        "EventName": "CYCLE_ACTIVITY.CYCLES_L1D_PENDING",
670        "SampleAfterValue": "2000003",
671        "BriefDescription": "Cycles with pending L1 cache miss loads.",
672        "CounterMask": "8",
673        "CounterHTOff": "2"
674    },
675    {
676        "PublicDescription": "Cycles with pending memory loads. Set AnyThread to count per core.",
677        "EventCode": "0xA3",
678        "Counter": "0,1,2,3",
679        "UMask": "0x2",
680        "EventName": "CYCLE_ACTIVITY.CYCLES_LDM_PENDING",
681        "SampleAfterValue": "2000003",
682        "BriefDescription": "Cycles with pending memory loads.",
683        "CounterMask": "2",
684        "CounterHTOff": "0,1,2,3"
685    },
686    {
687        "PublicDescription": "Total execution stalls.",
688        "EventCode": "0xA3",
689        "Counter": "0,1,2,3",
690        "UMask": "0x4",
691        "EventName": "CYCLE_ACTIVITY.CYCLES_NO_EXECUTE",
692        "SampleAfterValue": "2000003",
693        "BriefDescription": "Total execution stalls",
694        "CounterMask": "4",
695        "CounterHTOff": "0,1,2,3"
696    },
697    {
698        "PublicDescription": "Number of loads missed L2.",
699        "EventCode": "0xA3",
700        "Counter": "0,1,2,3",
701        "UMask": "0x5",
702        "EventName": "CYCLE_ACTIVITY.STALLS_L2_PENDING",
703        "SampleAfterValue": "2000003",
704        "BriefDescription": "Execution stalls due to L2 cache misses.",
705        "CounterMask": "5",
706        "CounterHTOff": "0,1,2,3"
707    },
708    {
709        "EventCode": "0xA3",
710        "Counter": "0,1,2,3",
711        "UMask": "0x6",
712        "EventName": "CYCLE_ACTIVITY.STALLS_LDM_PENDING",
713        "SampleAfterValue": "2000003",
714        "BriefDescription": "Execution stalls due to memory subsystem.",
715        "CounterMask": "6",
716        "CounterHTOff": "0,1,2,3"
717    },
718    {
719        "PublicDescription": "Execution stalls due to L1 data cache miss loads. Set Cmask=0CH.",
720        "EventCode": "0xA3",
721        "Counter": "2",
722        "UMask": "0xc",
723        "EventName": "CYCLE_ACTIVITY.STALLS_L1D_PENDING",
724        "SampleAfterValue": "2000003",
725        "BriefDescription": "Execution stalls due to L1 data cache misses",
726        "CounterMask": "12",
727        "CounterHTOff": "2"
728    },
729    {
730        "EventCode": "0xA8",
731        "Counter": "0,1,2,3",
732        "UMask": "0x1",
733        "EventName": "LSD.UOPS",
734        "SampleAfterValue": "2000003",
735        "BriefDescription": "Number of Uops delivered by the LSD.",
736        "CounterHTOff": "0,1,2,3,4,5,6,7"
737    },
738    {
739        "PublicDescription": "Cycles Uops delivered by the LSD, but didn't come from the decoder.",
740        "EventCode": "0xA8",
741        "Counter": "0,1,2,3",
742        "UMask": "0x1",
743        "EventName": "LSD.CYCLES_ACTIVE",
744        "SampleAfterValue": "2000003",
745        "BriefDescription": "Cycles Uops delivered by the LSD, but didn't come from the decoder",
746        "CounterMask": "1",
747        "CounterHTOff": "0,1,2,3,4,5,6,7"
748    },
749    {
750        "PublicDescription": "Counts total number of uops to be executed per-thread each cycle. Set Cmask = 1, INV =1 to count stall cycles.",
751        "EventCode": "0xB1",
752        "Counter": "0,1,2,3",
753        "UMask": "0x1",
754        "EventName": "UOPS_EXECUTED.THREAD",
755        "SampleAfterValue": "2000003",
756        "BriefDescription": "Counts the number of uops to be executed per-thread each cycle.",
757        "CounterHTOff": "0,1,2,3,4,5,6,7"
758    },
759    {
760        "PublicDescription": "Counts total number of uops to be executed per-core each cycle.",
761        "EventCode": "0xB1",
762        "Counter": "0,1,2,3",
763        "UMask": "0x2",
764        "EventName": "UOPS_EXECUTED.CORE",
765        "SampleAfterValue": "2000003",
766        "BriefDescription": "Number of uops executed on the core.",
767        "CounterHTOff": "0,1,2,3,4,5,6,7"
768    },
769    {
770        "EventCode": "0xB1",
771        "Invert": "1",
772        "Counter": "0,1,2,3",
773        "UMask": "0x1",
774        "EventName": "UOPS_EXECUTED.STALL_CYCLES",
775        "SampleAfterValue": "2000003",
776        "BriefDescription": "Counts number of cycles no uops were dispatched to be executed on this thread.",
777        "CounterMask": "1",
778        "CounterHTOff": "0,1,2,3"
779    },
780    {
781        "PublicDescription": "Number of instructions at retirement.",
782        "EventCode": "0xC0",
783        "Counter": "0,1,2,3",
784        "UMask": "0x0",
785        "EventName": "INST_RETIRED.ANY_P",
786        "SampleAfterValue": "2000003",
787        "BriefDescription": "Number of instructions retired. General Counter   - architectural event",
788        "CounterHTOff": "0,1,2,3,4,5,6,7"
789    },
790    {
791        "PEBS": "2",
792        "PublicDescription": "Precise instruction retired event with HW to reduce effect of PEBS shadow in IP distribution.",
793        "EventCode": "0xC0",
794        "Counter": "1",
795        "UMask": "0x1",
796        "EventName": "INST_RETIRED.PREC_DIST",
797        "SampleAfterValue": "2000003",
798        "BriefDescription": "Precise instruction retired event with HW to reduce effect of PEBS shadow in IP distribution",
799        "CounterHTOff": "1"
800    },
801    {
802        "EventCode": "0xC1",
803        "Counter": "0,1,2,3",
804        "UMask": "0x80",
805        "EventName": "OTHER_ASSISTS.ANY_WB_ASSIST",
806        "SampleAfterValue": "100003",
807        "BriefDescription": "Number of times any microcode assist is invoked by HW upon uop writeback.",
808        "CounterHTOff": "0,1,2,3,4,5,6,7"
809    },
810    {
811        "PEBS": "1",
812        "PublicDescription": "Counts the number of micro-ops retired, Use cmask=1 and invert to count active cycles or stalled cycles.",
813        "EventCode": "0xC2",
814        "Counter": "0,1,2,3",
815        "UMask": "0x1",
816        "EventName": "UOPS_RETIRED.ALL",
817        "SampleAfterValue": "2000003",
818        "BriefDescription": "Actually retired uops. ",
819        "CounterHTOff": "0,1,2,3,4,5,6,7"
820    },
821    {
822        "PEBS": "1",
823        "PublicDescription": "Counts the number of retirement slots used each cycle.",
824        "EventCode": "0xC2",
825        "Counter": "0,1,2,3",
826        "UMask": "0x2",
827        "EventName": "UOPS_RETIRED.RETIRE_SLOTS",
828        "SampleAfterValue": "2000003",
829        "BriefDescription": "Retirement slots used. ",
830        "CounterHTOff": "0,1,2,3,4,5,6,7"
831    },
832    {
833        "EventCode": "0xC2",
834        "Invert": "1",
835        "Counter": "0,1,2,3",
836        "UMask": "0x1",
837        "EventName": "UOPS_RETIRED.STALL_CYCLES",
838        "SampleAfterValue": "2000003",
839        "BriefDescription": "Cycles without actually retired uops.",
840        "CounterMask": "1",
841        "CounterHTOff": "0,1,2,3"
842    },
843    {
844        "EventCode": "0xC2",
845        "Invert": "1",
846        "Counter": "0,1,2,3",
847        "UMask": "0x1",
848        "EventName": "UOPS_RETIRED.TOTAL_CYCLES",
849        "SampleAfterValue": "2000003",
850        "BriefDescription": "Cycles with less than 10 actually retired uops.",
851        "CounterMask": "10",
852        "CounterHTOff": "0,1,2,3"
853    },
854    {
855        "EventCode": "0xC2",
856        "Invert": "1",
857        "Counter": "0,1,2,3",
858        "UMask": "0x1",
859        "AnyThread": "1",
860        "EventName": "UOPS_RETIRED.CORE_STALL_CYCLES",
861        "SampleAfterValue": "2000003",
862        "BriefDescription": "Cycles without actually retired uops.",
863        "CounterMask": "1",
864        "CounterHTOff": "0,1,2,3"
865    },
866    {
867        "PublicDescription": "Number of self-modifying-code machine clears detected.",
868        "EventCode": "0xC3",
869        "Counter": "0,1,2,3",
870        "UMask": "0x4",
871        "EventName": "MACHINE_CLEARS.SMC",
872        "SampleAfterValue": "100003",
873        "BriefDescription": "Self-modifying code (SMC) detected.",
874        "CounterHTOff": "0,1,2,3,4,5,6,7"
875    },
876    {
877        "PublicDescription": "Counts the number of executed AVX masked load operations that refer to an illegal address range with the mask bits set to 0.",
878        "EventCode": "0xC3",
879        "Counter": "0,1,2,3",
880        "UMask": "0x20",
881        "EventName": "MACHINE_CLEARS.MASKMOV",
882        "SampleAfterValue": "100003",
883        "BriefDescription": "This event counts the number of executed Intel AVX masked load operations that refer to an illegal address range with the mask bits set to 0. ",
884        "CounterHTOff": "0,1,2,3,4,5,6,7"
885    },
886    {
887        "PEBS": "1",
888        "PublicDescription": "Counts the number of conditional branch instructions retired.",
889        "EventCode": "0xC4",
890        "Counter": "0,1,2,3",
891        "UMask": "0x1",
892        "EventName": "BR_INST_RETIRED.CONDITIONAL",
893        "SampleAfterValue": "400009",
894        "BriefDescription": "Conditional branch instructions retired. ",
895        "CounterHTOff": "0,1,2,3,4,5,6,7"
896    },
897    {
898        "PEBS": "1",
899        "PublicDescription": "Direct and indirect near call instructions retired.",
900        "EventCode": "0xC4",
901        "Counter": "0,1,2,3",
902        "UMask": "0x2",
903        "EventName": "BR_INST_RETIRED.NEAR_CALL",
904        "SampleAfterValue": "100007",
905        "BriefDescription": "Direct and indirect near call instructions retired. ",
906        "CounterHTOff": "0,1,2,3,4,5,6,7"
907    },
908    {
909        "PublicDescription": "Branch instructions at retirement.",
910        "EventCode": "0xC4",
911        "Counter": "0,1,2,3",
912        "UMask": "0x0",
913        "EventName": "BR_INST_RETIRED.ALL_BRANCHES",
914        "SampleAfterValue": "400009",
915        "BriefDescription": "All (macro) branch instructions retired.",
916        "CounterHTOff": "0,1,2,3,4,5,6,7"
917    },
918    {
919        "PEBS": "1",
920        "PublicDescription": "Counts the number of near return instructions retired.",
921        "EventCode": "0xC4",
922        "Counter": "0,1,2,3",
923        "UMask": "0x8",
924        "EventName": "BR_INST_RETIRED.NEAR_RETURN",
925        "SampleAfterValue": "100007",
926        "BriefDescription": "Return instructions retired. ",
927        "CounterHTOff": "0,1,2,3,4,5,6,7"
928    },
929    {
930        "PublicDescription": "Counts the number of not taken branch instructions retired.",
931        "EventCode": "0xC4",
932        "Counter": "0,1,2,3",
933        "UMask": "0x10",
934        "EventName": "BR_INST_RETIRED.NOT_TAKEN",
935        "SampleAfterValue": "400009",
936        "BriefDescription": "Not taken branch instructions retired. ",
937        "CounterHTOff": "0,1,2,3,4,5,6,7"
938    },
939    {
940        "PEBS": "1",
941        "PublicDescription": "Number of near taken branches retired.",
942        "EventCode": "0xC4",
943        "Counter": "0,1,2,3",
944        "UMask": "0x20",
945        "EventName": "BR_INST_RETIRED.NEAR_TAKEN",
946        "SampleAfterValue": "400009",
947        "BriefDescription": "Taken branch instructions retired. ",
948        "CounterHTOff": "0,1,2,3,4,5,6,7"
949    },
950    {
951        "PublicDescription": "Number of far branches retired.",
952        "EventCode": "0xC4",
953        "Counter": "0,1,2,3",
954        "UMask": "0x40",
955        "EventName": "BR_INST_RETIRED.FAR_BRANCH",
956        "SampleAfterValue": "100007",
957        "BriefDescription": "Far branch instructions retired. ",
958        "CounterHTOff": "0,1,2,3,4,5,6,7"
959    },
960    {
961        "PEBS": "2",
962        "EventCode": "0xC4",
963        "Counter": "0,1,2,3",
964        "UMask": "0x4",
965        "EventName": "BR_INST_RETIRED.ALL_BRANCHES_PEBS",
966        "SampleAfterValue": "400009",
967        "BriefDescription": "All (macro) branch instructions retired.",
968        "CounterHTOff": "0,1,2,3"
969    },
970    {
971        "PEBS": "1",
972        "PublicDescription": "Mispredicted conditional branch instructions retired.",
973        "EventCode": "0xC5",
974        "Counter": "0,1,2,3",
975        "UMask": "0x1",
976        "EventName": "BR_MISP_RETIRED.CONDITIONAL",
977        "SampleAfterValue": "400009",
978        "BriefDescription": "Mispredicted conditional branch instructions retired. ",
979        "CounterHTOff": "0,1,2,3,4,5,6,7"
980    },
981    {
982        "PublicDescription": "Mispredicted branch instructions at retirement.",
983        "EventCode": "0xC5",
984        "Counter": "0,1,2,3",
985        "UMask": "0x0",
986        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES",
987        "SampleAfterValue": "400009",
988        "BriefDescription": "All mispredicted macro branch instructions retired.",
989        "CounterHTOff": "0,1,2,3,4,5,6,7"
990    },
991    {
992        "PEBS": "1",
993        "PublicDescription": "Mispredicted taken branch instructions retired.",
994        "EventCode": "0xC5",
995        "Counter": "0,1,2,3",
996        "UMask": "0x20",
997        "EventName": "BR_MISP_RETIRED.NEAR_TAKEN",
998        "SampleAfterValue": "400009",
999        "BriefDescription": "number of near branch instructions retired that were mispredicted and taken. ",
1000        "CounterHTOff": "0,1,2,3,4,5,6,7"
1001    },
1002    {
1003        "PEBS": "2",
1004        "EventCode": "0xC5",
1005        "Counter": "0,1,2,3",
1006        "UMask": "0x4",
1007        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES_PEBS",
1008        "SampleAfterValue": "400009",
1009        "BriefDescription": "Mispredicted macro branch instructions retired.",
1010        "CounterHTOff": "0,1,2,3"
1011    },
1012    {
1013        "PublicDescription": "Count cases of saving new LBR records by hardware.",
1014        "EventCode": "0xCC",
1015        "Counter": "0,1,2,3",
1016        "UMask": "0x20",
1017        "EventName": "ROB_MISC_EVENTS.LBR_INSERTS",
1018        "SampleAfterValue": "2000003",
1019        "BriefDescription": "Count cases of saving new LBR",
1020        "CounterHTOff": "0,1,2,3,4,5,6,7"
1021    },
1022    {
1023        "PublicDescription": "Number of front end re-steers due to BPU misprediction.",
1024        "EventCode": "0xE6",
1025        "Counter": "0,1,2,3",
1026        "UMask": "0x1f",
1027        "EventName": "BACLEARS.ANY",
1028        "SampleAfterValue": "100003",
1029        "BriefDescription": "Counts the total number when the front end is resteered, mainly when the BPU cannot provide a correct prediction and this is corrected by other branch handling mechanisms at the front end.",
1030        "CounterHTOff": "0,1,2,3,4,5,6,7"
1031    },
1032    {
1033        "PublicDescription": "Cycles where at least 1 uop was executed per-thread.",
1034        "EventCode": "0xB1",
1035        "Counter": "0,1,2,3",
1036        "UMask": "0x1",
1037        "EventName": "UOPS_EXECUTED.CYCLES_GE_1_UOP_EXEC",
1038        "SampleAfterValue": "2000003",
1039        "BriefDescription": "Cycles where at least 1 uop was executed per-thread",
1040        "CounterMask": "1",
1041        "CounterHTOff": "0,1,2,3,4,5,6,7"
1042    },
1043    {
1044        "PublicDescription": "Cycles where at least 2 uops were executed per-thread.",
1045        "EventCode": "0xB1",
1046        "Counter": "0,1,2,3",
1047        "UMask": "0x1",
1048        "EventName": "UOPS_EXECUTED.CYCLES_GE_2_UOPS_EXEC",
1049        "SampleAfterValue": "2000003",
1050        "BriefDescription": "Cycles where at least 2 uops were executed per-thread",
1051        "CounterMask": "2",
1052        "CounterHTOff": "0,1,2,3,4,5,6,7"
1053    },
1054    {
1055        "PublicDescription": "Cycles where at least 3 uops were executed per-thread.",
1056        "EventCode": "0xB1",
1057        "Counter": "0,1,2,3",
1058        "UMask": "0x1",
1059        "EventName": "UOPS_EXECUTED.CYCLES_GE_3_UOPS_EXEC",
1060        "SampleAfterValue": "2000003",
1061        "BriefDescription": "Cycles where at least 3 uops were executed per-thread",
1062        "CounterMask": "3",
1063        "CounterHTOff": "0,1,2,3,4,5,6,7"
1064    },
1065    {
1066        "PublicDescription": "Cycles where at least 4 uops were executed per-thread.",
1067        "EventCode": "0xB1",
1068        "Counter": "0,1,2,3",
1069        "UMask": "0x1",
1070        "EventName": "UOPS_EXECUTED.CYCLES_GE_4_UOPS_EXEC",
1071        "SampleAfterValue": "2000003",
1072        "BriefDescription": "Cycles where at least 4 uops were executed per-thread",
1073        "CounterMask": "4",
1074        "CounterHTOff": "0,1,2,3,4,5,6,7"
1075    },
1076    {
1077        "EventCode": "0x5E",
1078        "Invert": "1",
1079        "Counter": "0,1,2,3",
1080        "UMask": "0x1",
1081        "EdgeDetect": "1",
1082        "EventName": "RS_EVENTS.EMPTY_END",
1083        "SampleAfterValue": "200003",
1084        "BriefDescription": "Counts end of periods where the Reservation Station (RS) was empty. Could be useful to precisely locate Frontend Latency Bound issues.",
1085        "CounterMask": "1",
1086        "CounterHTOff": "0,1,2,3,4,5,6,7"
1087    },
1088    {
1089        "EventCode": "0xC3",
1090        "Counter": "0,1,2,3",
1091        "UMask": "0x1",
1092        "EdgeDetect": "1",
1093        "EventName": "MACHINE_CLEARS.COUNT",
1094        "SampleAfterValue": "100003",
1095        "BriefDescription": "Number of machine clears (nukes) of any type.",
1096        "CounterMask": "1",
1097        "CounterHTOff": "0,1,2,3,4,5,6,7"
1098    },
1099    {
1100        "PublicDescription": "Cycles 4 Uops delivered by the LSD, but didn't come from the decoder.",
1101        "EventCode": "0xA8",
1102        "Counter": "0,1,2,3",
1103        "UMask": "0x1",
1104        "EventName": "LSD.CYCLES_4_UOPS",
1105        "SampleAfterValue": "2000003",
1106        "BriefDescription": "Cycles 4 Uops delivered by the LSD, but didn't come from the decoder",
1107        "CounterMask": "4",
1108        "CounterHTOff": "0,1,2,3,4,5,6,7"
1109    },
1110    {
1111        "EventCode": "0xA3",
1112        "Counter": "2",
1113        "UMask": "0x8",
1114        "EventName": "CYCLE_ACTIVITY.CYCLES_L1D_MISS",
1115        "SampleAfterValue": "2000003",
1116        "BriefDescription": "Cycles while L1 cache miss demand load is outstanding.",
1117        "CounterMask": "8",
1118        "CounterHTOff": "2"
1119    },
1120    {
1121        "EventCode": "0xA3",
1122        "Counter": "0,1,2,3",
1123        "UMask": "0x1",
1124        "EventName": "CYCLE_ACTIVITY.CYCLES_L2_MISS",
1125        "SampleAfterValue": "2000003",
1126        "BriefDescription": "Cycles while L2 cache miss load* is outstanding.",
1127        "CounterMask": "1",
1128        "CounterHTOff": "0,1,2,3,4,5,6,7"
1129    },
1130    {
1131        "EventCode": "0xA3",
1132        "Counter": "0,1,2,3",
1133        "UMask": "0x2",
1134        "EventName": "CYCLE_ACTIVITY.CYCLES_MEM_ANY",
1135        "SampleAfterValue": "2000003",
1136        "BriefDescription": "Cycles while memory subsystem has an outstanding load.",
1137        "CounterMask": "2",
1138        "CounterHTOff": "0,1,2,3"
1139    },
1140    {
1141        "EventCode": "0xA3",
1142        "Counter": "0,1,2,3",
1143        "UMask": "0x4",
1144        "EventName": "CYCLE_ACTIVITY.STALLS_TOTAL",
1145        "SampleAfterValue": "2000003",
1146        "BriefDescription": "Total execution stalls.",
1147        "CounterMask": "4",
1148        "CounterHTOff": "0,1,2,3"
1149    },
1150    {
1151        "EventCode": "0xA3",
1152        "Counter": "2",
1153        "UMask": "0xc",
1154        "EventName": "CYCLE_ACTIVITY.STALLS_L1D_MISS",
1155        "SampleAfterValue": "2000003",
1156        "BriefDescription": "Execution stalls while L1 cache miss demand load is outstanding.",
1157        "CounterMask": "12",
1158        "CounterHTOff": "2"
1159    },
1160    {
1161        "EventCode": "0xA3",
1162        "Counter": "0,1,2,3",
1163        "UMask": "0x5",
1164        "EventName": "CYCLE_ACTIVITY.STALLS_L2_MISS",
1165        "SampleAfterValue": "2000003",
1166        "BriefDescription": "Execution stalls while L2 cache miss load* is outstanding.",
1167        "CounterMask": "5",
1168        "CounterHTOff": "0,1,2,3"
1169    },
1170    {
1171        "EventCode": "0xA3",
1172        "Counter": "0,1,2,3",
1173        "UMask": "0x6",
1174        "EventName": "CYCLE_ACTIVITY.STALLS_MEM_ANY",
1175        "SampleAfterValue": "2000003",
1176        "BriefDescription": "Execution stalls while memory subsystem has an outstanding load.",
1177        "CounterMask": "6",
1178        "CounterHTOff": "0,1,2,3"
1179    },
1180    {
1181        "PublicDescription": "Core cycles when at least one thread on the physical core is not in halt state.",
1182        "EventCode": "0x00",
1183        "Counter": "Fixed counter 2",
1184        "UMask": "0x2",
1185        "AnyThread": "1",
1186        "EventName": "CPU_CLK_UNHALTED.THREAD_ANY",
1187        "SampleAfterValue": "2000003",
1188        "BriefDescription": "Core cycles when at least one thread on the physical core is not in halt state",
1189        "CounterHTOff": "Fixed counter 2"
1190    },
1191    {
1192        "PublicDescription": "Core cycles when at least one thread on the physical core is not in halt state.",
1193        "EventCode": "0x3C",
1194        "Counter": "0,1,2,3",
1195        "UMask": "0x0",
1196        "AnyThread": "1",
1197        "EventName": "CPU_CLK_UNHALTED.THREAD_P_ANY",
1198        "SampleAfterValue": "2000003",
1199        "BriefDescription": "Core cycles when at least one thread on the physical core is not in halt state",
1200        "CounterHTOff": "0,1,2,3,4,5,6,7"
1201    },
1202    {
1203        "EventCode": "0x3C",
1204        "Counter": "0,1,2,3",
1205        "UMask": "0x1",
1206        "AnyThread": "1",
1207        "EventName": "CPU_CLK_THREAD_UNHALTED.REF_XCLK_ANY",
1208        "SampleAfterValue": "2000003",
1209        "BriefDescription": "Reference cycles when the at least one thread on the physical core is unhalted. (counts at 100 MHz rate)",
1210        "CounterHTOff": "0,1,2,3,4,5,6,7"
1211    },
1212    {
1213        "EventCode": "0x0D",
1214        "Counter": "0,1,2,3",
1215        "UMask": "0x3",
1216        "AnyThread": "1",
1217        "EventName": "INT_MISC.RECOVERY_CYCLES_ANY",
1218        "SampleAfterValue": "2000003",
1219        "BriefDescription": "Core cycles the allocator was stalled due to recovery from earlier clear event for any thread running on the physical core (e.g. misprediction or memory nuke).",
1220        "CounterMask": "1",
1221        "CounterHTOff": "0,1,2,3,4,5,6,7"
1222    },
1223    {
1224        "PublicDescription": "Cycles at least 1 micro-op is executed from any thread on physical core.",
1225        "EventCode": "0xB1",
1226        "Counter": "0,1,2,3",
1227        "UMask": "0x2",
1228        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_1",
1229        "SampleAfterValue": "2000003",
1230        "BriefDescription": "Cycles at least 1 micro-op is executed from any thread on physical core",
1231        "CounterMask": "1",
1232        "CounterHTOff": "0,1,2,3,4,5,6,7"
1233    },
1234    {
1235        "PublicDescription": "Cycles at least 2 micro-op is executed from any thread on physical core.",
1236        "EventCode": "0xB1",
1237        "Counter": "0,1,2,3",
1238        "UMask": "0x2",
1239        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_2",
1240        "SampleAfterValue": "2000003",
1241        "BriefDescription": "Cycles at least 2 micro-op is executed from any thread on physical core",
1242        "CounterMask": "2",
1243        "CounterHTOff": "0,1,2,3,4,5,6,7"
1244    },
1245    {
1246        "PublicDescription": "Cycles at least 3 micro-op is executed from any thread on physical core.",
1247        "EventCode": "0xB1",
1248        "Counter": "0,1,2,3",
1249        "UMask": "0x2",
1250        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_3",
1251        "SampleAfterValue": "2000003",
1252        "BriefDescription": "Cycles at least 3 micro-op is executed from any thread on physical core",
1253        "CounterMask": "3",
1254        "CounterHTOff": "0,1,2,3,4,5,6,7"
1255    },
1256    {
1257        "PublicDescription": "Cycles at least 4 micro-op is executed from any thread on physical core.",
1258        "EventCode": "0xB1",
1259        "Counter": "0,1,2,3",
1260        "UMask": "0x2",
1261        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_4",
1262        "SampleAfterValue": "2000003",
1263        "BriefDescription": "Cycles at least 4 micro-op is executed from any thread on physical core",
1264        "CounterMask": "4",
1265        "CounterHTOff": "0,1,2,3,4,5,6,7"
1266    },
1267    {
1268        "PublicDescription": "Cycles with no micro-ops executed from any thread on physical core.",
1269        "EventCode": "0xB1",
1270        "Invert": "1",
1271        "Counter": "0,1,2,3",
1272        "UMask": "0x2",
1273        "EventName": "UOPS_EXECUTED.CORE_CYCLES_NONE",
1274        "SampleAfterValue": "2000003",
1275        "BriefDescription": "Cycles with no micro-ops executed from any thread on physical core",
1276        "CounterHTOff": "0,1,2,3,4,5,6,7"
1277    },
1278    {
1279        "PublicDescription": "Reference cycles when the thread is unhalted. (counts at 100 MHz rate)",
1280        "EventCode": "0x3C",
1281        "Counter": "0,1,2,3",
1282        "UMask": "0x1",
1283        "EventName": "CPU_CLK_UNHALTED.REF_XCLK",
1284        "SampleAfterValue": "2000003",
1285        "BriefDescription": "Reference cycles when the thread is unhalted (counts at 100 MHz rate)",
1286        "CounterHTOff": "0,1,2,3,4,5,6,7"
1287    },
1288    {
1289        "EventCode": "0x3C",
1290        "Counter": "0,1,2,3",
1291        "UMask": "0x1",
1292        "AnyThread": "1",
1293        "EventName": "CPU_CLK_UNHALTED.REF_XCLK_ANY",
1294        "SampleAfterValue": "2000003",
1295        "BriefDescription": "Reference cycles when the at least one thread on the physical core is unhalted. (counts at 100 MHz rate)",
1296        "CounterHTOff": "0,1,2,3,4,5,6,7"
1297    },
1298    {
1299        "EventCode": "0x3C",
1300        "Counter": "0,1,2,3",
1301        "UMask": "0x2",
1302        "EventName": "CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE",
1303        "SampleAfterValue": "2000003",
1304        "BriefDescription": "Count XClk pulses when this thread is unhalted and the other thread is halted.",
1305        "CounterHTOff": "0,1,2,3,4,5,6,7"
1306    }
1307]