1[
2    {
3        "PublicDescription": "Counts cycles the IDQ is empty.",
4        "EventCode": "0x79",
5        "Counter": "0,1,2,3",
6        "UMask": "0x2",
7        "Errata": "HSD135",
8        "EventName": "IDQ.EMPTY",
9        "SampleAfterValue": "2000003",
10        "BriefDescription": "Instruction Decode Queue (IDQ) empty cycles",
11        "CounterHTOff": "0,1,2,3"
12    },
13    {
14        "PublicDescription": "Increment each cycle # of uops delivered to IDQ from MITE path. Set Cmask = 1 to count cycles.",
15        "EventCode": "0x79",
16        "Counter": "0,1,2,3",
17        "UMask": "0x4",
18        "EventName": "IDQ.MITE_UOPS",
19        "SampleAfterValue": "2000003",
20        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from MITE path",
21        "CounterHTOff": "0,1,2,3,4,5,6,7"
22    },
23    {
24        "EventCode": "0x79",
25        "Counter": "0,1,2,3",
26        "UMask": "0x4",
27        "EventName": "IDQ.MITE_CYCLES",
28        "SampleAfterValue": "2000003",
29        "BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) from MITE path.",
30        "CounterMask": "1",
31        "CounterHTOff": "0,1,2,3,4,5,6,7"
32    },
33    {
34        "PublicDescription": "Increment each cycle. # of uops delivered to IDQ from DSB path. Set Cmask = 1 to count cycles.",
35        "EventCode": "0x79",
36        "Counter": "0,1,2,3",
37        "UMask": "0x8",
38        "EventName": "IDQ.DSB_UOPS",
39        "SampleAfterValue": "2000003",
40        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path",
41        "CounterHTOff": "0,1,2,3,4,5,6,7"
42    },
43    {
44        "EventCode": "0x79",
45        "Counter": "0,1,2,3",
46        "UMask": "0x8",
47        "EventName": "IDQ.DSB_CYCLES",
48        "SampleAfterValue": "2000003",
49        "BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) from Decode Stream Buffer (DSB) path.",
50        "CounterMask": "1",
51        "CounterHTOff": "0,1,2,3,4,5,6,7"
52    },
53    {
54        "PublicDescription": "Increment each cycle # of uops delivered to IDQ when MS_busy by DSB. Set Cmask = 1 to count cycles. Add Edge=1 to count # of delivery.",
55        "EventCode": "0x79",
56        "Counter": "0,1,2,3",
57        "UMask": "0x10",
58        "EventName": "IDQ.MS_DSB_UOPS",
59        "SampleAfterValue": "2000003",
60        "BriefDescription": "Uops initiated by Decode Stream Buffer (DSB) that are being delivered to Instruction Decode Queue (IDQ) while Microcode Sequenser (MS) is busy",
61        "CounterHTOff": "0,1,2,3,4,5,6,7"
62    },
63    {
64        "EventCode": "0x79",
65        "Counter": "0,1,2,3",
66        "UMask": "0x10",
67        "EventName": "IDQ.MS_DSB_CYCLES",
68        "SampleAfterValue": "2000003",
69        "BriefDescription": "Cycles when uops initiated by Decode Stream Buffer (DSB) are being delivered to Instruction Decode Queue (IDQ) while Microcode Sequenser (MS) is busy.",
70        "CounterMask": "1",
71        "CounterHTOff": "0,1,2,3,4,5,6,7"
72    },
73    {
74        "EventCode": "0x79",
75        "Counter": "0,1,2,3",
76        "UMask": "0x10",
77        "EdgeDetect": "1",
78        "EventName": "IDQ.MS_DSB_OCCUR",
79        "SampleAfterValue": "2000003",
80        "BriefDescription": "Deliveries to Instruction Decode Queue (IDQ) initiated by Decode Stream Buffer (DSB) while Microcode Sequenser (MS) is busy.",
81        "CounterMask": "1",
82        "CounterHTOff": "0,1,2,3,4,5,6,7"
83    },
84    {
85        "PublicDescription": "Counts cycles DSB is delivered four uops. Set Cmask = 4.",
86        "EventCode": "0x79",
87        "Counter": "0,1,2,3",
88        "UMask": "0x18",
89        "EventName": "IDQ.ALL_DSB_CYCLES_4_UOPS",
90        "SampleAfterValue": "2000003",
91        "BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering 4 Uops",
92        "CounterMask": "4",
93        "CounterHTOff": "0,1,2,3,4,5,6,7"
94    },
95    {
96        "PublicDescription": "Counts cycles DSB is delivered at least one uops. Set Cmask = 1.",
97        "EventCode": "0x79",
98        "Counter": "0,1,2,3",
99        "UMask": "0x18",
100        "EventName": "IDQ.ALL_DSB_CYCLES_ANY_UOPS",
101        "SampleAfterValue": "2000003",
102        "BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering any Uop",
103        "CounterMask": "1",
104        "CounterHTOff": "0,1,2,3,4,5,6,7"
105    },
106    {
107        "PublicDescription": "Increment each cycle # of uops delivered to IDQ when MS_busy by MITE. Set Cmask = 1 to count cycles.",
108        "EventCode": "0x79",
109        "Counter": "0,1,2,3",
110        "UMask": "0x20",
111        "EventName": "IDQ.MS_MITE_UOPS",
112        "SampleAfterValue": "2000003",
113        "BriefDescription": "Uops initiated by MITE and delivered to Instruction Decode Queue (IDQ) while Microcode Sequenser (MS) is busy",
114        "CounterHTOff": "0,1,2,3,4,5,6,7"
115    },
116    {
117        "PublicDescription": "Counts cycles MITE is delivered four uops. Set Cmask = 4.",
118        "EventCode": "0x79",
119        "Counter": "0,1,2,3",
120        "UMask": "0x24",
121        "EventName": "IDQ.ALL_MITE_CYCLES_4_UOPS",
122        "SampleAfterValue": "2000003",
123        "BriefDescription": "Cycles MITE is delivering 4 Uops",
124        "CounterMask": "4",
125        "CounterHTOff": "0,1,2,3,4,5,6,7"
126    },
127    {
128        "PublicDescription": "Counts cycles MITE is delivered at least one uop. Set Cmask = 1.",
129        "EventCode": "0x79",
130        "Counter": "0,1,2,3",
131        "UMask": "0x24",
132        "EventName": "IDQ.ALL_MITE_CYCLES_ANY_UOPS",
133        "SampleAfterValue": "2000003",
134        "BriefDescription": "Cycles MITE is delivering any Uop",
135        "CounterMask": "1",
136        "CounterHTOff": "0,1,2,3,4,5,6,7"
137    },
138    {
139        "PublicDescription": "This event counts uops delivered by the Front-end with the assistance of the microcode sequencer.  Microcode assists are used for complex instructions or scenarios that can't be handled by the standard decoder.  Using other instructions, if possible, will usually improve performance.",
140        "EventCode": "0x79",
141        "Counter": "0,1,2,3",
142        "UMask": "0x30",
143        "EventName": "IDQ.MS_UOPS",
144        "SampleAfterValue": "2000003",
145        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) while Microcode Sequenser (MS) is busy",
146        "CounterHTOff": "0,1,2,3,4,5,6,7"
147    },
148    {
149        "PublicDescription": "This event counts cycles during which the microcode sequencer assisted the Front-end in delivering uops.  Microcode assists are used for complex instructions or scenarios that can't be handled by the standard decoder.  Using other instructions, if possible, will usually improve performance.",
150        "EventCode": "0x79",
151        "Counter": "0,1,2,3",
152        "UMask": "0x30",
153        "EventName": "IDQ.MS_CYCLES",
154        "SampleAfterValue": "2000003",
155        "BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) while Microcode Sequenser (MS) is busy",
156        "CounterMask": "1",
157        "CounterHTOff": "0,1,2,3,4,5,6,7"
158    },
159    {
160        "EventCode": "0x79",
161        "Counter": "0,1,2,3",
162        "UMask": "0x30",
163        "EdgeDetect": "1",
164        "EventName": "IDQ.MS_SWITCHES",
165        "SampleAfterValue": "2000003",
166        "BriefDescription": "Number of switches from DSB (Decode Stream Buffer) or MITE (legacy decode pipeline) to the Microcode Sequencer.",
167        "CounterMask": "1",
168        "CounterHTOff": "0,1,2,3,4,5,6,7"
169    },
170    {
171        "PublicDescription": "Number of uops delivered to IDQ from any path.",
172        "EventCode": "0x79",
173        "Counter": "0,1,2,3",
174        "UMask": "0x3c",
175        "EventName": "IDQ.MITE_ALL_UOPS",
176        "SampleAfterValue": "2000003",
177        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from MITE path",
178        "CounterHTOff": "0,1,2,3,4,5,6,7"
179    },
180    {
181        "EventCode": "0x80",
182        "Counter": "0,1,2,3",
183        "UMask": "0x1",
184        "EventName": "ICACHE.HIT",
185        "SampleAfterValue": "2000003",
186        "BriefDescription": "Number of Instruction Cache, Streaming Buffer and Victim Cache Reads. both cacheable and noncacheable, including UC fetches.",
187        "CounterHTOff": "0,1,2,3,4,5,6,7"
188    },
189    {
190        "PublicDescription": "This event counts Instruction Cache (ICACHE) misses.",
191        "EventCode": "0x80",
192        "Counter": "0,1,2,3",
193        "UMask": "0x2",
194        "EventName": "ICACHE.MISSES",
195        "SampleAfterValue": "200003",
196        "BriefDescription": "Number of Instruction Cache, Streaming Buffer and Victim Cache Misses. Includes Uncacheable accesses.",
197        "CounterHTOff": "0,1,2,3,4,5,6,7"
198    },
199    {
200        "EventCode": "0x80",
201        "Counter": "0,1,2,3",
202        "UMask": "0x4",
203        "EventName": "ICACHE.IFETCH_STALL",
204        "SampleAfterValue": "2000003",
205        "BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction-cache miss.",
206        "CounterHTOff": "0,1,2,3,4,5,6,7"
207    },
208    {
209        "EventCode": "0x80",
210        "Counter": "0,1,2,3",
211        "UMask": "0x4",
212        "EventName": "ICACHE.IFDATA_STALL",
213        "SampleAfterValue": "2000003",
214        "BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction-cache miss.",
215        "CounterHTOff": "0,1,2,3,4,5,6,7"
216    },
217    {
218        "PublicDescription": "This event count the number of undelivered (unallocated) uops from the Front-end to the Resource Allocation Table (RAT) while the Back-end of the processor is not stalled. The Front-end can allocate up to 4 uops per cycle so this event can increment 0-4 times per cycle depending on the number of unallocated uops. This event is counted on a per-core basis.",
219        "EventCode": "0x9C",
220        "Counter": "0,1,2,3",
221        "UMask": "0x1",
222        "Errata": "HSD135",
223        "EventName": "IDQ_UOPS_NOT_DELIVERED.CORE",
224        "SampleAfterValue": "2000003",
225        "BriefDescription": "Uops not delivered to Resource Allocation Table (RAT) per thread when backend of the machine is not stalled",
226        "CounterHTOff": "0,1,2,3"
227    },
228    {
229        "PublicDescription": "This event counts the number cycles during which the Front-end allocated exactly zero uops to the Resource Allocation Table (RAT) while the Back-end of the processor is not stalled.  This event is counted on a per-core basis.",
230        "EventCode": "0x9C",
231        "Counter": "0,1,2,3",
232        "UMask": "0x1",
233        "Errata": "HSD135",
234        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_0_UOPS_DELIV.CORE",
235        "SampleAfterValue": "2000003",
236        "BriefDescription": "Cycles per thread when 4 or more uops are not delivered to Resource Allocation Table (RAT) when backend of the machine is not stalled",
237        "CounterMask": "4",
238        "CounterHTOff": "0,1,2,3"
239    },
240    {
241        "EventCode": "0x9C",
242        "Counter": "0,1,2,3",
243        "UMask": "0x1",
244        "Errata": "HSD135",
245        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_LE_1_UOP_DELIV.CORE",
246        "SampleAfterValue": "2000003",
247        "BriefDescription": "Cycles per thread when 3 or more uops are not delivered to Resource Allocation Table (RAT) when backend of the machine is not stalled.",
248        "CounterMask": "3",
249        "CounterHTOff": "0,1,2,3"
250    },
251    {
252        "EventCode": "0x9C",
253        "Counter": "0,1,2,3",
254        "UMask": "0x1",
255        "Errata": "HSD135",
256        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_LE_2_UOP_DELIV.CORE",
257        "SampleAfterValue": "2000003",
258        "BriefDescription": "Cycles with less than 2 uops delivered by the front end.",
259        "CounterMask": "2",
260        "CounterHTOff": "0,1,2,3"
261    },
262    {
263        "EventCode": "0x9C",
264        "Counter": "0,1,2,3",
265        "UMask": "0x1",
266        "Errata": "HSD135",
267        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_LE_3_UOP_DELIV.CORE",
268        "SampleAfterValue": "2000003",
269        "BriefDescription": "Cycles with less than 3 uops delivered by the front end.",
270        "CounterMask": "1",
271        "CounterHTOff": "0,1,2,3"
272    },
273    {
274        "EventCode": "0x9C",
275        "Invert": "1",
276        "Counter": "0,1,2,3",
277        "UMask": "0x1",
278        "Errata": "HSD135",
279        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_FE_WAS_OK",
280        "SampleAfterValue": "2000003",
281        "BriefDescription": "Counts cycles FE delivered 4 uops or Resource Allocation Table (RAT) was stalling FE.",
282        "CounterMask": "1",
283        "CounterHTOff": "0,1,2,3"
284    },
285    {
286        "EventCode": "0xAB",
287        "Counter": "0,1,2,3",
288        "UMask": "0x2",
289        "EventName": "DSB2MITE_SWITCHES.PENALTY_CYCLES",
290        "SampleAfterValue": "2000003",
291        "BriefDescription": "Decode Stream Buffer (DSB)-to-MITE switch true penalty cycles.",
292        "CounterHTOff": "0,1,2,3,4,5,6,7"
293    }
294]