xref: /freebsd/lib/libpmc/pmu-events/arch/x86/sandybridge/frontend.json (revision 5ab1c5846ff41be24b1f6beb0317bf8258cd4409)
1[
2    {
3        "EventCode": "0x80",
4        "Counter": "0,1,2,3",
5        "UMask": "0x1",
6        "EventName": "ICACHE.HIT",
7        "SampleAfterValue": "2000003",
8        "BriefDescription": "Number of Instruction Cache, Streaming Buffer and Victim Cache Reads. both cacheable and noncacheable, including UC fetches.",
9        "CounterHTOff": "0,1,2,3,4,5,6,7"
10    },
11    {
12        "PublicDescription": "This event counts the number of instruction cache, streaming buffer and victim cache misses. Counting includes unchacheable accesses.",
13        "EventCode": "0x80",
14        "Counter": "0,1,2,3",
15        "UMask": "0x2",
16        "EventName": "ICACHE.MISSES",
17        "SampleAfterValue": "200003",
18        "BriefDescription": "Instruction cache, streaming buffer and victim cache misses.",
19        "CounterHTOff": "0,1,2,3,4,5,6,7"
20    },
21    {
22        "EventCode": "0x79",
23        "Counter": "0,1,2,3",
24        "UMask": "0x2",
25        "EventName": "IDQ.EMPTY",
26        "SampleAfterValue": "2000003",
27        "BriefDescription": "Instruction Decode Queue (IDQ) empty cycles.",
28        "CounterHTOff": "0,1,2,3"
29    },
30    {
31        "EventCode": "0x79",
32        "Counter": "0,1,2,3",
33        "UMask": "0x4",
34        "EventName": "IDQ.MITE_UOPS",
35        "SampleAfterValue": "2000003",
36        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from MITE path.",
37        "CounterHTOff": "0,1,2,3,4,5,6,7"
38    },
39    {
40        "EventCode": "0x79",
41        "Counter": "0,1,2,3",
42        "UMask": "0x8",
43        "EventName": "IDQ.DSB_UOPS",
44        "SampleAfterValue": "2000003",
45        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path.",
46        "CounterHTOff": "0,1,2,3,4,5,6,7"
47    },
48    {
49        "EventCode": "0x79",
50        "Counter": "0,1,2,3",
51        "UMask": "0x10",
52        "EventName": "IDQ.MS_DSB_UOPS",
53        "SampleAfterValue": "2000003",
54        "BriefDescription": "Uops initiated by Decode Stream Buffer (DSB) that are being delivered to Instruction Decode Queue (IDQ) while Microcode Sequenser (MS) is busy.",
55        "CounterHTOff": "0,1,2,3,4,5,6,7"
56    },
57    {
58        "EventCode": "0x79",
59        "Counter": "0,1,2,3",
60        "UMask": "0x20",
61        "EventName": "IDQ.MS_MITE_UOPS",
62        "SampleAfterValue": "2000003",
63        "BriefDescription": "Uops initiated by MITE and delivered to Instruction Decode Queue (IDQ) while Microcode Sequenser (MS) is busy.",
64        "CounterHTOff": "0,1,2,3,4,5,6,7"
65    },
66    {
67        "EventCode": "0x79",
68        "Counter": "0,1,2,3",
69        "UMask": "0x30",
70        "EventName": "IDQ.MS_UOPS",
71        "SampleAfterValue": "2000003",
72        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) while Microcode Sequenser (MS) is busy.",
73        "CounterHTOff": "0,1,2,3,4,5,6,7"
74    },
75    {
76        "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.  See the Intel? 64 and IA-32 Architectures Optimization Reference Manual for more information.",
77        "EventCode": "0x79",
78        "Counter": "0,1,2,3",
79        "UMask": "0x30",
80        "EventName": "IDQ.MS_CYCLES",
81        "SampleAfterValue": "2000003",
82        "BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) while Microcode Sequenser (MS) is busy.",
83        "CounterMask": "1",
84        "CounterHTOff": "0,1,2,3,4,5,6,7"
85    },
86    {
87        "PublicDescription": "This event counts the number of uops not delivered to the back-end per cycle, per thread, when the back-end was not stalled.  In the ideal case 4 uops can be delivered each cycle.  The event counts the undelivered uops - so if 3 were delivered in one cycle, the counter would be incremented by 1 for that cycle (4 - 3). If the back-end is stalled, the count for this event is not incremented even when uops were not delivered, because the back-end would not have been able to accept them.  This event is used in determining the front-end bound category of the top-down pipeline slots characterization.",
88        "EventCode": "0x9C",
89        "Counter": "0,1,2,3",
90        "UMask": "0x1",
91        "EventName": "IDQ_UOPS_NOT_DELIVERED.CORE",
92        "SampleAfterValue": "2000003",
93        "BriefDescription": "Uops not delivered to Resource Allocation Table (RAT) per thread when backend of the machine is not stalled .",
94        "CounterHTOff": "0,1,2,3"
95    },
96    {
97        "EventCode": "0x9C",
98        "Counter": "0,1,2,3",
99        "UMask": "0x1",
100        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_0_UOPS_DELIV.CORE",
101        "SampleAfterValue": "2000003",
102        "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.",
103        "CounterMask": "4",
104        "CounterHTOff": "0,1,2,3"
105    },
106    {
107        "EventCode": "0x9C",
108        "Counter": "0,1,2,3",
109        "UMask": "0x1",
110        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_LE_1_UOP_DELIV.CORE",
111        "SampleAfterValue": "2000003",
112        "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.",
113        "CounterMask": "3",
114        "CounterHTOff": "0,1,2,3"
115    },
116    {
117        "EventCode": "0xAB",
118        "Counter": "0,1,2,3",
119        "UMask": "0x1",
120        "EventName": "DSB2MITE_SWITCHES.COUNT",
121        "SampleAfterValue": "2000003",
122        "BriefDescription": "Decode Stream Buffer (DSB)-to-MITE switches.",
123        "CounterHTOff": "0,1,2,3,4,5,6,7"
124    },
125    {
126        "PublicDescription": "This event counts the cycles attributed to a switch from the Decoded Stream Buffer (DSB), which holds decoded instructions, to the legacy decode pipeline.  It excludes cycles when the back-end cannot  accept new micro-ops.  The penalty for these switches is potentially several cycles of instruction starvation, where no micro-ops are delivered to the back-end.",
127        "EventCode": "0xAB",
128        "Counter": "0,1,2,3",
129        "UMask": "0x2",
130        "EventName": "DSB2MITE_SWITCHES.PENALTY_CYCLES",
131        "SampleAfterValue": "2000003",
132        "BriefDescription": "Decode Stream Buffer (DSB)-to-MITE switch true penalty cycles.",
133        "CounterHTOff": "0,1,2,3,4,5,6,7"
134    },
135    {
136        "EventCode": "0xAC",
137        "Counter": "0,1,2,3",
138        "UMask": "0x2",
139        "EventName": "DSB_FILL.OTHER_CANCEL",
140        "SampleAfterValue": "2000003",
141        "BriefDescription": "Cases of cancelling valid DSB fill not because of exceeding way limit.",
142        "CounterHTOff": "0,1,2,3,4,5,6,7"
143    },
144    {
145        "EventCode": "0xAC",
146        "Counter": "0,1,2,3",
147        "UMask": "0x8",
148        "EventName": "DSB_FILL.EXCEED_DSB_LINES",
149        "SampleAfterValue": "2000003",
150        "BriefDescription": "Cycles when Decode Stream Buffer (DSB) fill encounter more than 3 Decode Stream Buffer (DSB) lines.",
151        "CounterHTOff": "0,1,2,3,4,5,6,7"
152    },
153    {
154        "EventCode": "0x79",
155        "Counter": "0,1,2,3",
156        "UMask": "0x4",
157        "EventName": "IDQ.MITE_CYCLES",
158        "SampleAfterValue": "2000003",
159        "BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) from MITE path.",
160        "CounterMask": "1",
161        "CounterHTOff": "0,1,2,3,4,5,6,7"
162    },
163    {
164        "EventCode": "0x79",
165        "Counter": "0,1,2,3",
166        "UMask": "0x8",
167        "EventName": "IDQ.DSB_CYCLES",
168        "SampleAfterValue": "2000003",
169        "BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) from Decode Stream Buffer (DSB) path.",
170        "CounterMask": "1",
171        "CounterHTOff": "0,1,2,3,4,5,6,7"
172    },
173    {
174        "EventCode": "0x79",
175        "Counter": "0,1,2,3",
176        "UMask": "0x10",
177        "EventName": "IDQ.MS_DSB_CYCLES",
178        "SampleAfterValue": "2000003",
179        "BriefDescription": "Cycles when uops initiated by Decode Stream Buffer (DSB) are being delivered to Instruction Decode Queue (IDQ) while Microcode Sequenser (MS) is busy.",
180        "CounterMask": "1",
181        "CounterHTOff": "0,1,2,3,4,5,6,7"
182    },
183    {
184        "EventCode": "0x79",
185        "Counter": "0,1,2,3",
186        "UMask": "0x10",
187        "EdgeDetect": "1",
188        "EventName": "IDQ.MS_DSB_OCCUR",
189        "SampleAfterValue": "2000003",
190        "BriefDescription": "Deliveries to Instruction Decode Queue (IDQ) initiated by Decode Stream Buffer (DSB) while Microcode Sequenser (MS) is busy.",
191        "CounterMask": "1",
192        "CounterHTOff": "0,1,2,3,4,5,6,7"
193    },
194    {
195        "EventCode": "0x9C",
196        "Counter": "0,1,2,3",
197        "UMask": "0x1",
198        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_LE_2_UOP_DELIV.CORE",
199        "SampleAfterValue": "2000003",
200        "BriefDescription": "Cycles with less than 2 uops delivered by the front end.",
201        "CounterMask": "2",
202        "CounterHTOff": "0,1,2,3"
203    },
204    {
205        "EventCode": "0x9C",
206        "Counter": "0,1,2,3",
207        "UMask": "0x1",
208        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_LE_3_UOP_DELIV.CORE",
209        "SampleAfterValue": "2000003",
210        "BriefDescription": "Cycles with less than 3 uops delivered by the front end.",
211        "CounterMask": "1",
212        "CounterHTOff": "0,1,2,3"
213    },
214    {
215        "EventCode": "0x9C",
216        "Invert": "1",
217        "Counter": "0,1,2,3",
218        "UMask": "0x1",
219        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_GE_1_UOP_DELIV.CORE",
220        "SampleAfterValue": "2000003",
221        "BriefDescription": "Cycles when 1 or more uops were delivered to the by the front end.",
222        "CounterMask": "4",
223        "CounterHTOff": "0,1,2,3"
224    },
225    {
226        "EventCode": "0x79",
227        "Counter": "0,1,2,3",
228        "UMask": "0x18",
229        "EventName": "IDQ.ALL_DSB_CYCLES_4_UOPS",
230        "SampleAfterValue": "2000003",
231        "BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering 4 Uops.",
232        "CounterMask": "4",
233        "CounterHTOff": "0,1,2,3,4,5,6,7"
234    },
235    {
236        "EventCode": "0x79",
237        "Counter": "0,1,2,3",
238        "UMask": "0x18",
239        "EventName": "IDQ.ALL_DSB_CYCLES_ANY_UOPS",
240        "SampleAfterValue": "2000003",
241        "BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering any Uop.",
242        "CounterMask": "1",
243        "CounterHTOff": "0,1,2,3,4,5,6,7"
244    },
245    {
246        "EventCode": "0x79",
247        "Counter": "0,1,2,3",
248        "UMask": "0x24",
249        "EventName": "IDQ.ALL_MITE_CYCLES_4_UOPS",
250        "SampleAfterValue": "2000003",
251        "BriefDescription": "Cycles MITE is delivering 4 Uops.",
252        "CounterMask": "4",
253        "CounterHTOff": "0,1,2,3,4,5,6,7"
254    },
255    {
256        "EventCode": "0x79",
257        "Counter": "0,1,2,3",
258        "UMask": "0x24",
259        "EventName": "IDQ.ALL_MITE_CYCLES_ANY_UOPS",
260        "SampleAfterValue": "2000003",
261        "BriefDescription": "Cycles MITE is delivering any Uop.",
262        "CounterMask": "1",
263        "CounterHTOff": "0,1,2,3,4,5,6,7"
264    },
265    {
266        "EventCode": "0xAC",
267        "Counter": "0,1,2,3",
268        "UMask": "0xa",
269        "EventName": "DSB_FILL.ALL_CANCEL",
270        "SampleAfterValue": "2000003",
271        "BriefDescription": "Cases of cancelling valid Decode Stream Buffer (DSB) fill not because of exceeding way limit.",
272        "CounterHTOff": "0,1,2,3,4,5,6,7"
273    },
274    {
275        "EventCode": "0x9C",
276        "Invert": "1",
277        "Counter": "0,1,2,3",
278        "UMask": "0x1",
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": "0x79",
287        "Counter": "0,1,2,3",
288        "UMask": "0x3c",
289        "EventName": "IDQ.MITE_ALL_UOPS",
290        "SampleAfterValue": "2000003",
291        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from MITE path.",
292        "CounterHTOff": "0,1,2,3,4,5,6,7"
293    },
294    {
295        "EventCode": "0x79",
296        "Counter": "0,1,2,3",
297        "UMask": "0x30",
298        "EdgeDetect": "1",
299        "EventName": "IDQ.MS_SWITCHES",
300        "SampleAfterValue": "2000003",
301        "BriefDescription": "Number of switches from DSB (Decode Stream Buffer) or MITE (legacy decode pipeline) to the Microcode Sequencer.",
302        "CounterMask": "1",
303        "CounterHTOff": "0,1,2,3,4,5,6,7"
304    }
305]