xref: /linux/tools/perf/pmu-events/arch/x86/broadwellde/frontend.json (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
1[
2    {
3        "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.",
4        "Counter": "0,1,2,3",
5        "EventCode": "0xe6",
6        "EventName": "BACLEARS.ANY",
7        "SampleAfterValue": "100003",
8        "UMask": "0x1f"
9    },
10    {
11        "BriefDescription": "Decode Stream Buffer (DSB)-to-MITE switch true penalty cycles.",
12        "Counter": "0,1,2,3",
13        "EventCode": "0xAB",
14        "EventName": "DSB2MITE_SWITCHES.PENALTY_CYCLES",
15        "PublicDescription": "This event counts Decode Stream Buffer (DSB)-to-MITE switch true penalty cycles. These cycles do not include uops routed through because of the switch itself, for example, when Instruction Decode Queue (IDQ) pre-allocation is unavailable, or Instruction Decode Queue (IDQ) is full. SBD-to-MITE switch true penalty cycles happen after the merge mux (MM) receives Decode Stream Buffer (DSB) Sync-indication until receiving the first MITE uop. \nMM is placed before Instruction Decode Queue (IDQ) to merge uops being fed from the MITE and Decode Stream Buffer (DSB) paths. Decode Stream Buffer (DSB) inserts the Sync-indication whenever a Decode Stream Buffer (DSB)-to-MITE switch occurs.\nPenalty: A Decode Stream Buffer (DSB) hit followed by a Decode Stream Buffer (DSB) miss can cost up to six cycles in which no uops are delivered to the IDQ. Most often, such switches from the Decode Stream Buffer (DSB) to the legacy pipeline cost 02 cycles.",
16        "SampleAfterValue": "2000003",
17        "UMask": "0x2"
18    },
19    {
20        "BriefDescription": "Number of Instruction Cache, Streaming Buffer and Victim Cache Reads. both cacheable and noncacheable, including UC fetches",
21        "Counter": "0,1,2,3",
22        "EventCode": "0x80",
23        "EventName": "ICACHE.HIT",
24        "PublicDescription": "This event counts the number of both cacheable and noncacheable Instruction Cache, Streaming Buffer and Victim Cache Reads including UC fetches.",
25        "SampleAfterValue": "2000003",
26        "UMask": "0x1"
27    },
28    {
29        "BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction-cache miss.",
30        "Counter": "0,1,2,3",
31        "EventCode": "0x80",
32        "EventName": "ICACHE.IFDATA_STALL",
33        "PublicDescription": "This event counts cycles during which the demand fetch waits for data (wfdM104H) from L2 or iSB (opportunistic hit).",
34        "SampleAfterValue": "2000003",
35        "UMask": "0x4"
36    },
37    {
38        "BriefDescription": "Number of Instruction Cache, Streaming Buffer and Victim Cache Misses. Includes Uncacheable accesses.",
39        "Counter": "0,1,2,3",
40        "EventCode": "0x80",
41        "EventName": "ICACHE.MISSES",
42        "PublicDescription": "This event counts the number of instruction cache, streaming buffer and victim cache misses. Counting includes UC accesses.",
43        "SampleAfterValue": "200003",
44        "UMask": "0x2"
45    },
46    {
47        "BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering 4 Uops",
48        "Counter": "0,1,2,3",
49        "CounterMask": "4",
50        "EventCode": "0x79",
51        "EventName": "IDQ.ALL_DSB_CYCLES_4_UOPS",
52        "PublicDescription": "This event counts the number of cycles 4  uops were  delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path. Counting includes uops that may bypass the IDQ.",
53        "SampleAfterValue": "2000003",
54        "UMask": "0x18"
55    },
56    {
57        "BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering any Uop",
58        "Counter": "0,1,2,3",
59        "CounterMask": "1",
60        "EventCode": "0x79",
61        "EventName": "IDQ.ALL_DSB_CYCLES_ANY_UOPS",
62        "PublicDescription": "This event counts the number of cycles  uops were  delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path. Counting includes uops that may bypass the IDQ.",
63        "SampleAfterValue": "2000003",
64        "UMask": "0x18"
65    },
66    {
67        "BriefDescription": "Cycles MITE is delivering 4 Uops",
68        "Counter": "0,1,2,3",
69        "CounterMask": "4",
70        "EventCode": "0x79",
71        "EventName": "IDQ.ALL_MITE_CYCLES_4_UOPS",
72        "PublicDescription": "This event counts the number of cycles 4  uops were  delivered to Instruction Decode Queue (IDQ) from the MITE path. Counting includes uops that may bypass the IDQ. This also means that uops are not being delivered from the Decode Stream Buffer (DSB).",
73        "SampleAfterValue": "2000003",
74        "UMask": "0x24"
75    },
76    {
77        "BriefDescription": "Cycles MITE is delivering any Uop",
78        "Counter": "0,1,2,3",
79        "CounterMask": "1",
80        "EventCode": "0x79",
81        "EventName": "IDQ.ALL_MITE_CYCLES_ANY_UOPS",
82        "PublicDescription": "This event counts the number of cycles  uops were delivered to Instruction Decode Queue (IDQ) from the MITE path. Counting includes uops that may bypass the IDQ. This also means that uops are not being delivered from the Decode Stream Buffer (DSB).",
83        "SampleAfterValue": "2000003",
84        "UMask": "0x24"
85    },
86    {
87        "BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) from Decode Stream Buffer (DSB) path",
88        "Counter": "0,1,2,3",
89        "CounterMask": "1",
90        "EventCode": "0x79",
91        "EventName": "IDQ.DSB_CYCLES",
92        "PublicDescription": "This event counts cycles during which uops are being delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path. Counting includes uops that may bypass the IDQ.",
93        "SampleAfterValue": "2000003",
94        "UMask": "0x8"
95    },
96    {
97        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path",
98        "Counter": "0,1,2,3",
99        "EventCode": "0x79",
100        "EventName": "IDQ.DSB_UOPS",
101        "PublicDescription": "This event counts the number of uops delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path. Counting includes uops that may bypass the IDQ.",
102        "SampleAfterValue": "2000003",
103        "UMask": "0x8"
104    },
105    {
106        "BriefDescription": "Instruction Decode Queue (IDQ) empty cycles",
107        "Counter": "0,1,2,3",
108        "EventCode": "0x79",
109        "EventName": "IDQ.EMPTY",
110        "PublicDescription": "This counts the number of cycles that the instruction decoder queue is empty and can indicate that the application may be bound in the front end.  It does not determine whether there are uops being delivered to the Alloc stage since uops can be delivered by bypass skipping the Instruction Decode Queue (IDQ) when it is empty.",
111        "SampleAfterValue": "2000003",
112        "UMask": "0x2"
113    },
114    {
115        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from MITE path",
116        "Counter": "0,1,2,3",
117        "EventCode": "0x79",
118        "EventName": "IDQ.MITE_ALL_UOPS",
119        "PublicDescription": "This event counts the number of uops delivered to Instruction Decode Queue (IDQ) from the MITE path. Counting includes uops that may bypass the IDQ. This also means that uops are not being delivered from the Decode Stream Buffer (DSB).",
120        "SampleAfterValue": "2000003",
121        "UMask": "0x3c"
122    },
123    {
124        "BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) from MITE path",
125        "Counter": "0,1,2,3",
126        "CounterMask": "1",
127        "EventCode": "0x79",
128        "EventName": "IDQ.MITE_CYCLES",
129        "PublicDescription": "This event counts cycles during which uops are being delivered to Instruction Decode Queue (IDQ) from the MITE path. Counting includes uops that may bypass the IDQ.",
130        "SampleAfterValue": "2000003",
131        "UMask": "0x4"
132    },
133    {
134        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from MITE path",
135        "Counter": "0,1,2,3",
136        "EventCode": "0x79",
137        "EventName": "IDQ.MITE_UOPS",
138        "PublicDescription": "This event counts the number of uops delivered to Instruction Decode Queue (IDQ) from the MITE path. Counting includes uops that may bypass the IDQ. This also means that uops are not being delivered from the Decode Stream Buffer (DSB).",
139        "SampleAfterValue": "2000003",
140        "UMask": "0x4"
141    },
142    {
143        "BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) while Microcode Sequencer (MS) is busy",
144        "Counter": "0,1,2,3",
145        "CounterMask": "1",
146        "EventCode": "0x79",
147        "EventName": "IDQ.MS_CYCLES",
148        "PublicDescription": "This event counts cycles during which uops are being delivered to Instruction Decode Queue (IDQ) while the Microcode Sequencer (MS) is busy. Counting includes uops that may bypass the IDQ. Uops maybe initiated by Decode Stream Buffer (DSB) or MITE.",
149        "SampleAfterValue": "2000003",
150        "UMask": "0x30"
151    },
152    {
153        "BriefDescription": "Cycles when uops initiated by Decode Stream Buffer (DSB) are being delivered to Instruction Decode Queue (IDQ) while Microcode Sequencer (MS) is busy",
154        "Counter": "0,1,2,3",
155        "CounterMask": "1",
156        "EventCode": "0x79",
157        "EventName": "IDQ.MS_DSB_CYCLES",
158        "PublicDescription": "This event counts cycles during which uops initiated by Decode Stream Buffer (DSB) are being delivered to Instruction Decode Queue (IDQ) while the Microcode Sequencer (MS) is busy. Counting includes uops that may bypass the IDQ.",
159        "SampleAfterValue": "2000003",
160        "UMask": "0x10"
161    },
162    {
163        "BriefDescription": "Deliveries to Instruction Decode Queue (IDQ) initiated by Decode Stream Buffer (DSB) while Microcode Sequencer (MS) is busy",
164        "Counter": "0,1,2,3",
165        "CounterMask": "1",
166        "EdgeDetect": "1",
167        "EventCode": "0x79",
168        "EventName": "IDQ.MS_DSB_OCCUR",
169        "PublicDescription": "This event counts the number of deliveries to Instruction Decode Queue (IDQ) initiated by Decode Stream Buffer (DSB) while the Microcode Sequencer (MS) is busy. Counting includes uops that may bypass the IDQ.",
170        "SampleAfterValue": "2000003",
171        "UMask": "0x10"
172    },
173    {
174        "BriefDescription": "Uops initiated by Decode Stream Buffer (DSB) that are being delivered to Instruction Decode Queue (IDQ) while Microcode Sequencer (MS) is busy",
175        "Counter": "0,1,2,3",
176        "EventCode": "0x79",
177        "EventName": "IDQ.MS_DSB_UOPS",
178        "PublicDescription": "This event counts the number of uops initiated by Decode Stream Buffer (DSB) that are being delivered to Instruction Decode Queue (IDQ) while the Microcode Sequencer (MS) is busy. Counting includes uops that may bypass the IDQ.",
179        "SampleAfterValue": "2000003",
180        "UMask": "0x10"
181    },
182    {
183        "BriefDescription": "Uops initiated by MITE and delivered to Instruction Decode Queue (IDQ) while Microcode Sequencer (MS) is busy",
184        "Counter": "0,1,2,3",
185        "EventCode": "0x79",
186        "EventName": "IDQ.MS_MITE_UOPS",
187        "PublicDescription": "This event counts the number of uops initiated by MITE and delivered to Instruction Decode Queue (IDQ) while the Microcode Sequencer (MS) is busy. Counting includes uops that may bypass the IDQ.",
188        "SampleAfterValue": "2000003",
189        "UMask": "0x20"
190    },
191    {
192        "BriefDescription": "Number of switches from DSB (Decode Stream Buffer) or MITE (legacy decode pipeline) to the Microcode Sequencer.",
193        "Counter": "0,1,2,3",
194        "CounterMask": "1",
195        "EdgeDetect": "1",
196        "EventCode": "0x79",
197        "EventName": "IDQ.MS_SWITCHES",
198        "SampleAfterValue": "2000003",
199        "UMask": "0x30"
200    },
201    {
202        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) while Microcode Sequencer (MS) is busy",
203        "Counter": "0,1,2,3",
204        "EventCode": "0x79",
205        "EventName": "IDQ.MS_UOPS",
206        "PublicDescription": "This event counts the total number of uops delivered to Instruction Decode Queue (IDQ) while the Microcode Sequencer (MS) is busy. Counting includes uops that may bypass the IDQ. Uops maybe initiated by Decode Stream Buffer (DSB) or MITE.",
207        "SampleAfterValue": "2000003",
208        "UMask": "0x30"
209    },
210    {
211        "BriefDescription": "Uops not delivered to Resource Allocation Table (RAT) per thread when backend of the machine is not stalled",
212        "Counter": "0,1,2,3",
213        "EventCode": "0x9C",
214        "EventName": "IDQ_UOPS_NOT_DELIVERED.CORE",
215        "PublicDescription": "This event counts the number of uops not delivered to Resource Allocation Table (RAT) per thread adding 4  x when Resource Allocation Table (RAT) is not stalled and Instruction Decode Queue (IDQ) delivers x uops to Resource Allocation Table (RAT) (where x belongs to {0,1,2,3}). Counting does not cover cases when:\n a. IDQ-Resource Allocation Table (RAT) pipe serves the other thread;\n b. Resource Allocation Table (RAT) is stalled for the thread (including uop drops and clear BE conditions); \n c. Instruction Decode Queue (IDQ) delivers four uops.",
216        "SampleAfterValue": "2000003",
217        "UMask": "0x1"
218    },
219    {
220        "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",
221        "Counter": "0,1,2,3",
222        "CounterMask": "4",
223        "EventCode": "0x9C",
224        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_0_UOPS_DELIV.CORE",
225        "PublicDescription": "This event counts, on the per-thread basis, cycles when no uops are delivered to Resource Allocation Table (RAT). IDQ_Uops_Not_Delivered.core =4.",
226        "SampleAfterValue": "2000003",
227        "UMask": "0x1"
228    },
229    {
230        "BriefDescription": "Counts cycles FE delivered 4 uops or Resource Allocation Table (RAT) was stalling FE.",
231        "Counter": "0,1,2,3",
232        "CounterMask": "1",
233        "EventCode": "0x9C",
234        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_FE_WAS_OK",
235        "Invert": "1",
236        "SampleAfterValue": "2000003",
237        "UMask": "0x1"
238    },
239    {
240        "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",
241        "Counter": "0,1,2,3",
242        "CounterMask": "3",
243        "EventCode": "0x9C",
244        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_LE_1_UOP_DELIV.CORE",
245        "PublicDescription": "This event counts, on the per-thread basis, cycles when less than 1 uop is  delivered to Resource Allocation Table (RAT). IDQ_Uops_Not_Delivered.core >=3.",
246        "SampleAfterValue": "2000003",
247        "UMask": "0x1"
248    },
249    {
250        "BriefDescription": "Cycles with less than 2 uops delivered by the front end.",
251        "Counter": "0,1,2,3",
252        "CounterMask": "2",
253        "EventCode": "0x9C",
254        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_LE_2_UOP_DELIV.CORE",
255        "SampleAfterValue": "2000003",
256        "UMask": "0x1"
257    },
258    {
259        "BriefDescription": "Cycles with less than 3 uops delivered by the front end.",
260        "Counter": "0,1,2,3",
261        "CounterMask": "1",
262        "EventCode": "0x9C",
263        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_LE_3_UOP_DELIV.CORE",
264        "SampleAfterValue": "2000003",
265        "UMask": "0x1"
266    }
267]
268