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