Merge tag 'ntb-5.11' of git://github.com/jonmason/ntb
[linux/fpc-iii.git] / tools / perf / pmu-events / arch / x86 / broadwellx / pipeline.json
blobc2f6932a581737f0edd17112f74f8fee3b70396c
2     {
3         "UMask": "0x1",
4         "BriefDescription": "Instructions retired from execution.",
5         "Counter": "Fixed counter 0",
6         "EventName": "INST_RETIRED.ANY",
7         "PublicDescription": "This event counts the number of instructions retired from execution. For instructions that consist of multiple micro-ops, this event counts the retirement of the last micro-op of the instruction. Counting continues during hardware interrupts, traps, and inside interrupt handlers. \nNotes: INST_RETIRED.ANY is counted by a designated fixed counter, leaving the four (eight when Hyperthreading is disabled) programmable counters available for other events. INST_RETIRED.ANY_P is counted by a programmable counter and it is an architectural performance event. \nCounting: Faulting executions of GETSEC/VM entry/VM Exit/MWait will not count as retired instructions.",
8         "SampleAfterValue": "2000003",
9         "CounterHTOff": "Fixed counter 0"
10     },
11     {
12         "UMask": "0x2",
13         "BriefDescription": "Core cycles when the thread is not in halt state",
14         "Counter": "Fixed counter 1",
15         "EventName": "CPU_CLK_UNHALTED.THREAD",
16         "PublicDescription": "This event counts the number of core cycles while the thread is not in a halt state. The thread enters the halt state when it is running the HLT instruction. This event is a component in many key event ratios. The core frequency may change from time to time due to transitions associated with Enhanced Intel SpeedStep Technology or TM2. For this reason this event may have a changing ratio with regards to time. When the core frequency is constant, this event can approximate elapsed time while the core was not in the halt state. It is counted on a dedicated fixed counter, leaving the four (eight when Hyperthreading is disabled) programmable counters available for other events.",
17         "SampleAfterValue": "2000003",
18         "CounterHTOff": "Fixed counter 1"
19     },
20     {
21         "UMask": "0x2",
22         "BriefDescription": "Core cycles when at least one thread on the physical core is not in halt state.",
23         "Counter": "Fixed counter 1",
24         "EventName": "CPU_CLK_UNHALTED.THREAD_ANY",
25         "AnyThread": "1",
26         "SampleAfterValue": "2000003",
27         "CounterHTOff": "Fixed counter 1"
28     },
29     {
30         "UMask": "0x3",
31         "BriefDescription": "Reference cycles when the core is not in halt state.",
32         "Counter": "Fixed counter 2",
33         "EventName": "CPU_CLK_UNHALTED.REF_TSC",
34         "PublicDescription": "This event counts the number of reference cycles when the core is not in a halt state. The core enters the halt state when it is running the HLT instruction or the MWAIT instruction. This event is not affected by core frequency changes (for example, P states, TM2 transitions) but has the same incrementing frequency as the time stamp counter. This event can approximate elapsed time while the core was not in a halt state. This event has a constant ratio with the CPU_CLK_UNHALTED.REF_XCLK event. It is counted on a dedicated fixed counter, leaving the four (eight when Hyperthreading is disabled) programmable counters available for other events. \nNote: On all current platforms this event stops counting during 'throttling (TM)' states duty off periods the processor is 'halted'.  This event is clocked by base clock (100 Mhz) on Sandy Bridge. The counter update is done at a lower clock rate then the core clock the overflow status bit for this counter may appear 'sticky'.  After the counter has overflowed and software clears the overflow status bit and resets the counter to less than MAX. The reset value to the counter is not clocked immediately so the overflow status bit will flip 'high (1)' and generate another PMI (if enabled) after which the reset value gets clocked into the counter. Therefore, software will get the interrupt, read the overflow status bit '1 for bit 34 while the counter value is less than MAX. Software should ignore this case.",
35         "SampleAfterValue": "2000003",
36         "CounterHTOff": "Fixed counter 2"
37     },
38     {
39         "EventCode": "0x03",
40         "UMask": "0x2",
41         "BriefDescription": "Cases when loads get true Block-on-Store blocking code preventing store forwarding",
42         "Counter": "0,1,2,3",
43         "EventName": "LD_BLOCKS.STORE_FORWARD",
44         "PublicDescription": "This event counts how many times the load operation got the true Block-on-Store blocking code preventing store forwarding. This includes cases when:\n - preceding store conflicts with the load (incomplete overlap);\n - store forwarding is impossible due to u-arch limitations;\n - preceding lock RMW operations are not forwarded;\n - store has the no-forward bit set (uncacheable/page-split/masked stores);\n - all-blocking stores are used (mostly, fences and port I/O);\nand others.\nThe most common case is a load blocked due to its address range overlapping with a preceding smaller uncompleted store. Note: This event does not take into account cases of out-of-SW-control (for example, SbTailHit), unknown physical STA, and cases of blocking loads on store due to being non-WB memory type or a lock. These cases are covered by other events.\nSee the table of not supported store forwards in the Optimization Guide.",
45         "SampleAfterValue": "100003",
46         "CounterHTOff": "0,1,2,3,4,5,6,7"
47     },
48     {
49         "EventCode": "0x03",
50         "UMask": "0x8",
51         "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.",
52         "Counter": "0,1,2,3",
53         "EventName": "LD_BLOCKS.NO_SR",
54         "SampleAfterValue": "100003",
55         "CounterHTOff": "0,1,2,3,4,5,6,7"
56     },
57     {
58         "EventCode": "0x07",
59         "UMask": "0x1",
60         "BriefDescription": "False dependencies in MOB due to partial compare",
61         "Counter": "0,1,2,3",
62         "EventName": "LD_BLOCKS_PARTIAL.ADDRESS_ALIAS",
63         "PublicDescription": "This event counts false dependencies in MOB when the partial comparison upon loose net check and dependency was resolved by the Enhanced Loose net mechanism. This may not result in high performance penalties. Loose net checks can fail when loads and stores are 4k aliased.",
64         "SampleAfterValue": "100003",
65         "CounterHTOff": "0,1,2,3,4,5,6,7"
66     },
67     {
68         "EventCode": "0x0D",
69         "UMask": "0x3",
70         "BriefDescription": "Core cycles the allocator was stalled due to recovery from earlier clear event for this thread (e.g. misprediction or memory nuke)",
71         "Counter": "0,1,2,3",
72         "EventName": "INT_MISC.RECOVERY_CYCLES",
73         "CounterMask": "1",
74         "PublicDescription": "Cycles checkpoints in Resource Allocation Table (RAT) are recovering from JEClear or machine clear.",
75         "SampleAfterValue": "2000003",
76         "CounterHTOff": "0,1,2,3,4,5,6,7"
77     },
78     {
79         "EventCode": "0x0D",
80         "UMask": "0x3",
81         "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).",
82         "Counter": "0,1,2,3",
83         "EventName": "INT_MISC.RECOVERY_CYCLES_ANY",
84         "AnyThread": "1",
85         "CounterMask": "1",
86         "SampleAfterValue": "2000003",
87         "CounterHTOff": "0,1,2,3,4,5,6,7"
88     },
89     {
90         "EventCode": "0x0D",
91         "UMask": "0x8",
92         "BriefDescription": "Cycles when Resource Allocation Table (RAT) external stall is sent to Instruction Decode Queue (IDQ) for the thread",
93         "Counter": "0,1,2,3",
94         "EventName": "INT_MISC.RAT_STALL_CYCLES",
95         "PublicDescription": "This event counts the number of cycles during which Resource Allocation Table (RAT) external stall is sent to Instruction Decode Queue (IDQ) for the current thread. This also includes the cycles during which the Allocator is serving another thread.",
96         "SampleAfterValue": "2000003",
97         "CounterHTOff": "0,1,2,3,4,5,6,7"
98     },
99     {
100         "EventCode": "0x0E",
101         "UMask": "0x1",
102         "BriefDescription": "Uops that Resource Allocation Table (RAT) issues to Reservation Station (RS)",
103         "Counter": "0,1,2,3",
104         "EventName": "UOPS_ISSUED.ANY",
105         "PublicDescription": "This event counts the number of Uops issued by the Resource Allocation Table (RAT) to the reservation station (RS).",
106         "SampleAfterValue": "2000003",
107         "CounterHTOff": "0,1,2,3,4,5,6,7"
108     },
109     {
110         "Invert": "1",
111         "EventCode": "0x0E",
112         "UMask": "0x1",
113         "BriefDescription": "Cycles when Resource Allocation Table (RAT) does not issue Uops to Reservation Station (RS) for the thread",
114         "Counter": "0,1,2,3",
115         "EventName": "UOPS_ISSUED.STALL_CYCLES",
116         "CounterMask": "1",
117         "PublicDescription": "This event counts cycles during which the Resource Allocation Table (RAT) does not issue any Uops to the reservation station (RS) for the current thread.",
118         "SampleAfterValue": "2000003",
119         "CounterHTOff": "0,1,2,3"
120     },
121     {
122         "EventCode": "0x0E",
123         "UMask": "0x10",
124         "BriefDescription": "Number of flags-merge uops being allocated. Such uops considered perf sensitive; added by GSR u-arch.",
125         "Counter": "0,1,2,3",
126         "EventName": "UOPS_ISSUED.FLAGS_MERGE",
127         "PublicDescription": "Number of flags-merge uops being allocated. Such uops considered perf sensitive\n added by GSR u-arch.",
128         "SampleAfterValue": "2000003",
129         "CounterHTOff": "0,1,2,3,4,5,6,7"
130     },
131     {
132         "EventCode": "0x0E",
133         "UMask": "0x20",
134         "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.",
135         "Counter": "0,1,2,3",
136         "EventName": "UOPS_ISSUED.SLOW_LEA",
137         "SampleAfterValue": "2000003",
138         "CounterHTOff": "0,1,2,3,4,5,6,7"
139     },
140     {
141         "EventCode": "0x0E",
142         "UMask": "0x40",
143         "BriefDescription": "Number of Multiply packed/scalar single precision uops allocated.",
144         "Counter": "0,1,2,3",
145         "EventName": "UOPS_ISSUED.SINGLE_MUL",
146         "SampleAfterValue": "2000003",
147         "CounterHTOff": "0,1,2,3,4,5,6,7"
148     },
149     {
150         "EventCode": "0x14",
151         "UMask": "0x1",
152         "BriefDescription": "Cycles when divider is busy executing divide operations",
153         "Counter": "0,1,2,3",
154         "EventName": "ARITH.FPU_DIV_ACTIVE",
155         "PublicDescription": "This event counts the number of the divide operations executed. Uses edge-detect and a cmask value of 1 on ARITH.FPU_DIV_ACTIVE to get the number of the divide operations executed.",
156         "SampleAfterValue": "2000003",
157         "CounterHTOff": "0,1,2,3,4,5,6,7"
158     },
159     {
160         "EventCode": "0x3C",
161         "UMask": "0x0",
162         "BriefDescription": "Thread cycles when thread is not in halt state",
163         "Counter": "0,1,2,3",
164         "EventName": "CPU_CLK_UNHALTED.THREAD_P",
165         "PublicDescription": "This is an architectural event that 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. For this reason, this event may have a changing ratio with regards to wall clock time.",
166         "SampleAfterValue": "2000003",
167         "CounterHTOff": "0,1,2,3,4,5,6,7"
168     },
169     {
170         "EventCode": "0x3C",
171         "UMask": "0x0",
172         "BriefDescription": "Core cycles when at least one thread on the physical core is not in halt state.",
173         "Counter": "0,1,2,3",
174         "EventName": "CPU_CLK_UNHALTED.THREAD_P_ANY",
175         "AnyThread": "1",
176         "SampleAfterValue": "2000003",
177         "CounterHTOff": "0,1,2,3,4,5,6,7"
178     },
179     {
180         "EventCode": "0x3C",
181         "UMask": "0x1",
182         "BriefDescription": "Reference cycles when the thread is unhalted (counts at 100 MHz rate)",
183         "Counter": "0,1,2,3",
184         "EventName": "CPU_CLK_THREAD_UNHALTED.REF_XCLK",
185         "PublicDescription": "This is a fixed-frequency event programmed to general counters. It counts when the core is unhalted at 100 Mhz.",
186         "SampleAfterValue": "2000003",
187         "CounterHTOff": "0,1,2,3,4,5,6,7"
188     },
189     {
190         "EventCode": "0x3C",
191         "UMask": "0x1",
192         "BriefDescription": "Reference cycles when the at least one thread on the physical core is unhalted (counts at 100 MHz rate).",
193         "Counter": "0,1,2,3",
194         "EventName": "CPU_CLK_THREAD_UNHALTED.REF_XCLK_ANY",
195         "AnyThread": "1",
196         "SampleAfterValue": "2000003",
197         "CounterHTOff": "0,1,2,3,4,5,6,7"
198     },
199     {
200         "EventCode": "0x3C",
201         "UMask": "0x1",
202         "BriefDescription": "Reference cycles when the thread is unhalted (counts at 100 MHz rate)",
203         "Counter": "0,1,2,3",
204         "EventName": "CPU_CLK_UNHALTED.REF_XCLK",
205         "PublicDescription": "Reference cycles when the thread is unhalted (counts at 100 MHz rate).",
206         "SampleAfterValue": "2000003",
207         "CounterHTOff": "0,1,2,3,4,5,6,7"
208     },
209     {
210         "EventCode": "0x3C",
211         "UMask": "0x1",
212         "BriefDescription": "Reference cycles when the at least one thread on the physical core is unhalted (counts at 100 MHz rate).",
213         "Counter": "0,1,2,3",
214         "EventName": "CPU_CLK_UNHALTED.REF_XCLK_ANY",
215         "AnyThread": "1",
216         "SampleAfterValue": "2000003",
217         "CounterHTOff": "0,1,2,3,4,5,6,7"
218     },
219     {
220         "EventCode": "0x3c",
221         "UMask": "0x2",
222         "BriefDescription": "Count XClk pulses when this thread is unhalted and the other thread is halted.",
223         "Counter": "0,1,2,3",
224         "EventName": "CPU_CLK_THREAD_UNHALTED.ONE_THREAD_ACTIVE",
225         "SampleAfterValue": "2000003",
226         "CounterHTOff": "0,1,2,3"
227     },
228     {
229         "EventCode": "0x3C",
230         "UMask": "0x2",
231         "BriefDescription": "Count XClk pulses when this thread is unhalted and the other thread is halted.",
232         "Counter": "0,1,2,3",
233         "EventName": "CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE",
234         "SampleAfterValue": "2000003",
235         "CounterHTOff": "0,1,2,3,4,5,6,7"
236     },
237     {
238         "EventCode": "0x4c",
239         "UMask": "0x1",
240         "BriefDescription": "Not software-prefetch load dispatches that hit FB allocated for software prefetch",
241         "Counter": "0,1,2,3",
242         "EventName": "LOAD_HIT_PRE.SW_PF",
243         "PublicDescription": "This event counts all not software-prefetch load dispatches that hit the fill buffer (FB) allocated for the software prefetch. It can also be incremented by some lock instructions. So it should only be used with profiling so that the locks can be excluded by asm inspection of the nearby instructions.",
244         "SampleAfterValue": "100003",
245         "CounterHTOff": "0,1,2,3,4,5,6,7"
246     },
247     {
248         "EventCode": "0x4C",
249         "UMask": "0x2",
250         "BriefDescription": "Not software-prefetch load dispatches that hit FB allocated for hardware prefetch",
251         "Counter": "0,1,2,3",
252         "EventName": "LOAD_HIT_PRE.HW_PF",
253         "PublicDescription": "This event counts all not software-prefetch load dispatches that hit the fill buffer (FB) allocated for the hardware prefetch.",
254         "SampleAfterValue": "100003",
255         "CounterHTOff": "0,1,2,3,4,5,6,7"
256     },
257     {
258         "EventCode": "0x58",
259         "UMask": "0x1",
260         "BriefDescription": "Number of integer Move Elimination candidate uops that were eliminated.",
261         "Counter": "0,1,2,3",
262         "EventName": "MOVE_ELIMINATION.INT_ELIMINATED",
263         "SampleAfterValue": "1000003",
264         "CounterHTOff": "0,1,2,3,4,5,6,7"
265     },
266     {
267         "EventCode": "0x58",
268         "UMask": "0x2",
269         "BriefDescription": "Number of SIMD Move Elimination candidate uops that were eliminated.",
270         "Counter": "0,1,2,3",
271         "EventName": "MOVE_ELIMINATION.SIMD_ELIMINATED",
272         "SampleAfterValue": "1000003",
273         "CounterHTOff": "0,1,2,3,4,5,6,7"
274     },
275     {
276         "EventCode": "0x58",
277         "UMask": "0x4",
278         "BriefDescription": "Number of integer Move Elimination candidate uops that were not eliminated.",
279         "Counter": "0,1,2,3",
280         "EventName": "MOVE_ELIMINATION.INT_NOT_ELIMINATED",
281         "SampleAfterValue": "1000003",
282         "CounterHTOff": "0,1,2,3,4,5,6,7"
283     },
284     {
285         "EventCode": "0x58",
286         "UMask": "0x8",
287         "BriefDescription": "Number of SIMD Move Elimination candidate uops that were not eliminated.",
288         "Counter": "0,1,2,3",
289         "EventName": "MOVE_ELIMINATION.SIMD_NOT_ELIMINATED",
290         "SampleAfterValue": "1000003",
291         "CounterHTOff": "0,1,2,3,4,5,6,7"
292     },
293     {
294         "EventCode": "0x5E",
295         "UMask": "0x1",
296         "BriefDescription": "Cycles when Reservation Station (RS) is empty for the thread",
297         "Counter": "0,1,2,3",
298         "EventName": "RS_EVENTS.EMPTY_CYCLES",
299         "PublicDescription": "This event counts cycles during which the reservation station (RS) is empty for the thread.\nNote: In ST-mode, not active thread should drive 0. This is usually caused by severely costly branch mispredictions, or allocator/FE issues.",
300         "SampleAfterValue": "2000003",
301         "CounterHTOff": "0,1,2,3,4,5,6,7"
302     },
303     {
304         "EdgeDetect": "1",
305         "Invert": "1",
306         "EventCode": "0x5E",
307         "UMask": "0x1",
308         "BriefDescription": "Counts end of periods where the Reservation Station (RS) was empty. Could be useful to precisely locate Frontend Latency Bound issues.",
309         "Counter": "0,1,2,3",
310         "EventName": "RS_EVENTS.EMPTY_END",
311         "CounterMask": "1",
312         "SampleAfterValue": "200003",
313         "CounterHTOff": "0,1,2,3,4,5,6,7"
314     },
315     {
316         "EventCode": "0x87",
317         "UMask": "0x1",
318         "BriefDescription": "Stalls caused by changing prefix length of the instruction.",
319         "Counter": "0,1,2,3",
320         "EventName": "ILD_STALL.LCP",
321         "PublicDescription": "This event counts stalls occured due to changing prefix length (66, 67 or REX.W when they change the length of the decoded instruction). Occurrences counting is proportional to the number of prefixes in a 16B-line. This may result in the following penalties: three-cycle penalty for each LCP in a 16-byte chunk.",
322         "SampleAfterValue": "2000003",
323         "CounterHTOff": "0,1,2,3,4,5,6,7"
324     },
325     {
326         "EventCode": "0x88",
327         "UMask": "0x41",
328         "BriefDescription": "Not taken macro-conditional branches",
329         "Counter": "0,1,2,3",
330         "EventName": "BR_INST_EXEC.NONTAKEN_CONDITIONAL",
331         "PublicDescription": "This event counts not taken macro-conditional branch instructions.",
332         "SampleAfterValue": "200003",
333         "CounterHTOff": "0,1,2,3,4,5,6,7"
334     },
335     {
336         "EventCode": "0x88",
337         "UMask": "0x81",
338         "BriefDescription": "Taken speculative and retired macro-conditional branches",
339         "Counter": "0,1,2,3",
340         "EventName": "BR_INST_EXEC.TAKEN_CONDITIONAL",
341         "PublicDescription": "This event counts taken speculative and retired macro-conditional branch instructions.",
342         "SampleAfterValue": "200003",
343         "CounterHTOff": "0,1,2,3,4,5,6,7"
344     },
345     {
346         "EventCode": "0x88",
347         "UMask": "0x82",
348         "BriefDescription": "Taken speculative and retired macro-conditional branch instructions excluding calls and indirects",
349         "Counter": "0,1,2,3",
350         "EventName": "BR_INST_EXEC.TAKEN_DIRECT_JUMP",
351         "PublicDescription": "This event counts taken speculative and retired macro-conditional branch instructions excluding calls and indirect branches.",
352         "SampleAfterValue": "200003",
353         "CounterHTOff": "0,1,2,3,4,5,6,7"
354     },
355     {
356         "EventCode": "0x88",
357         "UMask": "0x84",
358         "BriefDescription": "Taken speculative and retired indirect branches excluding calls and returns",
359         "Counter": "0,1,2,3",
360         "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_JUMP_NON_CALL_RET",
361         "PublicDescription": "This event counts taken speculative and retired indirect branches excluding calls and return branches.",
362         "SampleAfterValue": "200003",
363         "CounterHTOff": "0,1,2,3,4,5,6,7"
364     },
365     {
366         "EventCode": "0x88",
367         "UMask": "0x88",
368         "BriefDescription": "Taken speculative and retired indirect branches with return mnemonic",
369         "Counter": "0,1,2,3",
370         "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_NEAR_RETURN",
371         "PublicDescription": "This event counts taken speculative and retired indirect branches that have a return mnemonic.",
372         "SampleAfterValue": "200003",
373         "CounterHTOff": "0,1,2,3,4,5,6,7"
374     },
375     {
376         "EventCode": "0x88",
377         "UMask": "0x90",
378         "BriefDescription": "Taken speculative and retired direct near calls",
379         "Counter": "0,1,2,3",
380         "EventName": "BR_INST_EXEC.TAKEN_DIRECT_NEAR_CALL",
381         "PublicDescription": "This event counts taken speculative and retired direct near calls.",
382         "SampleAfterValue": "200003",
383         "CounterHTOff": "0,1,2,3,4,5,6,7"
384     },
385     {
386         "EventCode": "0x88",
387         "UMask": "0xa0",
388         "BriefDescription": "Taken speculative and retired indirect calls",
389         "Counter": "0,1,2,3",
390         "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_NEAR_CALL",
391         "PublicDescription": "This event counts taken speculative and retired indirect calls including both register and memory indirect.",
392         "SampleAfterValue": "200003",
393         "CounterHTOff": "0,1,2,3,4,5,6,7"
394     },
395     {
396         "EventCode": "0x88",
397         "UMask": "0xc1",
398         "BriefDescription": "Speculative and retired macro-conditional branches",
399         "Counter": "0,1,2,3",
400         "EventName": "BR_INST_EXEC.ALL_CONDITIONAL",
401         "PublicDescription": "This event counts both taken and not taken speculative and retired macro-conditional branch instructions.",
402         "SampleAfterValue": "200003",
403         "CounterHTOff": "0,1,2,3,4,5,6,7"
404     },
405     {
406         "EventCode": "0x88",
407         "UMask": "0xc2",
408         "BriefDescription": "Speculative and retired macro-unconditional branches excluding calls and indirects",
409         "Counter": "0,1,2,3",
410         "EventName": "BR_INST_EXEC.ALL_DIRECT_JMP",
411         "PublicDescription": "This event counts both taken and not taken speculative and retired macro-unconditional branch instructions, excluding calls and indirects.",
412         "SampleAfterValue": "200003",
413         "CounterHTOff": "0,1,2,3,4,5,6,7"
414     },
415     {
416         "EventCode": "0x88",
417         "UMask": "0xc4",
418         "BriefDescription": "Speculative and retired indirect branches excluding calls and returns",
419         "Counter": "0,1,2,3",
420         "EventName": "BR_INST_EXEC.ALL_INDIRECT_JUMP_NON_CALL_RET",
421         "PublicDescription": "This event counts both taken and not taken speculative and retired indirect branches excluding calls and return branches.",
422         "SampleAfterValue": "200003",
423         "CounterHTOff": "0,1,2,3,4,5,6,7"
424     },
425     {
426         "EventCode": "0x88",
427         "UMask": "0xc8",
428         "BriefDescription": "Speculative and retired indirect return branches.",
429         "Counter": "0,1,2,3",
430         "EventName": "BR_INST_EXEC.ALL_INDIRECT_NEAR_RETURN",
431         "PublicDescription": "This event counts both taken and not taken speculative and retired indirect branches that have a return mnemonic.",
432         "SampleAfterValue": "200003",
433         "CounterHTOff": "0,1,2,3,4,5,6,7"
434     },
435     {
436         "EventCode": "0x88",
437         "UMask": "0xd0",
438         "BriefDescription": "Speculative and retired direct near calls",
439         "Counter": "0,1,2,3",
440         "EventName": "BR_INST_EXEC.ALL_DIRECT_NEAR_CALL",
441         "PublicDescription": "This event counts both taken and not taken speculative and retired direct near calls.",
442         "SampleAfterValue": "200003",
443         "CounterHTOff": "0,1,2,3,4,5,6,7"
444     },
445     {
446         "EventCode": "0x88",
447         "UMask": "0xff",
448         "BriefDescription": "Speculative and retired  branches",
449         "Counter": "0,1,2,3",
450         "EventName": "BR_INST_EXEC.ALL_BRANCHES",
451         "PublicDescription": "This event counts both taken and not taken speculative and retired branch instructions.",
452         "SampleAfterValue": "200003",
453         "CounterHTOff": "0,1,2,3,4,5,6,7"
454     },
455     {
456         "EventCode": "0x89",
457         "UMask": "0x41",
458         "BriefDescription": "Not taken speculative and retired mispredicted macro conditional branches",
459         "Counter": "0,1,2,3",
460         "EventName": "BR_MISP_EXEC.NONTAKEN_CONDITIONAL",
461         "PublicDescription": "This event counts not taken speculative and retired mispredicted macro conditional branch instructions.",
462         "SampleAfterValue": "200003",
463         "CounterHTOff": "0,1,2,3,4,5,6,7"
464     },
465     {
466         "EventCode": "0x89",
467         "UMask": "0x81",
468         "BriefDescription": "Taken speculative and retired mispredicted macro conditional branches",
469         "Counter": "0,1,2,3",
470         "EventName": "BR_MISP_EXEC.TAKEN_CONDITIONAL",
471         "PublicDescription": "This event counts taken speculative and retired mispredicted macro conditional branch instructions.",
472         "SampleAfterValue": "200003",
473         "CounterHTOff": "0,1,2,3,4,5,6,7"
474     },
475     {
476         "EventCode": "0x89",
477         "UMask": "0x84",
478         "BriefDescription": "Taken speculative and retired mispredicted indirect branches excluding calls and returns",
479         "Counter": "0,1,2,3",
480         "EventName": "BR_MISP_EXEC.TAKEN_INDIRECT_JUMP_NON_CALL_RET",
481         "PublicDescription": "This event counts taken speculative and retired mispredicted indirect branches excluding calls and returns.",
482         "SampleAfterValue": "200003",
483         "CounterHTOff": "0,1,2,3,4,5,6,7"
484     },
485     {
486         "EventCode": "0x89",
487         "UMask": "0x88",
488         "BriefDescription": "Taken speculative and retired mispredicted indirect branches with return mnemonic",
489         "Counter": "0,1,2,3",
490         "EventName": "BR_MISP_EXEC.TAKEN_RETURN_NEAR",
491         "PublicDescription": "This event counts taken speculative and retired mispredicted indirect branches that have a return mnemonic.",
492         "SampleAfterValue": "200003",
493         "CounterHTOff": "0,1,2,3,4,5,6,7"
494     },
495     {
496         "EventCode": "0x89",
497         "UMask": "0xa0",
498         "BriefDescription": "Taken speculative and retired mispredicted indirect calls.",
499         "Counter": "0,1,2,3",
500         "EventName": "BR_MISP_EXEC.TAKEN_INDIRECT_NEAR_CALL",
501         "SampleAfterValue": "200003",
502         "CounterHTOff": "0,1,2,3,4,5,6,7"
503     },
504     {
505         "EventCode": "0x89",
506         "UMask": "0xc1",
507         "BriefDescription": "Speculative and retired mispredicted macro conditional branches",
508         "Counter": "0,1,2,3",
509         "EventName": "BR_MISP_EXEC.ALL_CONDITIONAL",
510         "PublicDescription": "This event counts both taken and not taken speculative and retired mispredicted macro conditional branch instructions.",
511         "SampleAfterValue": "200003",
512         "CounterHTOff": "0,1,2,3,4,5,6,7"
513     },
514     {
515         "EventCode": "0x89",
516         "UMask": "0xc4",
517         "BriefDescription": "Mispredicted indirect branches excluding calls and returns",
518         "Counter": "0,1,2,3",
519         "EventName": "BR_MISP_EXEC.ALL_INDIRECT_JUMP_NON_CALL_RET",
520         "PublicDescription": "This event counts both taken and not taken mispredicted indirect branches excluding calls and returns.",
521         "SampleAfterValue": "200003",
522         "CounterHTOff": "0,1,2,3,4,5,6,7"
523     },
524     {
525         "EventCode": "0x89",
526         "UMask": "0xff",
527         "BriefDescription": "Speculative and retired mispredicted macro conditional branches",
528         "Counter": "0,1,2,3",
529         "EventName": "BR_MISP_EXEC.ALL_BRANCHES",
530         "PublicDescription": "This event counts both taken and not taken speculative and retired mispredicted branch instructions.",
531         "SampleAfterValue": "200003",
532         "CounterHTOff": "0,1,2,3,4,5,6,7"
533     },
534     {
535         "EventCode": "0xA0",
536         "UMask": "0x3",
537         "BriefDescription": "Micro-op dispatches cancelled due to insufficient SIMD physical register file read ports",
538         "Counter": "0,1,2,3",
539         "EventName": "UOP_DISPATCHES_CANCELLED.SIMD_PRF",
540         "PublicDescription": "This event counts the number of micro-operations cancelled after they were dispatched from the scheduler to the execution units when the total number of physical register read ports across all dispatch ports exceeds the read bandwidth of the physical register file.  The SIMD_PRF subevent applies to the following instructions: VDPPS, DPPS, VPCMPESTRI, PCMPESTRI, VPCMPESTRM, PCMPESTRM, VFMADD*, VFMADDSUB*, VFMSUB*, VMSUBADD*, VFNMADD*, VFNMSUB*.  See the Broadwell Optimization Guide for more information.",
541         "SampleAfterValue": "2000003",
542         "CounterHTOff": "0,1,2,3"
543     },
544     {
545         "EventCode": "0xA1",
546         "UMask": "0x1",
547         "BriefDescription": "Cycles per thread when uops are executed in port 0",
548         "Counter": "0,1,2,3",
549         "EventName": "UOPS_DISPATCHED_PORT.PORT_0",
550         "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 0.",
551         "SampleAfterValue": "2000003",
552         "CounterHTOff": "0,1,2,3,4,5,6,7"
553     },
554     {
555         "EventCode": "0xA1",
556         "UMask": "0x1",
557         "BriefDescription": "Cycles per core when uops are exectuted in port 0.",
558         "Counter": "0,1,2,3",
559         "EventName": "UOPS_EXECUTED_PORT.PORT_0_CORE",
560         "AnyThread": "1",
561         "SampleAfterValue": "2000003",
562         "CounterHTOff": "0,1,2,3,4,5,6,7"
563     },
564     {
565         "EventCode": "0xA1",
566         "UMask": "0x1",
567         "BriefDescription": "Cycles per thread when uops are executed in port 0",
568         "Counter": "0,1,2,3",
569         "EventName": "UOPS_EXECUTED_PORT.PORT_0",
570         "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 0.",
571         "SampleAfterValue": "2000003",
572         "CounterHTOff": "0,1,2,3,4,5,6,7"
573     },
574     {
575         "EventCode": "0xA1",
576         "UMask": "0x2",
577         "BriefDescription": "Cycles per thread when uops are executed in port 1",
578         "Counter": "0,1,2,3",
579         "EventName": "UOPS_DISPATCHED_PORT.PORT_1",
580         "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 1.",
581         "SampleAfterValue": "2000003",
582         "CounterHTOff": "0,1,2,3,4,5,6,7"
583     },
584     {
585         "EventCode": "0xA1",
586         "UMask": "0x2",
587         "BriefDescription": "Cycles per core when uops are exectuted in port 1.",
588         "Counter": "0,1,2,3",
589         "EventName": "UOPS_EXECUTED_PORT.PORT_1_CORE",
590         "AnyThread": "1",
591         "SampleAfterValue": "2000003",
592         "CounterHTOff": "0,1,2,3,4,5,6,7"
593     },
594     {
595         "EventCode": "0xA1",
596         "UMask": "0x2",
597         "BriefDescription": "Cycles per thread when uops are executed in port 1",
598         "Counter": "0,1,2,3",
599         "EventName": "UOPS_EXECUTED_PORT.PORT_1",
600         "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 1.",
601         "SampleAfterValue": "2000003",
602         "CounterHTOff": "0,1,2,3,4,5,6,7"
603     },
604     {
605         "EventCode": "0xA1",
606         "UMask": "0x4",
607         "BriefDescription": "Cycles per thread when uops are executed in port 2",
608         "Counter": "0,1,2,3",
609         "EventName": "UOPS_DISPATCHED_PORT.PORT_2",
610         "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 2.",
611         "SampleAfterValue": "2000003",
612         "CounterHTOff": "0,1,2,3,4,5,6,7"
613     },
614     {
615         "EventCode": "0xA1",
616         "UMask": "0x4",
617         "BriefDescription": "Cycles per core when uops are dispatched to port 2.",
618         "Counter": "0,1,2,3",
619         "EventName": "UOPS_EXECUTED_PORT.PORT_2_CORE",
620         "AnyThread": "1",
621         "SampleAfterValue": "2000003",
622         "CounterHTOff": "0,1,2,3,4,5,6,7"
623     },
624     {
625         "EventCode": "0xA1",
626         "UMask": "0x4",
627         "BriefDescription": "Cycles per thread when uops are executed in port 2",
628         "Counter": "0,1,2,3",
629         "EventName": "UOPS_EXECUTED_PORT.PORT_2",
630         "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 2.",
631         "SampleAfterValue": "2000003",
632         "CounterHTOff": "0,1,2,3,4,5,6,7"
633     },
634     {
635         "EventCode": "0xA1",
636         "UMask": "0x8",
637         "BriefDescription": "Cycles per thread when uops are executed in port 3",
638         "Counter": "0,1,2,3",
639         "EventName": "UOPS_DISPATCHED_PORT.PORT_3",
640         "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 3.",
641         "SampleAfterValue": "2000003",
642         "CounterHTOff": "0,1,2,3,4,5,6,7"
643     },
644     {
645         "EventCode": "0xA1",
646         "UMask": "0x8",
647         "BriefDescription": "Cycles per core when uops are dispatched to port 3.",
648         "Counter": "0,1,2,3",
649         "EventName": "UOPS_EXECUTED_PORT.PORT_3_CORE",
650         "AnyThread": "1",
651         "SampleAfterValue": "2000003",
652         "CounterHTOff": "0,1,2,3,4,5,6,7"
653     },
654     {
655         "EventCode": "0xA1",
656         "UMask": "0x8",
657         "BriefDescription": "Cycles per thread when uops are executed in port 3",
658         "Counter": "0,1,2,3",
659         "EventName": "UOPS_EXECUTED_PORT.PORT_3",
660         "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 3.",
661         "SampleAfterValue": "2000003",
662         "CounterHTOff": "0,1,2,3,4,5,6,7"
663     },
664     {
665         "EventCode": "0xA1",
666         "UMask": "0x10",
667         "BriefDescription": "Cycles per thread when uops are executed in port 4",
668         "Counter": "0,1,2,3",
669         "EventName": "UOPS_DISPATCHED_PORT.PORT_4",
670         "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 4.",
671         "SampleAfterValue": "2000003",
672         "CounterHTOff": "0,1,2,3,4,5,6,7"
673     },
674     {
675         "EventCode": "0xA1",
676         "UMask": "0x10",
677         "BriefDescription": "Cycles per core when uops are exectuted in port 4.",
678         "Counter": "0,1,2,3",
679         "EventName": "UOPS_EXECUTED_PORT.PORT_4_CORE",
680         "AnyThread": "1",
681         "SampleAfterValue": "2000003",
682         "CounterHTOff": "0,1,2,3,4,5,6,7"
683     },
684     {
685         "EventCode": "0xA1",
686         "UMask": "0x10",
687         "BriefDescription": "Cycles per thread when uops are executed in port 4",
688         "Counter": "0,1,2,3",
689         "EventName": "UOPS_EXECUTED_PORT.PORT_4",
690         "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 4.",
691         "SampleAfterValue": "2000003",
692         "CounterHTOff": "0,1,2,3,4,5,6,7"
693     },
694     {
695         "EventCode": "0xA1",
696         "UMask": "0x20",
697         "BriefDescription": "Cycles per thread when uops are executed in port 5",
698         "Counter": "0,1,2,3",
699         "EventName": "UOPS_DISPATCHED_PORT.PORT_5",
700         "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 5.",
701         "SampleAfterValue": "2000003",
702         "CounterHTOff": "0,1,2,3,4,5,6,7"
703     },
704     {
705         "EventCode": "0xA1",
706         "UMask": "0x20",
707         "BriefDescription": "Cycles per core when uops are exectuted in port 5.",
708         "Counter": "0,1,2,3",
709         "EventName": "UOPS_EXECUTED_PORT.PORT_5_CORE",
710         "AnyThread": "1",
711         "SampleAfterValue": "2000003",
712         "CounterHTOff": "0,1,2,3,4,5,6,7"
713     },
714     {
715         "EventCode": "0xA1",
716         "UMask": "0x20",
717         "BriefDescription": "Cycles per thread when uops are executed in port 5",
718         "Counter": "0,1,2,3",
719         "EventName": "UOPS_EXECUTED_PORT.PORT_5",
720         "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 5.",
721         "SampleAfterValue": "2000003",
722         "CounterHTOff": "0,1,2,3,4,5,6,7"
723     },
724     {
725         "EventCode": "0xA1",
726         "UMask": "0x40",
727         "BriefDescription": "Cycles per thread when uops are executed in port 6",
728         "Counter": "0,1,2,3",
729         "EventName": "UOPS_DISPATCHED_PORT.PORT_6",
730         "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 6.",
731         "SampleAfterValue": "2000003",
732         "CounterHTOff": "0,1,2,3,4,5,6,7"
733     },
734     {
735         "EventCode": "0xA1",
736         "UMask": "0x40",
737         "BriefDescription": "Cycles per core when uops are exectuted in port 6.",
738         "Counter": "0,1,2,3",
739         "EventName": "UOPS_EXECUTED_PORT.PORT_6_CORE",
740         "AnyThread": "1",
741         "SampleAfterValue": "2000003",
742         "CounterHTOff": "0,1,2,3,4,5,6,7"
743     },
744     {
745         "EventCode": "0xA1",
746         "UMask": "0x40",
747         "BriefDescription": "Cycles per thread when uops are executed in port 6",
748         "Counter": "0,1,2,3",
749         "EventName": "UOPS_EXECUTED_PORT.PORT_6",
750         "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 6.",
751         "SampleAfterValue": "2000003",
752         "CounterHTOff": "0,1,2,3,4,5,6,7"
753     },
754     {
755         "EventCode": "0xA1",
756         "UMask": "0x80",
757         "BriefDescription": "Cycles per thread when uops are executed in port 7",
758         "Counter": "0,1,2,3",
759         "EventName": "UOPS_DISPATCHED_PORT.PORT_7",
760         "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 7.",
761         "SampleAfterValue": "2000003",
762         "CounterHTOff": "0,1,2,3,4,5,6,7"
763     },
764     {
765         "EventCode": "0xA1",
766         "UMask": "0x80",
767         "BriefDescription": "Cycles per core when uops are dispatched to port 7.",
768         "Counter": "0,1,2,3",
769         "EventName": "UOPS_EXECUTED_PORT.PORT_7_CORE",
770         "AnyThread": "1",
771         "SampleAfterValue": "2000003",
772         "CounterHTOff": "0,1,2,3,4,5,6,7"
773     },
774     {
775         "EventCode": "0xA1",
776         "UMask": "0x80",
777         "BriefDescription": "Cycles per thread when uops are executed in port 7",
778         "Counter": "0,1,2,3",
779         "EventName": "UOPS_EXECUTED_PORT.PORT_7",
780         "PublicDescription": "This event counts, on the per-thread basis, cycles during which uops are dispatched from the Reservation Station (RS) to port 7.",
781         "SampleAfterValue": "2000003",
782         "CounterHTOff": "0,1,2,3,4,5,6,7"
783     },
784     {
785         "EventCode": "0xa2",
786         "UMask": "0x1",
787         "BriefDescription": "Resource-related stall cycles",
788         "Counter": "0,1,2,3",
789         "EventName": "RESOURCE_STALLS.ANY",
790         "PublicDescription": "This event counts resource-related stall cycles.",
791         "SampleAfterValue": "2000003",
792         "CounterHTOff": "0,1,2,3,4,5,6,7"
793     },
794     {
795         "EventCode": "0xA2",
796         "UMask": "0x4",
797         "BriefDescription": "Cycles stalled due to no eligible RS entry available.",
798         "Counter": "0,1,2,3",
799         "EventName": "RESOURCE_STALLS.RS",
800         "PublicDescription": "This event counts stall cycles caused by absence of eligible entries in the reservation station (RS). This may result from RS overflow, or from RS deallocation because of the RS array Write Port allocation scheme (each RS entry has two write ports instead of four. As a result, empty entries could not be used, although RS is not really full). This counts cycles that the pipeline backend blocked uop delivery from the front end.",
801         "SampleAfterValue": "2000003",
802         "CounterHTOff": "0,1,2,3,4,5,6,7"
803     },
804     {
805         "EventCode": "0xA2",
806         "UMask": "0x8",
807         "BriefDescription": "Cycles stalled due to no store buffers available. (not including draining form sync).",
808         "Counter": "0,1,2,3",
809         "EventName": "RESOURCE_STALLS.SB",
810         "PublicDescription": "This event counts stall cycles caused by the store buffer (SB) overflow (excluding draining from synch). This counts cycles that the pipeline backend blocked uop delivery from the front end.",
811         "SampleAfterValue": "2000003",
812         "CounterHTOff": "0,1,2,3,4,5,6,7"
813     },
814     {
815         "EventCode": "0xA2",
816         "UMask": "0x10",
817         "BriefDescription": "Cycles stalled due to re-order buffer full.",
818         "Counter": "0,1,2,3",
819         "EventName": "RESOURCE_STALLS.ROB",
820         "PublicDescription": "This event counts ROB full stall cycles. This counts cycles that the pipeline backend blocked uop delivery from the front end.",
821         "SampleAfterValue": "2000003",
822         "CounterHTOff": "0,1,2,3,4,5,6,7"
823     },
824     {
825         "EventCode": "0xA3",
826         "UMask": "0x1",
827         "BriefDescription": "Cycles while L2 cache miss demand load is outstanding.",
828         "Counter": "0,1,2,3",
829         "EventName": "CYCLE_ACTIVITY.CYCLES_L2_PENDING",
830         "CounterMask": "1",
831         "PublicDescription": "Counts number of cycles the CPU has at least one pending  demand* load request missing the L2 cache.",
832         "SampleAfterValue": "2000003",
833         "CounterHTOff": "0,1,2,3,4,5,6,7"
834     },
835     {
836         "EventCode": "0xA3",
837         "UMask": "0x1",
838         "BriefDescription": "Cycles while L2 cache miss demand load is outstanding.",
839         "Counter": "0,1,2,3",
840         "EventName": "CYCLE_ACTIVITY.CYCLES_L2_MISS",
841         "CounterMask": "1",
842         "SampleAfterValue": "2000003",
843         "CounterHTOff": "0,1,2,3,4,5,6,7"
844     },
845     {
846         "EventCode": "0xA3",
847         "UMask": "0x2",
848         "BriefDescription": "Cycles while memory subsystem has an outstanding load.",
849         "Counter": "0,1,2,3",
850         "EventName": "CYCLE_ACTIVITY.CYCLES_LDM_PENDING",
851         "CounterMask": "2",
852         "PublicDescription": "Counts number of cycles the CPU has at least one pending  demand load request (that is cycles with non-completed load waiting for its data from memory subsystem).",
853         "SampleAfterValue": "2000003",
854         "CounterHTOff": "0,1,2,3,4,5,6,7"
855     },
856     {
857         "EventCode": "0xA3",
858         "UMask": "0x2",
859         "BriefDescription": "Cycles while memory subsystem has an outstanding load.",
860         "Counter": "0,1,2,3",
861         "EventName": "CYCLE_ACTIVITY.CYCLES_MEM_ANY",
862         "CounterMask": "2",
863         "SampleAfterValue": "2000003",
864         "CounterHTOff": "0,1,2,3"
865     },
866     {
867         "EventCode": "0xA3",
868         "UMask": "0x4",
869         "BriefDescription": "This event increments by 1 for every cycle where there was no execute for this thread.",
870         "Counter": "0,1,2,3",
871         "EventName": "CYCLE_ACTIVITY.CYCLES_NO_EXECUTE",
872         "CounterMask": "4",
873         "PublicDescription": "Counts number of cycles nothing is executed on any execution port.",
874         "SampleAfterValue": "2000003",
875         "CounterHTOff": "0,1,2,3"
876     },
877     {
878         "EventCode": "0xA3",
879         "UMask": "0x4",
880         "BriefDescription": "Total execution stalls.",
881         "Counter": "0,1,2,3",
882         "EventName": "CYCLE_ACTIVITY.STALLS_TOTAL",
883         "CounterMask": "4",
884         "SampleAfterValue": "2000003",
885         "CounterHTOff": "0,1,2,3,4,5,6,7"
886     },
887     {
888         "EventCode": "0xA3",
889         "UMask": "0x5",
890         "BriefDescription": "Execution stalls while L2 cache miss demand load is outstanding.",
891         "Counter": "0,1,2,3",
892         "EventName": "CYCLE_ACTIVITY.STALLS_L2_PENDING",
893         "CounterMask": "5",
894         "PublicDescription": "Counts number of cycles nothing is executed on any execution port, while there was at least one pending demand* load request missing the L2 cache.(as a footprint) * includes also L1 HW prefetch requests that may or may not be required by demands.",
895         "SampleAfterValue": "2000003",
896         "CounterHTOff": "0,1,2,3"
897     },
898     {
899         "EventCode": "0xA3",
900         "UMask": "0x5",
901         "BriefDescription": "Execution stalls while L2 cache miss demand load is outstanding.",
902         "Counter": "0,1,2,3",
903         "EventName": "CYCLE_ACTIVITY.STALLS_L2_MISS",
904         "CounterMask": "5",
905         "SampleAfterValue": "2000003",
906         "CounterHTOff": "0,1,2,3,4,5,6,7"
907     },
908     {
909         "EventCode": "0xA3",
910         "UMask": "0x6",
911         "BriefDescription": "Execution stalls while memory subsystem has an outstanding load.",
912         "Counter": "0,1,2,3",
913         "EventName": "CYCLE_ACTIVITY.STALLS_LDM_PENDING",
914         "CounterMask": "6",
915         "PublicDescription": "Counts number of cycles nothing is executed on any execution port, while there was at least one pending demand load request.",
916         "SampleAfterValue": "2000003",
917         "CounterHTOff": "0,1,2,3"
918     },
919     {
920         "EventCode": "0xA3",
921         "UMask": "0x6",
922         "BriefDescription": "Execution stalls while memory subsystem has an outstanding load.",
923         "Counter": "0,1,2,3",
924         "EventName": "CYCLE_ACTIVITY.STALLS_MEM_ANY",
925         "CounterMask": "6",
926         "SampleAfterValue": "2000003",
927         "CounterHTOff": "0,1,2,3,4,5,6,7"
928     },
929     {
930         "EventCode": "0xA3",
931         "UMask": "0x8",
932         "BriefDescription": "Cycles while L1 cache miss demand load is outstanding.",
933         "Counter": "2",
934         "EventName": "CYCLE_ACTIVITY.CYCLES_L1D_PENDING",
935         "CounterMask": "8",
936         "PublicDescription": "Counts number of cycles the CPU has at least one pending  demand load request missing the L1 data cache.",
937         "SampleAfterValue": "2000003",
938         "CounterHTOff": "2"
939     },
940     {
941         "EventCode": "0xA3",
942         "UMask": "0x8",
943         "BriefDescription": "Cycles while L1 cache miss demand load is outstanding.",
944         "Counter": "2",
945         "EventName": "CYCLE_ACTIVITY.CYCLES_L1D_MISS",
946         "CounterMask": "8",
947         "SampleAfterValue": "2000003",
948         "CounterHTOff": "2"
949     },
950     {
951         "EventCode": "0xA3",
952         "UMask": "0xc",
953         "BriefDescription": "Execution stalls while L1 cache miss demand load is outstanding.",
954         "Counter": "2",
955         "EventName": "CYCLE_ACTIVITY.STALLS_L1D_PENDING",
956         "CounterMask": "12",
957         "PublicDescription": "Counts number of cycles nothing is executed on any execution port, while there was at least one pending demand load request missing the L1 data cache.",
958         "SampleAfterValue": "2000003",
959         "CounterHTOff": "2"
960     },
961     {
962         "EventCode": "0xA3",
963         "UMask": "0xc",
964         "BriefDescription": "Execution stalls while L1 cache miss demand load is outstanding.",
965         "Counter": "2",
966         "EventName": "CYCLE_ACTIVITY.STALLS_L1D_MISS",
967         "CounterMask": "12",
968         "SampleAfterValue": "2000003",
969         "CounterHTOff": "2"
970     },
971     {
972         "EventCode": "0xA8",
973         "UMask": "0x1",
974         "BriefDescription": "Number of Uops delivered by the LSD.",
975         "Counter": "0,1,2,3",
976         "EventName": "LSD.UOPS",
977         "SampleAfterValue": "2000003",
978         "CounterHTOff": "0,1,2,3,4,5,6,7"
979     },
980     {
981         "EventCode": "0xA8",
982         "UMask": "0x1",
983         "BriefDescription": "Cycles 4 Uops delivered by the LSD, but didn't come from the decoder.",
984         "Counter": "0,1,2,3",
985         "EventName": "LSD.CYCLES_4_UOPS",
986         "CounterMask": "4",
987         "SampleAfterValue": "2000003",
988         "CounterHTOff": "0,1,2,3,4,5,6,7"
989     },
990     {
991         "EventCode": "0xA8",
992         "UMask": "0x1",
993         "BriefDescription": "Cycles Uops delivered by the LSD, but didn't come from the decoder.",
994         "Counter": "0,1,2,3",
995         "EventName": "LSD.CYCLES_ACTIVE",
996         "CounterMask": "1",
997         "SampleAfterValue": "2000003",
998         "CounterHTOff": "0,1,2,3,4,5,6,7"
999     },
1000     {
1001         "EventCode": "0xB1",
1002         "UMask": "0x1",
1003         "BriefDescription": "Counts the number of uops to be executed per-thread each cycle.",
1004         "Counter": "0,1,2,3",
1005         "EventName": "UOPS_EXECUTED.THREAD",
1006         "PublicDescription": "Number of uops to be executed per-thread each cycle.",
1007         "SampleAfterValue": "2000003",
1008         "CounterHTOff": "0,1,2,3,4,5,6,7"
1009     },
1010     {
1011         "Invert": "1",
1012         "EventCode": "0xB1",
1013         "UMask": "0x1",
1014         "BriefDescription": "Counts number of cycles no uops were dispatched to be executed on this thread.",
1015         "Counter": "0,1,2,3",
1016         "EventName": "UOPS_EXECUTED.STALL_CYCLES",
1017         "CounterMask": "1",
1018         "PublicDescription": "This event counts cycles during which no uops were dispatched from the Reservation Station (RS) per thread.",
1019         "SampleAfterValue": "2000003",
1020         "CounterHTOff": "0,1,2,3"
1021     },
1022     {
1023         "EventCode": "0xB1",
1024         "UMask": "0x1",
1025         "BriefDescription": "Cycles where at least 1 uop was executed per-thread.",
1026         "Counter": "0,1,2,3",
1027         "EventName": "UOPS_EXECUTED.CYCLES_GE_1_UOP_EXEC",
1028         "CounterMask": "1",
1029         "SampleAfterValue": "2000003",
1030         "CounterHTOff": "0,1,2,3"
1031     },
1032     {
1033         "EventCode": "0xB1",
1034         "UMask": "0x1",
1035         "BriefDescription": "Cycles where at least 2 uops were executed per-thread.",
1036         "Counter": "0,1,2,3",
1037         "EventName": "UOPS_EXECUTED.CYCLES_GE_2_UOPS_EXEC",
1038         "CounterMask": "2",
1039         "SampleAfterValue": "2000003",
1040         "CounterHTOff": "0,1,2,3"
1041     },
1042     {
1043         "EventCode": "0xB1",
1044         "UMask": "0x1",
1045         "BriefDescription": "Cycles where at least 3 uops were executed per-thread.",
1046         "Counter": "0,1,2,3",
1047         "EventName": "UOPS_EXECUTED.CYCLES_GE_3_UOPS_EXEC",
1048         "CounterMask": "3",
1049         "SampleAfterValue": "2000003",
1050         "CounterHTOff": "0,1,2,3"
1051     },
1052     {
1053         "EventCode": "0xB1",
1054         "UMask": "0x1",
1055         "BriefDescription": "Cycles where at least 4 uops were executed per-thread.",
1056         "Counter": "0,1,2,3",
1057         "EventName": "UOPS_EXECUTED.CYCLES_GE_4_UOPS_EXEC",
1058         "CounterMask": "4",
1059         "SampleAfterValue": "2000003",
1060         "CounterHTOff": "0,1,2,3"
1061     },
1062     {
1063         "EventCode": "0xB1",
1064         "UMask": "0x2",
1065         "BriefDescription": "Number of uops executed on the core.",
1066         "Counter": "0,1,2,3",
1067         "EventName": "UOPS_EXECUTED.CORE",
1068         "PublicDescription": "Number of uops executed from any thread.",
1069         "SampleAfterValue": "2000003",
1070         "CounterHTOff": "0,1,2,3,4,5,6,7"
1071     },
1072     {
1073         "EventCode": "0xb1",
1074         "UMask": "0x2",
1075         "BriefDescription": "Cycles at least 1 micro-op is executed from any thread on physical core.",
1076         "Counter": "0,1,2,3",
1077         "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_1",
1078         "CounterMask": "1",
1079         "SampleAfterValue": "2000003",
1080         "CounterHTOff": "0,1,2,3,4,5,6,7"
1081     },
1082     {
1083         "EventCode": "0xb1",
1084         "UMask": "0x2",
1085         "BriefDescription": "Cycles at least 2 micro-op is executed from any thread on physical core.",
1086         "Counter": "0,1,2,3",
1087         "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_2",
1088         "CounterMask": "2",
1089         "SampleAfterValue": "2000003",
1090         "CounterHTOff": "0,1,2,3,4,5,6,7"
1091     },
1092     {
1093         "EventCode": "0xb1",
1094         "UMask": "0x2",
1095         "BriefDescription": "Cycles at least 3 micro-op is executed from any thread on physical core.",
1096         "Counter": "0,1,2,3",
1097         "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_3",
1098         "CounterMask": "3",
1099         "SampleAfterValue": "2000003",
1100         "CounterHTOff": "0,1,2,3,4,5,6,7"
1101     },
1102     {
1103         "EventCode": "0xb1",
1104         "UMask": "0x2",
1105         "BriefDescription": "Cycles at least 4 micro-op is executed from any thread on physical core.",
1106         "Counter": "0,1,2,3",
1107         "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_4",
1108         "CounterMask": "4",
1109         "SampleAfterValue": "2000003",
1110         "CounterHTOff": "0,1,2,3,4,5,6,7"
1111     },
1112     {
1113         "Invert": "1",
1114         "EventCode": "0xb1",
1115         "UMask": "0x2",
1116         "BriefDescription": "Cycles with no micro-ops executed from any thread on physical core.",
1117         "Counter": "0,1,2,3",
1118         "EventName": "UOPS_EXECUTED.CORE_CYCLES_NONE",
1119         "SampleAfterValue": "2000003",
1120         "CounterHTOff": "0,1,2,3,4,5,6,7"
1121     },
1122     {
1123         "EventCode": "0xC0",
1124         "UMask": "0x0",
1125         "BriefDescription": "Number of instructions retired. General Counter   - architectural event",
1126         "Counter": "0,1,2,3",
1127         "EventName": "INST_RETIRED.ANY_P",
1128         "Errata": "BDM61",
1129         "PublicDescription": "This event counts the number of instructions (EOMs) retired. Counting covers macro-fused instructions individually (that is, increments by two).",
1130         "SampleAfterValue": "2000003",
1131         "CounterHTOff": "0,1,2,3,4,5,6,7"
1132     },
1133     {
1134         "EventCode": "0xC0",
1135         "UMask": "0x1",
1136         "BriefDescription": "Precise instruction retired event with HW to reduce effect of PEBS shadow in IP distribution",
1137         "PEBS": "2",
1138         "Counter": "1",
1139         "EventName": "INST_RETIRED.PREC_DIST",
1140         "Errata": "BDM11, BDM55",
1141         "PublicDescription": "This is a precise version (that is, uses PEBS) of the event that counts instructions retired.",
1142         "SampleAfterValue": "2000003",
1143         "CounterHTOff": "1"
1144     },
1145     {
1146         "EventCode": "0xC0",
1147         "UMask": "0x2",
1148         "BriefDescription": "FP operations  retired. X87 FP operations that have no exceptions:",
1149         "Counter": "0,1,2,3",
1150         "EventName": "INST_RETIRED.X87",
1151         "PublicDescription": "This event counts FP operations retired. For X87 FP operations that have no exceptions counting also includes flows that have several X87, or flows that use X87 uops in the exception handling.",
1152         "SampleAfterValue": "2000003",
1153         "CounterHTOff": "0,1,2,3,4,5,6,7"
1154     },
1155     {
1156         "EventCode": "0xC1",
1157         "UMask": "0x40",
1158         "BriefDescription": "Number of times any microcode assist is invoked by HW upon uop writeback.",
1159         "Counter": "0,1,2,3",
1160         "EventName": "OTHER_ASSISTS.ANY_WB_ASSIST",
1161         "SampleAfterValue": "100003",
1162         "CounterHTOff": "0,1,2,3,4,5,6,7"
1163     },
1164     {
1165         "EventCode": "0xC2",
1166         "UMask": "0x1",
1167         "BriefDescription": "Actually retired uops.",
1168         "Data_LA": "1",
1169         "PEBS": "1",
1170         "Counter": "0,1,2,3",
1171         "EventName": "UOPS_RETIRED.ALL",
1172         "PublicDescription": "This event counts all actually retired uops. Counting increments by two for micro-fused uops, and by one for macro-fused and other uops. Maximal increment value for one cycle is eight.",
1173         "SampleAfterValue": "2000003",
1174         "CounterHTOff": "0,1,2,3,4,5,6,7"
1175     },
1176     {
1177         "Invert": "1",
1178         "EventCode": "0xC2",
1179         "UMask": "0x1",
1180         "BriefDescription": "Cycles without actually retired uops.",
1181         "Counter": "0,1,2,3",
1182         "EventName": "UOPS_RETIRED.STALL_CYCLES",
1183         "CounterMask": "1",
1184         "PublicDescription": "This event counts cycles without actually retired uops.",
1185         "SampleAfterValue": "2000003",
1186         "CounterHTOff": "0,1,2,3"
1187     },
1188     {
1189         "Invert": "1",
1190         "EventCode": "0xC2",
1191         "UMask": "0x1",
1192         "BriefDescription": "Cycles with less than 10 actually retired uops.",
1193         "Counter": "0,1,2,3",
1194         "EventName": "UOPS_RETIRED.TOTAL_CYCLES",
1195         "CounterMask": "10",
1196         "PublicDescription": "Number of cycles using always true condition (uops_ret < 16) applied to non PEBS uops retired event.",
1197         "SampleAfterValue": "2000003",
1198         "CounterHTOff": "0,1,2,3"
1199     },
1200     {
1201         "EventCode": "0xC2",
1202         "UMask": "0x2",
1203         "BriefDescription": "Retirement slots used.",
1204         "PEBS": "1",
1205         "Counter": "0,1,2,3",
1206         "EventName": "UOPS_RETIRED.RETIRE_SLOTS",
1207         "PublicDescription": "This event counts the number of retirement slots used.",
1208         "SampleAfterValue": "2000003",
1209         "CounterHTOff": "0,1,2,3,4,5,6,7"
1210     },
1211     {
1212         "EventCode": "0xC3",
1213         "UMask": "0x1",
1214         "BriefDescription": "Cycles there was a Nuke. Account for both thread-specific and All Thread Nukes.",
1215         "Counter": "0,1,2,3",
1216         "EventName": "MACHINE_CLEARS.CYCLES",
1217         "PublicDescription": "This event counts both thread-specific (TS) and all-thread (AT) nukes.",
1218         "SampleAfterValue": "2000003",
1219         "CounterHTOff": "0,1,2,3,4,5,6,7"
1220     },
1221     {
1222         "EdgeDetect": "1",
1223         "EventCode": "0xC3",
1224         "UMask": "0x1",
1225         "BriefDescription": "Number of machine clears (nukes) of any type.",
1226         "Counter": "0,1,2,3",
1227         "EventName": "MACHINE_CLEARS.COUNT",
1228         "CounterMask": "1",
1229         "SampleAfterValue": "100003",
1230         "CounterHTOff": "0,1,2,3,4,5,6,7"
1231     },
1232     {
1233         "EventCode": "0xC3",
1234         "UMask": "0x4",
1235         "BriefDescription": "Self-modifying code (SMC) detected.",
1236         "Counter": "0,1,2,3",
1237         "EventName": "MACHINE_CLEARS.SMC",
1238         "PublicDescription": "This event counts self-modifying code (SMC) detected, which causes a machine clear.",
1239         "SampleAfterValue": "100003",
1240         "CounterHTOff": "0,1,2,3,4,5,6,7"
1241     },
1242     {
1243         "EventCode": "0xC3",
1244         "UMask": "0x20",
1245         "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.",
1246         "Counter": "0,1,2,3",
1247         "EventName": "MACHINE_CLEARS.MASKMOV",
1248         "PublicDescription": "Maskmov false fault - counts number of time ucode passes through Maskmov flow due to instruction's mask being 0 while the flow was completed without raising a fault.",
1249         "SampleAfterValue": "100003",
1250         "CounterHTOff": "0,1,2,3,4,5,6,7"
1251     },
1252     {
1253         "EventCode": "0xC4",
1254         "UMask": "0x0",
1255         "BriefDescription": "All (macro) branch instructions retired.",
1256         "Counter": "0,1,2,3",
1257         "EventName": "BR_INST_RETIRED.ALL_BRANCHES",
1258         "PublicDescription": "This event counts all (macro) branch instructions retired.",
1259         "SampleAfterValue": "400009",
1260         "CounterHTOff": "0,1,2,3,4,5,6,7"
1261     },
1262     {
1263         "EventCode": "0xC4",
1264         "UMask": "0x1",
1265         "BriefDescription": "Conditional branch instructions retired.",
1266         "PEBS": "1",
1267         "Counter": "0,1,2,3",
1268         "EventName": "BR_INST_RETIRED.CONDITIONAL",
1269         "PublicDescription": "This event counts conditional branch instructions retired.",
1270         "SampleAfterValue": "400009",
1271         "CounterHTOff": "0,1,2,3,4,5,6,7"
1272     },
1273     {
1274         "EventCode": "0xC4",
1275         "UMask": "0x2",
1276         "BriefDescription": "Direct and indirect near call instructions retired.",
1277         "PEBS": "1",
1278         "Counter": "0,1,2,3",
1279         "EventName": "BR_INST_RETIRED.NEAR_CALL",
1280         "PublicDescription": "This event counts both direct and indirect near call instructions retired.",
1281         "SampleAfterValue": "100007",
1282         "CounterHTOff": "0,1,2,3,4,5,6,7"
1283     },
1284     {
1285         "EventCode": "0xC4",
1286         "UMask": "0x2",
1287         "BriefDescription": "Direct and indirect macro near call instructions retired (captured in ring 3).",
1288         "PEBS": "1",
1289         "Counter": "0,1,2,3",
1290         "EventName": "BR_INST_RETIRED.NEAR_CALL_R3",
1291         "PublicDescription": "This event counts both direct and indirect macro near call instructions retired (captured in ring 3).",
1292         "SampleAfterValue": "100007",
1293         "CounterHTOff": "0,1,2,3,4,5,6,7"
1294     },
1295     {
1296         "EventCode": "0xC4",
1297         "UMask": "0x4",
1298         "BriefDescription": "All (macro) branch instructions retired. (Precise Event - PEBS)",
1299         "PEBS": "2",
1300         "Counter": "0,1,2,3",
1301         "EventName": "BR_INST_RETIRED.ALL_BRANCHES_PEBS",
1302         "Errata": "BDW98",
1303         "PublicDescription": "This is a precise version of BR_INST_RETIRED.ALL_BRANCHES that counts all (macro) branch instructions retired.",
1304         "SampleAfterValue": "400009",
1305         "CounterHTOff": "0,1,2,3"
1306     },
1307     {
1308         "EventCode": "0xC4",
1309         "UMask": "0x8",
1310         "BriefDescription": "Return instructions retired.",
1311         "PEBS": "1",
1312         "Counter": "0,1,2,3",
1313         "EventName": "BR_INST_RETIRED.NEAR_RETURN",
1314         "PublicDescription": "This event counts return instructions retired.",
1315         "SampleAfterValue": "100007",
1316         "CounterHTOff": "0,1,2,3,4,5,6,7"
1317     },
1318     {
1319         "EventCode": "0xC4",
1320         "UMask": "0x10",
1321         "BriefDescription": "Not taken branch instructions retired.",
1322         "Counter": "0,1,2,3",
1323         "EventName": "BR_INST_RETIRED.NOT_TAKEN",
1324         "PublicDescription": "This event counts not taken branch instructions retired.",
1325         "SampleAfterValue": "400009",
1326         "CounterHTOff": "0,1,2,3,4,5,6,7"
1327     },
1328     {
1329         "EventCode": "0xC4",
1330         "UMask": "0x20",
1331         "BriefDescription": "Taken branch instructions retired.",
1332         "PEBS": "1",
1333         "Counter": "0,1,2,3",
1334         "EventName": "BR_INST_RETIRED.NEAR_TAKEN",
1335         "PublicDescription": "This event counts taken branch instructions retired.",
1336         "SampleAfterValue": "400009",
1337         "CounterHTOff": "0,1,2,3,4,5,6,7"
1338     },
1339     {
1340         "EventCode": "0xC4",
1341         "UMask": "0x40",
1342         "BriefDescription": "Far branch instructions retired.",
1343         "Counter": "0,1,2,3",
1344         "EventName": "BR_INST_RETIRED.FAR_BRANCH",
1345         "Errata": "BDW98",
1346         "PublicDescription": "This event counts far branch instructions retired.",
1347         "SampleAfterValue": "100007",
1348         "CounterHTOff": "0,1,2,3,4,5,6,7"
1349     },
1350     {
1351         "EventCode": "0xC5",
1352         "UMask": "0x0",
1353         "BriefDescription": "All mispredicted macro branch instructions retired.",
1354         "Counter": "0,1,2,3",
1355         "EventName": "BR_MISP_RETIRED.ALL_BRANCHES",
1356         "PublicDescription": "This event counts all mispredicted macro branch instructions retired.",
1357         "SampleAfterValue": "400009",
1358         "CounterHTOff": "0,1,2,3,4,5,6,7"
1359     },
1360     {
1361         "EventCode": "0xC5",
1362         "UMask": "0x1",
1363         "BriefDescription": "Mispredicted conditional branch instructions retired.",
1364         "PEBS": "1",
1365         "Counter": "0,1,2,3",
1366         "EventName": "BR_MISP_RETIRED.CONDITIONAL",
1367         "PublicDescription": "This event counts mispredicted conditional branch instructions retired.",
1368         "SampleAfterValue": "400009",
1369         "CounterHTOff": "0,1,2,3,4,5,6,7"
1370     },
1371     {
1372         "EventCode": "0xC5",
1373         "UMask": "0x4",
1374         "BriefDescription": "Mispredicted macro branch instructions retired. (Precise Event - PEBS)",
1375         "PEBS": "2",
1376         "Counter": "0,1,2,3",
1377         "EventName": "BR_MISP_RETIRED.ALL_BRANCHES_PEBS",
1378         "PublicDescription": "This is a precise version of BR_MISP_RETIRED.ALL_BRANCHES that counts all mispredicted macro branch instructions retired.",
1379         "SampleAfterValue": "400009",
1380         "CounterHTOff": "0,1,2,3"
1381     },
1382     {
1383         "EventCode": "0xC5",
1384         "UMask": "0x8",
1385         "BriefDescription": "This event counts the number of mispredicted ret instructions retired. Non PEBS",
1386         "PEBS": "1",
1387         "Counter": "0,1,2,3",
1388         "EventName": "BR_MISP_RETIRED.RET",
1389         "PublicDescription": "This event counts mispredicted return instructions retired.",
1390         "SampleAfterValue": "100007",
1391         "CounterHTOff": "0,1,2,3,4,5,6,7"
1392     },
1393     {
1394         "EventCode": "0xC5",
1395         "UMask": "0x20",
1396         "BriefDescription": "number of near branch instructions retired that were mispredicted and taken.",
1397         "PEBS": "1",
1398         "Counter": "0,1,2,3",
1399         "EventName": "BR_MISP_RETIRED.NEAR_TAKEN",
1400         "PublicDescription": "Number of near branch instructions retired that were mispredicted and taken.",
1401         "SampleAfterValue": "400009",
1402         "CounterHTOff": "0,1,2,3,4,5,6,7"
1403     },
1404     {
1405         "EventCode": "0xCC",
1406         "UMask": "0x20",
1407         "BriefDescription": "Count cases of saving new LBR",
1408         "Counter": "0,1,2,3",
1409         "EventName": "ROB_MISC_EVENTS.LBR_INSERTS",
1410         "PublicDescription": "This event counts cases of saving new LBR records by hardware. This assumes proper enabling of LBRs and takes into account LBR filtering done by the LBR_SELECT register.",
1411         "SampleAfterValue": "2000003",
1412         "CounterHTOff": "0,1,2,3,4,5,6,7"
1413     },
1414     {
1415         "EventCode": "0xe6",
1416         "UMask": "0x1f",
1417         "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.",
1418         "Counter": "0,1,2,3",
1419         "EventName": "BACLEARS.ANY",
1420         "SampleAfterValue": "100003",
1421         "CounterHTOff": "0,1,2,3,4,5,6,7"
1422     }