1[
2    {
3        "PEBS": "1",
4        "CollectPEBSRecord": "2",
5        "PublicDescription": "Counts the number of instructions that retire. For instructions that consist of multiple uops, this event counts the retirement of the last uop of the instruction. The counter continues counting during hardware interrupts, traps, and inside interrupt handlers.  This event uses fixed counter 0.",
6        "Counter": "32",
7        "UMask": "0x1",
8        "PEBScounters": "32",
9        "EventName": "INST_RETIRED.ANY",
10        "SampleAfterValue": "2000003",
11        "BriefDescription": "Counts the number of instructions retired. (Fixed event)"
12    },
13    {
14        "CollectPEBSRecord": "2",
15        "PublicDescription": "Counts the number of core cycles while the core is not in a halt state.  The core enters the halt state when it is running the HLT instruction. The core frequency may change from time to time. For this reason this event may have a changing ratio with regards to time.  This event uses fixed counter 1.",
16        "Counter": "33",
17        "UMask": "0x2",
18        "PEBScounters": "33",
19        "EventName": "CPU_CLK_UNHALTED.CORE",
20        "PDIR_COUNTER": "na",
21        "SampleAfterValue": "2000003",
22        "BriefDescription": "Counts the number of unhalted core clock cycles. (Fixed event)"
23    },
24    {
25        "CollectPEBSRecord": "2",
26        "PublicDescription": "Counts the number of reference cycles that the core is not in a halt state. The core enters the halt state when it is running the HLT instruction.  The core frequency may change from time.  This event is not affected by core frequency changes and at a fixed frequency.  This event uses fixed counter 2.",
27        "Counter": "34",
28        "UMask": "0x3",
29        "PEBScounters": "34",
30        "EventName": "CPU_CLK_UNHALTED.REF_TSC",
31        "PDIR_COUNTER": "na",
32        "SampleAfterValue": "2000003",
33        "BriefDescription": "Counts the number of unhalted reference clock cycles at TSC frequency. (Fixed event)"
34    },
35    {
36        "CollectPEBSRecord": "2",
37        "PublicDescription": "Counts the number of core cycles while the core is not in a halt state.  The core enters the halt state when it is running the HLT instruction. The core frequency may change from time to time. For this reason this event may have a changing ratio with regards to time.  This event uses a programmable general purpose performance counter.",
38        "EventCode": "0x3c",
39        "Counter": "0,1,2,3",
40        "PEBScounters": "0,1,2,3",
41        "EventName": "CPU_CLK_UNHALTED.CORE_P",
42        "PDIR_COUNTER": "na",
43        "SampleAfterValue": "2000003",
44        "BriefDescription": "Counts the number of unhalted core clock cycles."
45    },
46    {
47        "CollectPEBSRecord": "2",
48        "PublicDescription": "Counts reference cycles (at TSC frequency) when core is not halted.  This event uses a programmable general purpose perfmon counter.",
49        "EventCode": "0x3c",
50        "Counter": "0,1,2,3",
51        "UMask": "0x1",
52        "PEBScounters": "0,1,2,3",
53        "EventName": "CPU_CLK_UNHALTED.REF",
54        "PDIR_COUNTER": "na",
55        "SampleAfterValue": "2000003",
56        "BriefDescription": "Counts the number of unhalted reference clock cycles at TSC frequency."
57    },
58    {
59        "PEBS": "1",
60        "CollectPEBSRecord": "2",
61        "PublicDescription": "Counts the number of instructions that retire execution. For instructions that consist of multiple uops, this event counts the retirement of the last uop of the instruction. The event continues counting during hardware interrupts, traps, and inside interrupt handlers.  This is an architectural performance event.  This event uses a Programmable general purpose perfmon counter. *This event is Precise Event capable:  The EventingRIP field in the PEBS record is precise to the address of the instruction which caused the event.",
62        "EventCode": "0xc0",
63        "Counter": "0,1,2,3",
64        "PEBScounters": "0,1,2,3",
65        "EventName": "INST_RETIRED.ANY_P",
66        "SampleAfterValue": "2000003",
67        "BriefDescription": "Counts the number of instructions retired."
68    },
69    {
70        "CollectPEBSRecord": "2",
71        "EventCode": "0xc3",
72        "Counter": "0,1,2,3",
73        "PEBScounters": "0,1,2,3",
74        "EventName": "MACHINE_CLEARS.ANY",
75        "PDIR_COUNTER": "na",
76        "SampleAfterValue": "20003",
77        "BriefDescription": "Counts all machine clears due to, but not limited to memory ordering, memory disambiguation, SMC, page faults and FP assist."
78    },
79    {
80        "PEBS": "1",
81        "CollectPEBSRecord": "2",
82        "PublicDescription": "Counts branch instructions retired for all branch types. This event is Precise Event capable. This is an architectural event.",
83        "EventCode": "0xc4",
84        "Counter": "0,1,2,3",
85        "PEBScounters": "0,1,2,3",
86        "EventName": "BR_INST_RETIRED.ALL_BRANCHES",
87        "SampleAfterValue": "200003",
88        "BriefDescription": "Counts the number of branch instructions retired for all branch types."
89    },
90    {
91        "PEBS": "1",
92        "CollectPEBSRecord": "2",
93        "PublicDescription": "Counts mispredicted branch instructions retired for all branch types. This event is Precise Event capable. This is an architectural event.",
94        "EventCode": "0xc5",
95        "Counter": "0,1,2,3",
96        "PEBScounters": "0,1,2,3",
97        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES",
98        "SampleAfterValue": "200003",
99        "BriefDescription": "Counts the number of mispredicted branch instructions retired."
100    },
101    {
102        "CollectPEBSRecord": "2",
103        "EventCode": "0xcd",
104        "Counter": "0,1,2,3",
105        "PEBScounters": "0,1,2,3",
106        "EventName": "CYCLES_DIV_BUSY.ANY",
107        "PDIR_COUNTER": "na",
108        "SampleAfterValue": "2000003",
109        "BriefDescription": "Counts cycles the floating point divider or integer divider or both are busy.  Does not imply a stall waiting for either divider."
110    }
111]