xref: /freebsd/lib/libpmc/pmu-events/arch/x86/amdzen1/core.json (revision 52d973f52c07b94909a6487be373c269988dc151)
1[
2  {
3    "EventName": "ex_ret_instr",
4    "EventCode": "0xc0",
5    "BriefDescription": "Retired Instructions."
6  },
7  {
8    "EventName": "ex_ret_cops",
9    "EventCode": "0xc1",
10    "BriefDescription": "Retired Uops.",
11    "PublicDescription": "The number of uOps retired. This includes all processor activity (instructions, exceptions, interrupts, microcode assists, etc.). The number of events logged per cycle can vary from 0 to 4."
12  },
13  {
14    "EventName": "ex_ret_brn",
15    "EventCode": "0xc2",
16    "BriefDescription": "Retired Branch Instructions.",
17    "PublicDescription": "The number of branch instructions retired. This includes all types of architectural control flow changes, including exceptions and interrupts."
18  },
19  {
20    "EventName": "ex_ret_brn_misp",
21    "EventCode": "0xc3",
22    "BriefDescription": "Retired Branch Instructions Mispredicted.",
23    "PublicDescription": "The number of branch instructions retired, of any type, that were not correctly predicted. This includes those for which prediction is not attempted (far control transfers, exceptions and interrupts)."
24  },
25  {
26    "EventName": "ex_ret_brn_tkn",
27    "EventCode": "0xc4",
28    "BriefDescription": "Retired Taken Branch Instructions.",
29    "PublicDescription": "The number of taken branches that were retired. This includes all types of architectural control flow changes, including exceptions and interrupts."
30  },
31  {
32    "EventName": "ex_ret_brn_tkn_misp",
33    "EventCode": "0xc5",
34    "BriefDescription": "Retired Taken Branch Instructions Mispredicted.",
35    "PublicDescription": "The number of retired taken branch instructions that were mispredicted."
36  },
37  {
38    "EventName": "ex_ret_brn_far",
39    "EventCode": "0xc6",
40    "BriefDescription": "Retired Far Control Transfers.",
41    "PublicDescription": "The number of far control transfers retired including far call/jump/return, IRET, SYSCALL and SYSRET, plus exceptions and interrupts. Far control transfers are not subject to branch prediction."
42  },
43  {
44    "EventName": "ex_ret_brn_resync",
45    "EventCode": "0xc7",
46    "BriefDescription": "Retired Branch Resyncs.",
47    "PublicDescription": "The number of resync branches. These reflect pipeline restarts due to certain microcode assists and events such as writes to the active instruction stream, among other things. Each occurrence reflects a restart penalty similar to a branch mispredict. This is relatively rare."
48  },
49  {
50    "EventName": "ex_ret_near_ret",
51    "EventCode": "0xc8",
52    "BriefDescription": "Retired Near Returns.",
53    "PublicDescription": "The number of near return instructions (RET or RET Iw) retired."
54  },
55  {
56    "EventName": "ex_ret_near_ret_mispred",
57    "EventCode": "0xc9",
58    "BriefDescription": "Retired Near Returns Mispredicted.",
59    "PublicDescription": "The number of near returns retired that were not correctly predicted by the return address predictor. Each such mispredict incurs the same penalty as a mispredicted conditional branch instruction."
60  },
61  {
62    "EventName": "ex_ret_brn_ind_misp",
63    "EventCode": "0xca",
64    "BriefDescription": "Retired Indirect Branch Instructions Mispredicted."
65  },
66  {
67    "EventName": "ex_ret_mmx_fp_instr.sse_instr",
68    "EventCode": "0xcb",
69    "BriefDescription": "SSE instructions (SSE, SSE2, SSE3, SSSE3, SSE4A, SSE41, SSE42, AVX).",
70    "PublicDescription": "The number of MMX, SSE or x87 instructions retired. The UnitMask allows the selection of the individual classes of instructions as given in the table. Each increment represents one complete instruction. Since this event includes non-numeric instructions it is not suitable for measuring MFLOPS. SSE instructions (SSE, SSE2, SSE3, SSSE3, SSE4A, SSE41, SSE42, AVX).",
71    "UMask": "0x04"
72  },
73  {
74    "EventName": "ex_ret_mmx_fp_instr.mmx_instr",
75    "EventCode": "0xcb",
76    "BriefDescription": "MMX instructions.",
77    "PublicDescription": "The number of MMX, SSE or x87 instructions retired. The UnitMask allows the selection of the individual classes of instructions as given in the table. Each increment represents one complete instruction. Since this event includes non-numeric instructions it is not suitable for measuring MFLOPS. MMX instructions.",
78    "UMask": "0x02"
79  },
80  {
81    "EventName": "ex_ret_mmx_fp_instr.x87_instr",
82    "EventCode": "0xcb",
83    "BriefDescription": "x87 instructions.",
84    "PublicDescription": "The number of MMX, SSE or x87 instructions retired. The UnitMask allows the selection of the individual classes of instructions as given in the table. Each increment represents one complete instruction. Since this event includes non-numeric instructions it is not suitable for measuring MFLOPS. x87 instructions.",
85    "UMask": "0x01"
86  },
87  {
88    "EventName": "ex_ret_cond",
89    "EventCode": "0xd1",
90    "BriefDescription": "Retired Conditional Branch Instructions."
91  },
92  {
93    "EventName": "ex_div_busy",
94    "EventCode": "0xd3",
95    "BriefDescription": "Div Cycles Busy count."
96  },
97  {
98    "EventName": "ex_div_count",
99    "EventCode": "0xd4",
100    "BriefDescription": "Div Op Count."
101  },
102  {
103    "EventName": "ex_tagged_ibs_ops.ibs_count_rollover",
104    "EventCode": "0x1cf",
105    "BriefDescription": "Tagged IBS Ops. Number of times an op could not be tagged by IBS because of a previous tagged op that has not retired.",
106    "UMask": "0x04"
107  },
108  {
109    "EventName": "ex_tagged_ibs_ops.ibs_tagged_ops_ret",
110    "EventCode": "0x1cf",
111    "BriefDescription": "Tagged IBS Ops. Number of Ops tagged by IBS that retired.",
112    "UMask": "0x02"
113  },
114  {
115    "EventName": "ex_tagged_ibs_ops.ibs_tagged_ops",
116    "EventCode": "0x1cf",
117    "BriefDescription": "Tagged IBS Ops. Number of Ops tagged by IBS.",
118    "UMask": "0x01"
119  },
120  {
121    "EventName": "ex_ret_fus_brnch_inst",
122    "EventCode": "0x1d0",
123    "BriefDescription": "The number of fused retired branch instructions retired per cycle. The number of events logged per cycle can vary from 0 to 3."
124  }
125]
126