14e411ee4SZhengjun Xing[
24e411ee4SZhengjun Xing    {
34e411ee4SZhengjun Xing        "BriefDescription": "Activate due to read, write, underfill, or bypass",
44e411ee4SZhengjun Xing        "EventCode": "0x02",
54e411ee4SZhengjun Xing        "EventName": "UNC_M_ACT_COUNT.ALL",
64e411ee4SZhengjun Xing        "PerPkg": "1",
7*400dd489SIan Rogers        "PublicDescription": "DRAM Activate Count : Counts the number of DRAM Activate commands sent on this channel.  Activate commands are issued to open up a page on the DRAM devices so that it can be read or written to with a CAS.  One can calculate the number of Page Misses by subtracting the number of Page Miss precharges from the number of Activates.",
8*400dd489SIan Rogers        "UMask": "0xff",
94e411ee4SZhengjun Xing        "Unit": "iMC"
104e411ee4SZhengjun Xing    },
114e411ee4SZhengjun Xing    {
124e411ee4SZhengjun Xing        "BriefDescription": "All DRAM CAS commands issued",
134e411ee4SZhengjun Xing        "EventCode": "0x05",
144e411ee4SZhengjun Xing        "EventName": "UNC_M_CAS_COUNT.ALL",
154e411ee4SZhengjun Xing        "PerPkg": "1",
16*400dd489SIan Rogers        "PublicDescription": "DRAM RD_CAS and WR_CAS Commands. : All DRAM Read and Write actions : DRAM RD_CAS and WR_CAS Commands : Counts the total number of DRAM CAS commands issued on this channel.",
17*400dd489SIan Rogers        "UMask": "0xff",
184e411ee4SZhengjun Xing        "Unit": "iMC"
194e411ee4SZhengjun Xing    },
204e411ee4SZhengjun Xing    {
214e411ee4SZhengjun Xing        "BriefDescription": "DRAM RD_CAS and WR_CAS Commands. : Pseudo Channel 0",
224e411ee4SZhengjun Xing        "EventCode": "0x05",
234e411ee4SZhengjun Xing        "EventName": "UNC_M_CAS_COUNT.PCH0",
244e411ee4SZhengjun Xing        "PerPkg": "1",
25*400dd489SIan Rogers        "PublicDescription": "DRAM RD_CAS and WR_CAS Commands. : Pseudo Channel 0 : DRAM RD_CAS and WR_CAS Commands",
26*400dd489SIan Rogers        "UMask": "0x40",
274e411ee4SZhengjun Xing        "Unit": "iMC"
284e411ee4SZhengjun Xing    },
294e411ee4SZhengjun Xing    {
304e411ee4SZhengjun Xing        "BriefDescription": "DRAM RD_CAS and WR_CAS Commands. : Pseudo Channel 1",
314e411ee4SZhengjun Xing        "EventCode": "0x05",
324e411ee4SZhengjun Xing        "EventName": "UNC_M_CAS_COUNT.PCH1",
334e411ee4SZhengjun Xing        "PerPkg": "1",
34*400dd489SIan Rogers        "PublicDescription": "DRAM RD_CAS and WR_CAS Commands. : Pseudo Channel 1 : DRAM RD_CAS and WR_CAS Commands",
35*400dd489SIan Rogers        "UMask": "0x80",
36*400dd489SIan Rogers        "Unit": "iMC"
37*400dd489SIan Rogers    },
38*400dd489SIan Rogers    {
39*400dd489SIan Rogers        "BriefDescription": "All DRAM read CAS commands issued (including underfills)",
40*400dd489SIan Rogers        "EventCode": "0x05",
41*400dd489SIan Rogers        "EventName": "UNC_M_CAS_COUNT.RD",
42*400dd489SIan Rogers        "PerPkg": "1",
43*400dd489SIan Rogers        "PublicDescription": "DRAM RD_CAS and WR_CAS Commands : Counts the total number of DRAM Read CAS commands issued on this channel.  This includes underfills.",
44*400dd489SIan Rogers        "UMask": "0xcf",
45*400dd489SIan Rogers        "Unit": "iMC"
46*400dd489SIan Rogers    },
47*400dd489SIan Rogers    {
48*400dd489SIan Rogers        "BriefDescription": "DRAM RD_CAS and WR_CAS Commands.",
49*400dd489SIan Rogers        "EventCode": "0x05",
50*400dd489SIan Rogers        "EventName": "UNC_M_CAS_COUNT.RD_PRE_REG",
51*400dd489SIan Rogers        "PerPkg": "1",
52*400dd489SIan Rogers        "PublicDescription": "DRAM RD_CAS and WR_CAS Commands. : DRAM RD_CAS and WR_CAS Commands",
53*400dd489SIan Rogers        "UMask": "0xc2",
54*400dd489SIan Rogers        "Unit": "iMC"
55*400dd489SIan Rogers    },
56*400dd489SIan Rogers    {
57*400dd489SIan Rogers        "BriefDescription": "DRAM RD_CAS and WR_CAS Commands.",
58*400dd489SIan Rogers        "EventCode": "0x05",
59*400dd489SIan Rogers        "EventName": "UNC_M_CAS_COUNT.RD_PRE_UNDERFILL",
60*400dd489SIan Rogers        "PerPkg": "1",
61*400dd489SIan Rogers        "PublicDescription": "DRAM RD_CAS and WR_CAS Commands. : DRAM RD_CAS and WR_CAS Commands",
62*400dd489SIan Rogers        "UMask": "0xc8",
63*400dd489SIan Rogers        "Unit": "iMC"
64*400dd489SIan Rogers    },
65*400dd489SIan Rogers    {
66*400dd489SIan Rogers        "BriefDescription": "All DRAM read CAS commands issued (does not include underfills)",
67*400dd489SIan Rogers        "EventCode": "0x05",
68*400dd489SIan Rogers        "EventName": "UNC_M_CAS_COUNT.RD_REG",
69*400dd489SIan Rogers        "PerPkg": "1",
70*400dd489SIan Rogers        "PublicDescription": "DRAM RD_CAS and WR_CAS Commands. : DRAM RD_CAS commands w/out auto-pre : DRAM RD_CAS and WR_CAS Commands : Counts the total number or DRAM Read CAS commands issued on this channel.  This includes both regular RD CAS commands as well as those with implicit Precharge.   We do not filter based on major mode, as RD_CAS is not issued during WMM (with the exception of underfills).",
71*400dd489SIan Rogers        "UMask": "0xc1",
72*400dd489SIan Rogers        "Unit": "iMC"
73*400dd489SIan Rogers    },
74*400dd489SIan Rogers    {
75*400dd489SIan Rogers        "BriefDescription": "DRAM underfill read CAS commands issued",
76*400dd489SIan Rogers        "EventCode": "0x05",
77*400dd489SIan Rogers        "EventName": "UNC_M_CAS_COUNT.RD_UNDERFILL",
78*400dd489SIan Rogers        "PerPkg": "1",
79*400dd489SIan Rogers        "PublicDescription": "DRAM RD_CAS and WR_CAS Commands. : Underfill Read Issued : DRAM RD_CAS and WR_CAS Commands",
80*400dd489SIan Rogers        "UMask": "0xc4",
81*400dd489SIan Rogers        "Unit": "iMC"
82*400dd489SIan Rogers    },
83*400dd489SIan Rogers    {
84*400dd489SIan Rogers        "BriefDescription": "All DRAM write CAS commands issued",
85*400dd489SIan Rogers        "EventCode": "0x05",
86*400dd489SIan Rogers        "EventName": "UNC_M_CAS_COUNT.WR",
87*400dd489SIan Rogers        "PerPkg": "1",
88*400dd489SIan Rogers        "PublicDescription": "DRAM RD_CAS and WR_CAS Commands : Counts the total number of DRAM Write CAS commands issued on this channel.",
89*400dd489SIan Rogers        "UMask": "0xf0",
90*400dd489SIan Rogers        "Unit": "iMC"
91*400dd489SIan Rogers    },
92*400dd489SIan Rogers    {
93*400dd489SIan Rogers        "BriefDescription": "DRAM RD_CAS and WR_CAS Commands. : DRAM WR_CAS commands w/o auto-pre",
94*400dd489SIan Rogers        "EventCode": "0x05",
95*400dd489SIan Rogers        "EventName": "UNC_M_CAS_COUNT.WR_NONPRE",
96*400dd489SIan Rogers        "PerPkg": "1",
97*400dd489SIan Rogers        "PublicDescription": "DRAM RD_CAS and WR_CAS Commands. : DRAM WR_CAS commands w/o auto-pre : DRAM RD_CAS and WR_CAS Commands",
98*400dd489SIan Rogers        "UMask": "0xd0",
99*400dd489SIan Rogers        "Unit": "iMC"
100*400dd489SIan Rogers    },
101*400dd489SIan Rogers    {
102*400dd489SIan Rogers        "BriefDescription": "DRAM RD_CAS and WR_CAS Commands.",
103*400dd489SIan Rogers        "EventCode": "0x05",
104*400dd489SIan Rogers        "EventName": "UNC_M_CAS_COUNT.WR_PRE",
105*400dd489SIan Rogers        "PerPkg": "1",
106*400dd489SIan Rogers        "PublicDescription": "DRAM RD_CAS and WR_CAS Commands. : DRAM RD_CAS and WR_CAS Commands",
107*400dd489SIan Rogers        "UMask": "0xe0",
108*400dd489SIan Rogers        "Unit": "iMC"
109*400dd489SIan Rogers    },
110*400dd489SIan Rogers    {
111*400dd489SIan Rogers        "BriefDescription": "IMC Clockticks at DCLK frequency",
112*400dd489SIan Rogers        "EventCode": "0x01",
113*400dd489SIan Rogers        "EventName": "UNC_M_CLOCKTICKS",
114*400dd489SIan Rogers        "PerPkg": "1",
115*400dd489SIan Rogers        "PublicDescription": "Number of DRAM DCLK clock cycles while the event is enabled",
116*400dd489SIan Rogers        "UMask": "0x1",
117*400dd489SIan Rogers        "Unit": "iMC"
118*400dd489SIan Rogers    },
119*400dd489SIan Rogers    {
120*400dd489SIan Rogers        "BriefDescription": "IMC Clockticks at HCLK frequency",
121*400dd489SIan Rogers        "EventCode": "0x01",
122*400dd489SIan Rogers        "EventName": "UNC_M_HCLOCKTICKS",
123*400dd489SIan Rogers        "PerPkg": "1",
124*400dd489SIan Rogers        "PublicDescription": "Number of DRAM HCLK clock cycles while the event is enabled",
125*400dd489SIan Rogers        "Unit": "iMC"
126*400dd489SIan Rogers    },
127*400dd489SIan Rogers    {
128*400dd489SIan Rogers        "BriefDescription": "PMM Read Pending Queue inserts",
129*400dd489SIan Rogers        "EventCode": "0xe3",
130*400dd489SIan Rogers        "EventName": "UNC_M_PMM_RPQ_INSERTS",
131*400dd489SIan Rogers        "PerPkg": "1",
132*400dd489SIan Rogers        "PublicDescription": "Counts number of read requests allocated in the PMM Read Pending Queue.",
133*400dd489SIan Rogers        "Unit": "iMC"
134*400dd489SIan Rogers    },
135*400dd489SIan Rogers    {
136*400dd489SIan Rogers        "BriefDescription": "PMM Read Pending Queue occupancy",
137*400dd489SIan Rogers        "EventCode": "0xe0",
138*400dd489SIan Rogers        "EventName": "UNC_M_PMM_RPQ_OCCUPANCY.ALL_SCH0",
139*400dd489SIan Rogers        "PerPkg": "1",
140*400dd489SIan Rogers        "PublicDescription": "Accumulates the per cycle occupancy of the PMM Read Pending Queue.",
141*400dd489SIan Rogers        "UMask": "0x1",
142*400dd489SIan Rogers        "Unit": "iMC"
143*400dd489SIan Rogers    },
144*400dd489SIan Rogers    {
145*400dd489SIan Rogers        "BriefDescription": "PMM Read Pending Queue occupancy",
146*400dd489SIan Rogers        "EventCode": "0xe0",
147*400dd489SIan Rogers        "EventName": "UNC_M_PMM_RPQ_OCCUPANCY.ALL_SCH1",
148*400dd489SIan Rogers        "PerPkg": "1",
149*400dd489SIan Rogers        "PublicDescription": "Accumulates the per cycle occupancy of the PMM Read Pending Queue.",
150*400dd489SIan Rogers        "UMask": "0x2",
1514e411ee4SZhengjun Xing        "Unit": "iMC"
1524e411ee4SZhengjun Xing    },
1534e411ee4SZhengjun Xing    {
1544e411ee4SZhengjun Xing        "BriefDescription": "PMM Read Pending Queue Occupancy",
1554e411ee4SZhengjun Xing        "EventCode": "0xE0",
1564e411ee4SZhengjun Xing        "EventName": "UNC_M_PMM_RPQ_OCCUPANCY.GNT_WAIT_SCH0",
1574e411ee4SZhengjun Xing        "PerPkg": "1",
158*400dd489SIan Rogers        "PublicDescription": "PMM Read Pending Queue Occupancy : Accumulates the per cycle occupancy of the PMM Read Pending Queue.",
159*400dd489SIan Rogers        "UMask": "0x10",
1604e411ee4SZhengjun Xing        "Unit": "iMC"
1614e411ee4SZhengjun Xing    },
1624e411ee4SZhengjun Xing    {
1634e411ee4SZhengjun Xing        "BriefDescription": "PMM Read Pending Queue Occupancy",
1644e411ee4SZhengjun Xing        "EventCode": "0xE0",
1654e411ee4SZhengjun Xing        "EventName": "UNC_M_PMM_RPQ_OCCUPANCY.GNT_WAIT_SCH1",
1664e411ee4SZhengjun Xing        "PerPkg": "1",
167*400dd489SIan Rogers        "PublicDescription": "PMM Read Pending Queue Occupancy : Accumulates the per cycle occupancy of the PMM Read Pending Queue.",
168*400dd489SIan Rogers        "UMask": "0x20",
169*400dd489SIan Rogers        "Unit": "iMC"
170*400dd489SIan Rogers    },
171*400dd489SIan Rogers    {
172*400dd489SIan Rogers        "BriefDescription": "PMM Read Pending Queue Occupancy",
173*400dd489SIan Rogers        "EventCode": "0xe0",
174*400dd489SIan Rogers        "EventName": "UNC_M_PMM_RPQ_OCCUPANCY.NO_GNT_SCH0",
175*400dd489SIan Rogers        "PerPkg": "1",
176*400dd489SIan Rogers        "PublicDescription": "Accumulates the per cycle occupancy of the PMM Read Pending Queue.",
177*400dd489SIan Rogers        "UMask": "0x4",
178*400dd489SIan Rogers        "Unit": "iMC"
179*400dd489SIan Rogers    },
180*400dd489SIan Rogers    {
181*400dd489SIan Rogers        "BriefDescription": "PMM Read Pending Queue Occupancy",
182*400dd489SIan Rogers        "EventCode": "0xe0",
183*400dd489SIan Rogers        "EventName": "UNC_M_PMM_RPQ_OCCUPANCY.NO_GNT_SCH1",
184*400dd489SIan Rogers        "PerPkg": "1",
185*400dd489SIan Rogers        "PublicDescription": "Accumulates the per cycle occupancy of the PMM Read Pending Queue.",
186*400dd489SIan Rogers        "UMask": "0x8",
187*400dd489SIan Rogers        "Unit": "iMC"
188*400dd489SIan Rogers    },
189*400dd489SIan Rogers    {
190*400dd489SIan Rogers        "BriefDescription": "PMM Write Pending Queue inserts",
191*400dd489SIan Rogers        "EventCode": "0xe7",
192*400dd489SIan Rogers        "EventName": "UNC_M_PMM_WPQ_INSERTS",
193*400dd489SIan Rogers        "PerPkg": "1",
194*400dd489SIan Rogers        "PublicDescription": "Counts number of  write requests allocated in the PMM Write Pending Queue.",
195*400dd489SIan Rogers        "Unit": "iMC"
196*400dd489SIan Rogers    },
197*400dd489SIan Rogers    {
198*400dd489SIan Rogers        "BriefDescription": "PMM Write Pending Queue Occupancy",
199*400dd489SIan Rogers        "EventCode": "0xe4",
200*400dd489SIan Rogers        "EventName": "UNC_M_PMM_WPQ_OCCUPANCY.ALL",
201*400dd489SIan Rogers        "PerPkg": "1",
202*400dd489SIan Rogers        "PublicDescription": "PMM Write Pending Queue Occupancy : Accumulates the per cycle occupancy of the Write Pending Queue to the PMM DIMM.",
203*400dd489SIan Rogers        "UMask": "0x3",
204*400dd489SIan Rogers        "Unit": "iMC"
205*400dd489SIan Rogers    },
206*400dd489SIan Rogers    {
207*400dd489SIan Rogers        "BriefDescription": "PMM Write Pending Queue Occupancy",
208*400dd489SIan Rogers        "EventCode": "0xE4",
209*400dd489SIan Rogers        "EventName": "UNC_M_PMM_WPQ_OCCUPANCY.ALL_SCH0",
210*400dd489SIan Rogers        "PerPkg": "1",
211*400dd489SIan Rogers        "PublicDescription": "PMM Write Pending Queue Occupancy : Accumulates the per cycle occupancy of the PMM Write Pending Queue.",
212*400dd489SIan Rogers        "UMask": "0x1",
213*400dd489SIan Rogers        "Unit": "iMC"
214*400dd489SIan Rogers    },
215*400dd489SIan Rogers    {
216*400dd489SIan Rogers        "BriefDescription": "PMM Write Pending Queue Occupancy",
217*400dd489SIan Rogers        "EventCode": "0xE4",
218*400dd489SIan Rogers        "EventName": "UNC_M_PMM_WPQ_OCCUPANCY.ALL_SCH1",
219*400dd489SIan Rogers        "PerPkg": "1",
220*400dd489SIan Rogers        "PublicDescription": "PMM Write Pending Queue Occupancy : Accumulates the per cycle occupancy of the PMM Write Pending Queue.",
221*400dd489SIan Rogers        "UMask": "0x2",
222*400dd489SIan Rogers        "Unit": "iMC"
223*400dd489SIan Rogers    },
224*400dd489SIan Rogers    {
225*400dd489SIan Rogers        "BriefDescription": "Channel PPD Cycles",
226*400dd489SIan Rogers        "EventCode": "0x85",
227*400dd489SIan Rogers        "EventName": "UNC_M_POWER_CHANNEL_PPD",
228*400dd489SIan Rogers        "PerPkg": "1",
229*400dd489SIan Rogers        "PublicDescription": "Channel PPD Cycles : Number of cycles when all the ranks in the channel are in PPD mode.  If IBT=off is enabled, then this can be used to count those cycles.  If it is not enabled, then this can count the number of cycles when that could have been taken advantage of.",
230*400dd489SIan Rogers        "Unit": "iMC"
231*400dd489SIan Rogers    },
232*400dd489SIan Rogers    {
233*400dd489SIan Rogers        "BriefDescription": "CKE_ON_CYCLES by Rank : DIMM ID",
234*400dd489SIan Rogers        "EventCode": "0x47",
235*400dd489SIan Rogers        "EventName": "UNC_M_POWER_CKE_CYCLES.LOW_0",
236*400dd489SIan Rogers        "PerPkg": "1",
237*400dd489SIan Rogers        "PublicDescription": "CKE_ON_CYCLES by Rank : DIMM ID : Number of cycles spent in CKE ON mode.  The filter allows you to select a rank to monitor.  If multiple ranks are in CKE ON mode at one time, the counter will ONLY increment by one rather than doing accumulation.  Multiple counters will need to be used to track multiple ranks simultaneously.  There is no distinction between the different CKE modes (APD, PPDS, PPDF).  This can be determined based on the system programming.  These events should commonly be used with Invert to get the number of cycles in power saving mode.  Edge Detect is also useful here.  Make sure that you do NOT use Invert with Edge Detect (this just confuses the system and is not necessary).",
238*400dd489SIan Rogers        "UMask": "0x1",
239*400dd489SIan Rogers        "Unit": "iMC"
240*400dd489SIan Rogers    },
241*400dd489SIan Rogers    {
242*400dd489SIan Rogers        "BriefDescription": "CKE_ON_CYCLES by Rank : DIMM ID",
243*400dd489SIan Rogers        "EventCode": "0x47",
244*400dd489SIan Rogers        "EventName": "UNC_M_POWER_CKE_CYCLES.LOW_1",
245*400dd489SIan Rogers        "PerPkg": "1",
246*400dd489SIan Rogers        "PublicDescription": "CKE_ON_CYCLES by Rank : DIMM ID : Number of cycles spent in CKE ON mode.  The filter allows you to select a rank to monitor.  If multiple ranks are in CKE ON mode at one time, the counter will ONLY increment by one rather than doing accumulation.  Multiple counters will need to be used to track multiple ranks simultaneously.  There is no distinction between the different CKE modes (APD, PPDS, PPDF).  This can be determined based on the system programming.  These events should commonly be used with Invert to get the number of cycles in power saving mode.  Edge Detect is also useful here.  Make sure that you do NOT use Invert with Edge Detect (this just confuses the system and is not necessary).",
247*400dd489SIan Rogers        "UMask": "0x2",
248*400dd489SIan Rogers        "Unit": "iMC"
249*400dd489SIan Rogers    },
250*400dd489SIan Rogers    {
251*400dd489SIan Rogers        "BriefDescription": "CKE_ON_CYCLES by Rank : DIMM ID",
252*400dd489SIan Rogers        "EventCode": "0x47",
253*400dd489SIan Rogers        "EventName": "UNC_M_POWER_CKE_CYCLES.LOW_2",
254*400dd489SIan Rogers        "PerPkg": "1",
255*400dd489SIan Rogers        "PublicDescription": "CKE_ON_CYCLES by Rank : DIMM ID : Number of cycles spent in CKE ON mode.  The filter allows you to select a rank to monitor.  If multiple ranks are in CKE ON mode at one time, the counter will ONLY increment by one rather than doing accumulation.  Multiple counters will need to be used to track multiple ranks simultaneously.  There is no distinction between the different CKE modes (APD, PPDS, PPDF).  This can be determined based on the system programming.  These events should commonly be used with Invert to get the number of cycles in power saving mode.  Edge Detect is also useful here.  Make sure that you do NOT use Invert with Edge Detect (this just confuses the system and is not necessary).",
256*400dd489SIan Rogers        "UMask": "0x4",
257*400dd489SIan Rogers        "Unit": "iMC"
258*400dd489SIan Rogers    },
259*400dd489SIan Rogers    {
260*400dd489SIan Rogers        "BriefDescription": "CKE_ON_CYCLES by Rank : DIMM ID",
261*400dd489SIan Rogers        "EventCode": "0x47",
262*400dd489SIan Rogers        "EventName": "UNC_M_POWER_CKE_CYCLES.LOW_3",
263*400dd489SIan Rogers        "PerPkg": "1",
264*400dd489SIan Rogers        "PublicDescription": "CKE_ON_CYCLES by Rank : DIMM ID : Number of cycles spent in CKE ON mode.  The filter allows you to select a rank to monitor.  If multiple ranks are in CKE ON mode at one time, the counter will ONLY increment by one rather than doing accumulation.  Multiple counters will need to be used to track multiple ranks simultaneously.  There is no distinction between the different CKE modes (APD, PPDS, PPDF).  This can be determined based on the system programming.  These events should commonly be used with Invert to get the number of cycles in power saving mode.  Edge Detect is also useful here.  Make sure that you do NOT use Invert with Edge Detect (this just confuses the system and is not necessary).",
265*400dd489SIan Rogers        "UMask": "0x8",
266*400dd489SIan Rogers        "Unit": "iMC"
267*400dd489SIan Rogers    },
268*400dd489SIan Rogers    {
269*400dd489SIan Rogers        "BriefDescription": "Clock-Enabled Self-Refresh",
270*400dd489SIan Rogers        "EventCode": "0x43",
271*400dd489SIan Rogers        "EventName": "UNC_M_POWER_SELF_REFRESH",
272*400dd489SIan Rogers        "PerPkg": "1",
273*400dd489SIan Rogers        "PublicDescription": "Clock-Enabled Self-Refresh : Counts the number of cycles when the iMC is in self-refresh and the iMC still has a clock.  This happens in some package C-states.  For example, the PCU may ask the iMC to enter self-refresh even though some of the cores are still processing.  One use of this is for Monroe technology.  Self-refresh is required during package C3 and C6, but there is no clock in the iMC at this time, so it is not possible to count these cases.",
274*400dd489SIan Rogers        "Unit": "iMC"
275*400dd489SIan Rogers    },
276*400dd489SIan Rogers    {
277*400dd489SIan Rogers        "BriefDescription": "Precharge due to read, write, underfill, or PGT.",
278*400dd489SIan Rogers        "EventCode": "0x03",
279*400dd489SIan Rogers        "EventName": "UNC_M_PRE_COUNT.ALL",
280*400dd489SIan Rogers        "PerPkg": "1",
281*400dd489SIan Rogers        "PublicDescription": "DRAM Precharge commands. : Counts the number of DRAM Precharge commands sent on this channel.",
282*400dd489SIan Rogers        "UMask": "0xff",
283*400dd489SIan Rogers        "Unit": "iMC"
284*400dd489SIan Rogers    },
285*400dd489SIan Rogers    {
286*400dd489SIan Rogers        "BriefDescription": "DRAM Precharge commands. : Precharge due to (?)",
287*400dd489SIan Rogers        "EventCode": "0x03",
288*400dd489SIan Rogers        "EventName": "UNC_M_PRE_COUNT.PGT",
289*400dd489SIan Rogers        "PerPkg": "1",
290*400dd489SIan Rogers        "PublicDescription": "DRAM Precharge commands. : Precharge due to (?) : Counts the number of DRAM Precharge commands sent on this channel.",
291*400dd489SIan Rogers        "UMask": "0x88",
292*400dd489SIan Rogers        "Unit": "iMC"
293*400dd489SIan Rogers    },
294*400dd489SIan Rogers    {
295*400dd489SIan Rogers        "BriefDescription": "DRAM Precharge commands. : Prechages from Page Table",
296*400dd489SIan Rogers        "EventCode": "0x03",
297*400dd489SIan Rogers        "EventName": "UNC_M_PRE_COUNT.PGT_PCH0",
298*400dd489SIan Rogers        "PerPkg": "1",
299*400dd489SIan Rogers        "PublicDescription": "DRAM Precharge commands. : Prechages from Page Table : Counts the number of DRAM Precharge commands sent on this channel. : Equivalent to PAGE_EMPTY",
300*400dd489SIan Rogers        "UMask": "0x8",
301*400dd489SIan Rogers        "Unit": "iMC"
302*400dd489SIan Rogers    },
303*400dd489SIan Rogers    {
304*400dd489SIan Rogers        "BriefDescription": "DRAM Precharge commands.",
305*400dd489SIan Rogers        "EventCode": "0x03",
306*400dd489SIan Rogers        "EventName": "UNC_M_PRE_COUNT.PGT_PCH1",
307*400dd489SIan Rogers        "PerPkg": "1",
308*400dd489SIan Rogers        "PublicDescription": "DRAM Precharge commands. : Counts the number of DRAM Precharge commands sent on this channel.",
309*400dd489SIan Rogers        "UMask": "0x80",
310*400dd489SIan Rogers        "Unit": "iMC"
311*400dd489SIan Rogers    },
312*400dd489SIan Rogers    {
313*400dd489SIan Rogers        "BriefDescription": "Precharge due to read on page miss",
314*400dd489SIan Rogers        "EventCode": "0x03",
315*400dd489SIan Rogers        "EventName": "UNC_M_PRE_COUNT.RD",
316*400dd489SIan Rogers        "PerPkg": "1",
317*400dd489SIan Rogers        "PublicDescription": "DRAM Precharge commands. : Counts the number of DRAM Precharge commands sent on this channel.",
318*400dd489SIan Rogers        "UMask": "0x11",
319*400dd489SIan Rogers        "Unit": "iMC"
320*400dd489SIan Rogers    },
321*400dd489SIan Rogers    {
322*400dd489SIan Rogers        "BriefDescription": "DRAM Precharge commands. : Precharge due to read",
323*400dd489SIan Rogers        "EventCode": "0x03",
324*400dd489SIan Rogers        "EventName": "UNC_M_PRE_COUNT.RD_PCH0",
325*400dd489SIan Rogers        "PerPkg": "1",
326*400dd489SIan Rogers        "PublicDescription": "DRAM Precharge commands. : Precharge due to read : Counts the number of DRAM Precharge commands sent on this channel. : Precharge from read bank scheduler",
327*400dd489SIan Rogers        "UMask": "0x1",
328*400dd489SIan Rogers        "Unit": "iMC"
329*400dd489SIan Rogers    },
330*400dd489SIan Rogers    {
331*400dd489SIan Rogers        "BriefDescription": "DRAM Precharge commands.",
332*400dd489SIan Rogers        "EventCode": "0x03",
333*400dd489SIan Rogers        "EventName": "UNC_M_PRE_COUNT.RD_PCH1",
334*400dd489SIan Rogers        "PerPkg": "1",
335*400dd489SIan Rogers        "PublicDescription": "DRAM Precharge commands. : Counts the number of DRAM Precharge commands sent on this channel.",
336*400dd489SIan Rogers        "UMask": "0x10",
337*400dd489SIan Rogers        "Unit": "iMC"
338*400dd489SIan Rogers    },
339*400dd489SIan Rogers    {
340*400dd489SIan Rogers        "BriefDescription": "DRAM Precharge commands.",
341*400dd489SIan Rogers        "EventCode": "0x03",
342*400dd489SIan Rogers        "EventName": "UNC_M_PRE_COUNT.UFILL",
343*400dd489SIan Rogers        "PerPkg": "1",
344*400dd489SIan Rogers        "PublicDescription": "DRAM Precharge commands. : Counts the number of DRAM Precharge commands sent on this channel.",
345*400dd489SIan Rogers        "UMask": "0x44",
346*400dd489SIan Rogers        "Unit": "iMC"
347*400dd489SIan Rogers    },
348*400dd489SIan Rogers    {
349*400dd489SIan Rogers        "BriefDescription": "DRAM Precharge commands.",
350*400dd489SIan Rogers        "EventCode": "0x03",
351*400dd489SIan Rogers        "EventName": "UNC_M_PRE_COUNT.UFILL_PCH0",
352*400dd489SIan Rogers        "PerPkg": "1",
353*400dd489SIan Rogers        "PublicDescription": "DRAM Precharge commands. : Counts the number of DRAM Precharge commands sent on this channel.",
354*400dd489SIan Rogers        "UMask": "0x4",
355*400dd489SIan Rogers        "Unit": "iMC"
356*400dd489SIan Rogers    },
357*400dd489SIan Rogers    {
358*400dd489SIan Rogers        "BriefDescription": "DRAM Precharge commands.",
359*400dd489SIan Rogers        "EventCode": "0x03",
360*400dd489SIan Rogers        "EventName": "UNC_M_PRE_COUNT.UFILL_PCH1",
361*400dd489SIan Rogers        "PerPkg": "1",
362*400dd489SIan Rogers        "PublicDescription": "DRAM Precharge commands. : Counts the number of DRAM Precharge commands sent on this channel.",
363*400dd489SIan Rogers        "UMask": "0x40",
364*400dd489SIan Rogers        "Unit": "iMC"
365*400dd489SIan Rogers    },
366*400dd489SIan Rogers    {
367*400dd489SIan Rogers        "BriefDescription": "Precharge due to write on page miss",
368*400dd489SIan Rogers        "EventCode": "0x03",
369*400dd489SIan Rogers        "EventName": "UNC_M_PRE_COUNT.WR",
370*400dd489SIan Rogers        "PerPkg": "1",
371*400dd489SIan Rogers        "PublicDescription": "DRAM Precharge commands. : Counts the number of DRAM Precharge commands sent on this channel.",
372*400dd489SIan Rogers        "UMask": "0x22",
373*400dd489SIan Rogers        "Unit": "iMC"
374*400dd489SIan Rogers    },
375*400dd489SIan Rogers    {
376*400dd489SIan Rogers        "BriefDescription": "DRAM Precharge commands. : Precharge due to write",
377*400dd489SIan Rogers        "EventCode": "0x03",
378*400dd489SIan Rogers        "EventName": "UNC_M_PRE_COUNT.WR_PCH0",
379*400dd489SIan Rogers        "PerPkg": "1",
380*400dd489SIan Rogers        "PublicDescription": "DRAM Precharge commands. : Precharge due to write : Counts the number of DRAM Precharge commands sent on this channel. : Precharge from write bank scheduler",
381*400dd489SIan Rogers        "UMask": "0x2",
382*400dd489SIan Rogers        "Unit": "iMC"
383*400dd489SIan Rogers    },
384*400dd489SIan Rogers    {
385*400dd489SIan Rogers        "BriefDescription": "DRAM Precharge commands.",
386*400dd489SIan Rogers        "EventCode": "0x03",
387*400dd489SIan Rogers        "EventName": "UNC_M_PRE_COUNT.WR_PCH1",
388*400dd489SIan Rogers        "PerPkg": "1",
389*400dd489SIan Rogers        "PublicDescription": "DRAM Precharge commands. : Counts the number of DRAM Precharge commands sent on this channel.",
390*400dd489SIan Rogers        "UMask": "0x20",
391*400dd489SIan Rogers        "Unit": "iMC"
392*400dd489SIan Rogers    },
393*400dd489SIan Rogers    {
394*400dd489SIan Rogers        "BriefDescription": "Read Pending Queue Allocations",
395*400dd489SIan Rogers        "EventCode": "0x10",
396*400dd489SIan Rogers        "EventName": "UNC_M_RPQ_INSERTS.PCH0",
397*400dd489SIan Rogers        "PerPkg": "1",
398*400dd489SIan Rogers        "PublicDescription": "Read Pending Queue Allocations : Counts the number of allocations into the Read Pending Queue.  This queue is used to schedule reads out to the memory controller and to track the requests.  Requests allocate into the RPQ soon after they enter the memory controller, and need credits for an entry in this buffer before being sent from the HA to the iMC.  They deallocate after the CAS command has been issued to memory.  This includes both ISOCH and non-ISOCH requests.",
399*400dd489SIan Rogers        "UMask": "0x1",
400*400dd489SIan Rogers        "Unit": "iMC"
401*400dd489SIan Rogers    },
402*400dd489SIan Rogers    {
403*400dd489SIan Rogers        "BriefDescription": "Read Pending Queue Allocations",
404*400dd489SIan Rogers        "EventCode": "0x10",
405*400dd489SIan Rogers        "EventName": "UNC_M_RPQ_INSERTS.PCH1",
406*400dd489SIan Rogers        "PerPkg": "1",
407*400dd489SIan Rogers        "PublicDescription": "Read Pending Queue Allocations : Counts the number of allocations into the Read Pending Queue.  This queue is used to schedule reads out to the memory controller and to track the requests.  Requests allocate into the RPQ soon after they enter the memory controller, and need credits for an entry in this buffer before being sent from the HA to the iMC.  They deallocate after the CAS command has been issued to memory.  This includes both ISOCH and non-ISOCH requests.",
408*400dd489SIan Rogers        "UMask": "0x2",
409*400dd489SIan Rogers        "Unit": "iMC"
410*400dd489SIan Rogers    },
411*400dd489SIan Rogers    {
412*400dd489SIan Rogers        "BriefDescription": "Read Pending Queue Occupancy",
413*400dd489SIan Rogers        "EventCode": "0x80",
414*400dd489SIan Rogers        "EventName": "UNC_M_RPQ_OCCUPANCY_PCH0",
415*400dd489SIan Rogers        "PerPkg": "1",
416*400dd489SIan Rogers        "PublicDescription": "Read Pending Queue Occupancy : Accumulates the occupancies of the Read Pending Queue each cycle.  This can then be used to calculate both the average occupancy (in conjunction with the number of cycles not empty) and the average latency (in conjunction with the number of allocations).  The RPQ is used to schedule reads out to the memory controller and to track the requests.  Requests allocate into the RPQ soon after they enter the memory controller, and need credits for an entry in this buffer before being sent from the HA to the iMC. They deallocate after the CAS command has been issued to memory.",
417*400dd489SIan Rogers        "Unit": "iMC"
418*400dd489SIan Rogers    },
419*400dd489SIan Rogers    {
420*400dd489SIan Rogers        "BriefDescription": "Read Pending Queue Occupancy",
421*400dd489SIan Rogers        "EventCode": "0x81",
422*400dd489SIan Rogers        "EventName": "UNC_M_RPQ_OCCUPANCY_PCH1",
423*400dd489SIan Rogers        "PerPkg": "1",
424*400dd489SIan Rogers        "PublicDescription": "Read Pending Queue Occupancy : Accumulates the occupancies of the Read Pending Queue each cycle.  This can then be used to calculate both the average occupancy (in conjunction with the number of cycles not empty) and the average latency (in conjunction with the number of allocations).  The RPQ is used to schedule reads out to the memory controller and to track the requests.  Requests allocate into the RPQ soon after they enter the memory controller, and need credits for an entry in this buffer before being sent from the HA to the iMC. They deallocate after the CAS command has been issued to memory.",
425*400dd489SIan Rogers        "Unit": "iMC"
426*400dd489SIan Rogers    },
427*400dd489SIan Rogers    {
428*400dd489SIan Rogers        "BriefDescription": "Write Pending Queue Allocations",
429*400dd489SIan Rogers        "EventCode": "0x20",
430*400dd489SIan Rogers        "EventName": "UNC_M_WPQ_INSERTS.PCH0",
431*400dd489SIan Rogers        "PerPkg": "1",
432*400dd489SIan Rogers        "PublicDescription": "Write Pending Queue Allocations : Counts the number of allocations into the Write Pending Queue.  This can then be used to calculate the average queuing latency (in conjunction with the WPQ occupancy count).  The WPQ is used to schedule write out to the memory controller and to track the writes.  Requests allocate into the WPQ soon after they enter the memory controller, and need credits for an entry in this buffer before being sent from the CHA to the iMC.  They deallocate after being issued to DRAM.  Write requests themselves are able to complete (from the perspective of the rest of the system) as soon they have posted to the iMC.",
433*400dd489SIan Rogers        "UMask": "0x1",
434*400dd489SIan Rogers        "Unit": "iMC"
435*400dd489SIan Rogers    },
436*400dd489SIan Rogers    {
437*400dd489SIan Rogers        "BriefDescription": "Write Pending Queue Allocations",
438*400dd489SIan Rogers        "EventCode": "0x20",
439*400dd489SIan Rogers        "EventName": "UNC_M_WPQ_INSERTS.PCH1",
440*400dd489SIan Rogers        "PerPkg": "1",
441*400dd489SIan Rogers        "PublicDescription": "Write Pending Queue Allocations : Counts the number of allocations into the Write Pending Queue.  This can then be used to calculate the average queuing latency (in conjunction with the WPQ occupancy count).  The WPQ is used to schedule write out to the memory controller and to track the writes.  Requests allocate into the WPQ soon after they enter the memory controller, and need credits for an entry in this buffer before being sent from the CHA to the iMC.  They deallocate after being issued to DRAM.  Write requests themselves are able to complete (from the perspective of the rest of the system) as soon they have posted to the iMC.",
442*400dd489SIan Rogers        "UMask": "0x2",
443*400dd489SIan Rogers        "Unit": "iMC"
444*400dd489SIan Rogers    },
445*400dd489SIan Rogers    {
446*400dd489SIan Rogers        "BriefDescription": "Write Pending Queue Occupancy",
447*400dd489SIan Rogers        "EventCode": "0x82",
448*400dd489SIan Rogers        "EventName": "UNC_M_WPQ_OCCUPANCY_PCH0",
449*400dd489SIan Rogers        "PerPkg": "1",
450*400dd489SIan Rogers        "PublicDescription": "Write Pending Queue Occupancy : Accumulates the occupancies of the Write Pending Queue each cycle.  This can then be used to calculate both the average queue occupancy (in conjunction with the number of cycles not empty) and the average latency (in conjunction with the number of allocations).  The WPQ is used to schedule write out to the memory controller and to track the writes.  Requests allocate into the WPQ soon after they enter the memory controller, and need credits for an entry in this buffer before being sent from the HA to the iMC.  They deallocate after being issued to DRAM.  Write requests themselves are able to complete (from the perspective of the rest of the system) as soon they have posted to the iMC.  This is not to be confused with actually performing the write to DRAM.  Therefore, the average latency for this queue is actually not useful for deconstruction intermediate write latencies.  So, we provide filtering based on if the request has posted or not.  By using the not posted filter, we can track how long writes spent in the iMC before completions were sent to the HA.  The posted filter, on the other hand, provides information about how much queueing is actually happening in the iMC for writes before they are actually issued to memory.  High average occupancies will generally coincide with high write major mode counts.",
451*400dd489SIan Rogers        "Unit": "iMC"
452*400dd489SIan Rogers    },
453*400dd489SIan Rogers    {
454*400dd489SIan Rogers        "BriefDescription": "Write Pending Queue Occupancy",
455*400dd489SIan Rogers        "EventCode": "0x83",
456*400dd489SIan Rogers        "EventName": "UNC_M_WPQ_OCCUPANCY_PCH1",
457*400dd489SIan Rogers        "PerPkg": "1",
458*400dd489SIan Rogers        "PublicDescription": "Write Pending Queue Occupancy : Accumulates the occupancies of the Write Pending Queue each cycle.  This can then be used to calculate both the average queue occupancy (in conjunction with the number of cycles not empty) and the average latency (in conjunction with the number of allocations).  The WPQ is used to schedule write out to the memory controller and to track the writes.  Requests allocate into the WPQ soon after they enter the memory controller, and need credits for an entry in this buffer before being sent from the HA to the iMC.  They deallocate after being issued to DRAM.  Write requests themselves are able to complete (from the perspective of the rest of the system) as soon they have posted to the iMC.  This is not to be confused with actually performing the write to DRAM.  Therefore, the average latency for this queue is actually not useful for deconstruction intermediate write latencies.  So, we provide filtering based on if the request has posted or not.  By using the not posted filter, we can track how long writes spent in the iMC before completions were sent to the HA.  The posted filter, on the other hand, provides information about how much queueing is actually happening in the iMC for writes before they are actually issued to memory.  High average occupancies will generally coincide with high write major mode counts.",
4594e411ee4SZhengjun Xing        "Unit": "iMC"
4604e411ee4SZhengjun Xing    }
4614e411ee4SZhengjun Xing]
462