xref: /freebsd/lib/libpmc/pmu-events/arch/x86/haswell/hsw-metrics.json (revision fe75646a0234a261c0013bf1840fdac4acaf0cec)
1[
2    {
3        "BriefDescription": "This category represents fraction of slots where the processor's Frontend undersupplies its Backend",
4        "MetricExpr": "IDQ_UOPS_NOT_DELIVERED.CORE / (4 * CPU_CLK_UNHALTED.THREAD)",
5        "MetricGroup": "TopdownL1",
6        "MetricName": "Frontend_Bound",
7        "PublicDescription": "This category represents fraction of slots where the processor's Frontend undersupplies its Backend. Frontend denotes the first part of the processor core responsible to fetch operations that are executed later on by the Backend part. Within the Frontend; a branch predictor predicts the next address to fetch; cache-lines are fetched from the memory subsystem; parsed into instructions; and lastly decoded into micro-operations (uops). Ideally the Frontend can issue Machine_Width uops every cycle to the Backend. Frontend Bound denotes unutilized issue-slots when there is no Backend stall; i.e. bubbles where Frontend delivered no uops while Backend could have accepted them. For example; stalls due to instruction-cache misses would be categorized under Frontend Bound."
8    },
9    {
10        "BriefDescription": "This category represents fraction of slots where the processor's Frontend undersupplies its Backend. SMT version; use when SMT is enabled and measuring per logical CPU.",
11        "MetricExpr": "IDQ_UOPS_NOT_DELIVERED.CORE / (4 * ( ( CPU_CLK_UNHALTED.THREAD / 2 ) * ( 1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK ) ))",
12        "MetricGroup": "TopdownL1_SMT",
13        "MetricName": "Frontend_Bound_SMT",
14        "PublicDescription": "This category represents fraction of slots where the processor's Frontend undersupplies its Backend. Frontend denotes the first part of the processor core responsible to fetch operations that are executed later on by the Backend part. Within the Frontend; a branch predictor predicts the next address to fetch; cache-lines are fetched from the memory subsystem; parsed into instructions; and lastly decoded into micro-operations (uops). Ideally the Frontend can issue Machine_Width uops every cycle to the Backend. Frontend Bound denotes unutilized issue-slots when there is no Backend stall; i.e. bubbles where Frontend delivered no uops while Backend could have accepted them. For example; stalls due to instruction-cache misses would be categorized under Frontend Bound. SMT version; use when SMT is enabled and measuring per logical CPU."
15    },
16    {
17        "BriefDescription": "This category represents fraction of slots wasted due to incorrect speculations",
18        "MetricExpr": "( UOPS_ISSUED.ANY - UOPS_RETIRED.RETIRE_SLOTS + 4 * INT_MISC.RECOVERY_CYCLES ) / (4 * CPU_CLK_UNHALTED.THREAD)",
19        "MetricGroup": "TopdownL1",
20        "MetricName": "Bad_Speculation",
21        "PublicDescription": "This category represents fraction of slots wasted due to incorrect speculations. This include slots used to issue uops that do not eventually get retired and slots for which the issue-pipeline was blocked due to recovery from earlier incorrect speculation. For example; wasted work due to miss-predicted branches are categorized under Bad Speculation category. Incorrect data speculation followed by Memory Ordering Nukes is another example."
22    },
23    {
24        "BriefDescription": "This category represents fraction of slots wasted due to incorrect speculations. SMT version; use when SMT is enabled and measuring per logical CPU.",
25        "MetricExpr": "( UOPS_ISSUED.ANY - UOPS_RETIRED.RETIRE_SLOTS + 4 * ( INT_MISC.RECOVERY_CYCLES_ANY / 2 ) ) / (4 * ( ( CPU_CLK_UNHALTED.THREAD / 2 ) * ( 1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK ) ))",
26        "MetricGroup": "TopdownL1_SMT",
27        "MetricName": "Bad_Speculation_SMT",
28        "PublicDescription": "This category represents fraction of slots wasted due to incorrect speculations. This include slots used to issue uops that do not eventually get retired and slots for which the issue-pipeline was blocked due to recovery from earlier incorrect speculation. For example; wasted work due to miss-predicted branches are categorized under Bad Speculation category. Incorrect data speculation followed by Memory Ordering Nukes is another example. SMT version; use when SMT is enabled and measuring per logical CPU."
29    },
30    {
31        "BriefDescription": "This category represents fraction of slots where no uops are being delivered due to a lack of required resources for accepting new uops in the Backend",
32        "MetricConstraint": "NO_NMI_WATCHDOG",
33        "MetricExpr": "1 - ( (IDQ_UOPS_NOT_DELIVERED.CORE / (4 * CPU_CLK_UNHALTED.THREAD)) + (( UOPS_ISSUED.ANY - UOPS_RETIRED.RETIRE_SLOTS + 4 * INT_MISC.RECOVERY_CYCLES ) / (4 * CPU_CLK_UNHALTED.THREAD)) + (UOPS_RETIRED.RETIRE_SLOTS / (4 * CPU_CLK_UNHALTED.THREAD)) )",
34        "MetricGroup": "TopdownL1",
35        "MetricName": "Backend_Bound",
36        "PublicDescription": "This category represents fraction of slots where no uops are being delivered due to a lack of required resources for accepting new uops in the Backend. Backend is the portion of the processor core where the out-of-order scheduler dispatches ready uops into their respective execution units; and once completed these uops get retired according to program order. For example; stalls due to data-cache misses or stalls due to the divider unit being overloaded are both categorized under Backend Bound. Backend Bound is further divided into two main categories: Memory Bound and Core Bound."
37    },
38    {
39        "BriefDescription": "This category represents fraction of slots where no uops are being delivered due to a lack of required resources for accepting new uops in the Backend. SMT version; use when SMT is enabled and measuring per logical CPU.",
40        "MetricExpr": "1 - ( (IDQ_UOPS_NOT_DELIVERED.CORE / (4 * ( ( CPU_CLK_UNHALTED.THREAD / 2 ) * ( 1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK ) ))) + (( UOPS_ISSUED.ANY - UOPS_RETIRED.RETIRE_SLOTS + 4 * ( INT_MISC.RECOVERY_CYCLES_ANY / 2 ) ) / (4 * ( ( CPU_CLK_UNHALTED.THREAD / 2 ) * ( 1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK ) ))) + (UOPS_RETIRED.RETIRE_SLOTS / (4 * ( ( CPU_CLK_UNHALTED.THREAD / 2 ) * ( 1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK ) ))) )",
41        "MetricGroup": "TopdownL1_SMT",
42        "MetricName": "Backend_Bound_SMT",
43        "PublicDescription": "This category represents fraction of slots where no uops are being delivered due to a lack of required resources for accepting new uops in the Backend. Backend is the portion of the processor core where the out-of-order scheduler dispatches ready uops into their respective execution units; and once completed these uops get retired according to program order. For example; stalls due to data-cache misses or stalls due to the divider unit being overloaded are both categorized under Backend Bound. Backend Bound is further divided into two main categories: Memory Bound and Core Bound. SMT version; use when SMT is enabled and measuring per logical CPU."
44    },
45    {
46        "BriefDescription": "This category represents fraction of slots utilized by useful work i.e. issued uops that eventually get retired",
47        "MetricExpr": "UOPS_RETIRED.RETIRE_SLOTS / (4 * CPU_CLK_UNHALTED.THREAD)",
48        "MetricGroup": "TopdownL1",
49        "MetricName": "Retiring",
50        "PublicDescription": "This category represents fraction of slots utilized by useful work i.e. issued uops that eventually get retired. Ideally; all pipeline slots would be attributed to the Retiring category.  Retiring of 100% would indicate the maximum Pipeline_Width throughput was achieved.  Maximizing Retiring typically increases the Instructions-per-cycle (see IPC metric). Note that a high Retiring value does not necessary mean there is no room for more performance.  For example; Heavy-operations or Microcode Assists are categorized under Retiring. They often indicate suboptimal performance and can often be optimized or avoided. "
51    },
52    {
53        "BriefDescription": "This category represents fraction of slots utilized by useful work i.e. issued uops that eventually get retired. SMT version; use when SMT is enabled and measuring per logical CPU.",
54        "MetricExpr": "UOPS_RETIRED.RETIRE_SLOTS / (4 * ( ( CPU_CLK_UNHALTED.THREAD / 2 ) * ( 1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK ) ))",
55        "MetricGroup": "TopdownL1_SMT",
56        "MetricName": "Retiring_SMT",
57        "PublicDescription": "This category represents fraction of slots utilized by useful work i.e. issued uops that eventually get retired. Ideally; all pipeline slots would be attributed to the Retiring category.  Retiring of 100% would indicate the maximum Pipeline_Width throughput was achieved.  Maximizing Retiring typically increases the Instructions-per-cycle (see IPC metric). Note that a high Retiring value does not necessary mean there is no room for more performance.  For example; Heavy-operations or Microcode Assists are categorized under Retiring. They often indicate suboptimal performance and can often be optimized or avoided. SMT version; use when SMT is enabled and measuring per logical CPU."
58    },
59    {
60        "BriefDescription": "Instructions Per Cycle (per Logical Processor)",
61        "MetricExpr": "INST_RETIRED.ANY / CPU_CLK_UNHALTED.THREAD",
62        "MetricGroup": "Ret;Summary",
63        "MetricName": "IPC"
64    },
65    {
66        "BriefDescription": "Uops Per Instruction",
67        "MetricExpr": "UOPS_RETIRED.RETIRE_SLOTS / INST_RETIRED.ANY",
68        "MetricGroup": "Pipeline;Ret;Retire",
69        "MetricName": "UPI"
70    },
71    {
72        "BriefDescription": "Instruction per taken branch",
73        "MetricExpr": "UOPS_RETIRED.RETIRE_SLOTS / BR_INST_RETIRED.NEAR_TAKEN",
74        "MetricGroup": "Branches;Fed;FetchBW",
75        "MetricName": "UpTB"
76    },
77    {
78        "BriefDescription": "Cycles Per Instruction (per Logical Processor)",
79        "MetricExpr": "1 / (INST_RETIRED.ANY / CPU_CLK_UNHALTED.THREAD)",
80        "MetricGroup": "Pipeline;Mem",
81        "MetricName": "CPI"
82    },
83    {
84        "BriefDescription": "Per-Logical Processor actual clocks when the Logical Processor is active.",
85        "MetricExpr": "CPU_CLK_UNHALTED.THREAD",
86        "MetricGroup": "Pipeline",
87        "MetricName": "CLKS"
88    },
89    {
90        "BriefDescription": "Total issue-pipeline slots (per-Physical Core till ICL; per-Logical Processor ICL onward)",
91        "MetricExpr": "4 * CPU_CLK_UNHALTED.THREAD",
92        "MetricGroup": "TmaL1",
93        "MetricName": "SLOTS"
94    },
95    {
96        "BriefDescription": "Total issue-pipeline slots (per-Physical Core till ICL; per-Logical Processor ICL onward)",
97        "MetricExpr": "4 * ( ( CPU_CLK_UNHALTED.THREAD / 2 ) * ( 1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK ) )",
98        "MetricGroup": "TmaL1_SMT",
99        "MetricName": "SLOTS_SMT"
100    },
101    {
102        "BriefDescription": "Instructions Per Cycle across hyper-threads (per physical core)",
103        "MetricExpr": "INST_RETIRED.ANY / CPU_CLK_UNHALTED.THREAD",
104        "MetricGroup": "Ret;SMT;TmaL1",
105        "MetricName": "CoreIPC"
106    },
107    {
108        "BriefDescription": "Instructions Per Cycle across hyper-threads (per physical core)",
109        "MetricExpr": "INST_RETIRED.ANY / ( ( CPU_CLK_UNHALTED.THREAD / 2 ) * ( 1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK ) )",
110        "MetricGroup": "Ret;SMT;TmaL1_SMT",
111        "MetricName": "CoreIPC_SMT"
112    },
113    {
114        "BriefDescription": "Instruction-Level-Parallelism (average number of uops executed when there is at least 1 uop executed)",
115        "MetricExpr": "( UOPS_EXECUTED.CORE / 2 / (( cpu@UOPS_EXECUTED.CORE\\,cmask\\=1@ / 2 ) if #SMT_on else cpu@UOPS_EXECUTED.CORE\\,cmask\\=1@) ) if #SMT_on else UOPS_EXECUTED.CORE / (( cpu@UOPS_EXECUTED.CORE\\,cmask\\=1@ / 2 ) if #SMT_on else cpu@UOPS_EXECUTED.CORE\\,cmask\\=1@)",
116        "MetricGroup": "Backend;Cor;Pipeline;PortsUtil",
117        "MetricName": "ILP"
118    },
119    {
120        "BriefDescription": "Number of Instructions per non-speculative Branch Misprediction (JEClear)",
121        "MetricExpr": "INST_RETIRED.ANY / BR_MISP_RETIRED.ALL_BRANCHES",
122        "MetricGroup": "Bad;BadSpec;BrMispredicts",
123        "MetricName": "IpMispredict"
124    },
125    {
126        "BriefDescription": "Core actual clocks when any Logical Processor is active on the Physical Core",
127        "MetricExpr": "( ( CPU_CLK_UNHALTED.THREAD / 2 ) * ( 1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK ) )",
128        "MetricGroup": "SMT",
129        "MetricName": "CORE_CLKS"
130    },
131    {
132        "BriefDescription": "Instructions per Load (lower number means higher occurrence rate)",
133        "MetricExpr": "INST_RETIRED.ANY / MEM_UOPS_RETIRED.ALL_LOADS",
134        "MetricGroup": "InsType",
135        "MetricName": "IpLoad"
136    },
137    {
138        "BriefDescription": "Instructions per Store (lower number means higher occurrence rate)",
139        "MetricExpr": "INST_RETIRED.ANY / MEM_UOPS_RETIRED.ALL_STORES",
140        "MetricGroup": "InsType",
141        "MetricName": "IpStore"
142    },
143    {
144        "BriefDescription": "Instructions per Branch (lower number means higher occurrence rate)",
145        "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.ALL_BRANCHES",
146        "MetricGroup": "Branches;Fed;InsType",
147        "MetricName": "IpBranch"
148    },
149    {
150        "BriefDescription": "Instructions per (near) call (lower number means higher occurrence rate)",
151        "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.NEAR_CALL",
152        "MetricGroup": "Branches;Fed;PGO",
153        "MetricName": "IpCall"
154    },
155    {
156        "BriefDescription": "Instruction per taken branch",
157        "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.NEAR_TAKEN",
158        "MetricGroup": "Branches;Fed;FetchBW;Frontend;PGO",
159        "MetricName": "IpTB"
160    },
161    {
162        "BriefDescription": "Branch instructions per taken branch. ",
163        "MetricExpr": "BR_INST_RETIRED.ALL_BRANCHES / BR_INST_RETIRED.NEAR_TAKEN",
164        "MetricGroup": "Branches;Fed;PGO",
165        "MetricName": "BpTkBranch"
166    },
167    {
168        "BriefDescription": "Total number of retired Instructions, Sample with: INST_RETIRED.PREC_DIST",
169        "MetricExpr": "INST_RETIRED.ANY",
170        "MetricGroup": "Summary;TmaL1",
171        "MetricName": "Instructions"
172    },
173    {
174        "BriefDescription": "Fraction of Uops delivered by the DSB (aka Decoded ICache; or Uop Cache)",
175        "MetricExpr": "IDQ.DSB_UOPS / (( IDQ.DSB_UOPS + LSD.UOPS + IDQ.MITE_UOPS + IDQ.MS_UOPS ) )",
176        "MetricGroup": "DSB;Fed;FetchBW",
177        "MetricName": "DSB_Coverage"
178    },
179    {
180        "BriefDescription": "Actual Average Latency for L1 data-cache miss demand load instructions (in core cycles)",
181        "MetricExpr": "L1D_PEND_MISS.PENDING / ( MEM_LOAD_UOPS_RETIRED.L1_MISS + mem_load_uops_retired.hit_lfb )",
182        "MetricGroup": "Mem;MemoryBound;MemoryLat",
183        "MetricName": "Load_Miss_Real_Latency",
184        "PublicDescription": "Actual Average Latency for L1 data-cache miss demand load instructions (in core cycles). Latency may be overestimated for multi-load instructions - e.g. repeat strings."
185    },
186    {
187        "BriefDescription": "Memory-Level-Parallelism (average number of L1 miss demand load when there is at least one such miss. Per-Logical Processor)",
188        "MetricExpr": "L1D_PEND_MISS.PENDING / L1D_PEND_MISS.PENDING_CYCLES",
189        "MetricGroup": "Mem;MemoryBound;MemoryBW",
190        "MetricName": "MLP"
191    },
192    {
193        "BriefDescription": "Average data fill bandwidth to the L1 data cache [GB / sec]",
194        "MetricExpr": "64 * L1D.REPLACEMENT / 1000000000 / duration_time",
195        "MetricGroup": "Mem;MemoryBW",
196        "MetricName": "L1D_Cache_Fill_BW"
197    },
198    {
199        "BriefDescription": "Average data fill bandwidth to the L2 cache [GB / sec]",
200        "MetricExpr": "64 * L2_LINES_IN.ALL / 1000000000 / duration_time",
201        "MetricGroup": "Mem;MemoryBW",
202        "MetricName": "L2_Cache_Fill_BW"
203    },
204    {
205        "BriefDescription": "Average per-core data fill bandwidth to the L3 cache [GB / sec]",
206        "MetricExpr": "64 * LONGEST_LAT_CACHE.MISS / 1000000000 / duration_time",
207        "MetricGroup": "Mem;MemoryBW",
208        "MetricName": "L3_Cache_Fill_BW"
209    },
210    {
211        "BriefDescription": "L1 cache true misses per kilo instruction for retired demand loads",
212        "MetricExpr": "1000 * MEM_LOAD_UOPS_RETIRED.L1_MISS / INST_RETIRED.ANY",
213        "MetricGroup": "Mem;CacheMisses",
214        "MetricName": "L1MPKI"
215    },
216    {
217        "BriefDescription": "L2 cache true misses per kilo instruction for retired demand loads",
218        "MetricExpr": "1000 * MEM_LOAD_UOPS_RETIRED.L2_MISS / INST_RETIRED.ANY",
219        "MetricGroup": "Mem;Backend;CacheMisses",
220        "MetricName": "L2MPKI"
221    },
222    {
223        "BriefDescription": "L3 cache true misses per kilo instruction for retired demand loads",
224        "MetricExpr": "1000 * MEM_LOAD_UOPS_RETIRED.L3_MISS / INST_RETIRED.ANY",
225        "MetricGroup": "Mem;CacheMisses",
226        "MetricName": "L3MPKI"
227    },
228    {
229        "BriefDescription": "Utilization of the core's Page Walker(s) serving STLB misses triggered by instruction/Load/Store accesses",
230        "MetricConstraint": "NO_NMI_WATCHDOG",
231        "MetricExpr": "( ITLB_MISSES.WALK_DURATION + DTLB_LOAD_MISSES.WALK_DURATION + DTLB_STORE_MISSES.WALK_DURATION ) / CPU_CLK_UNHALTED.THREAD",
232        "MetricGroup": "Mem;MemoryTLB",
233        "MetricName": "Page_Walks_Utilization"
234    },
235    {
236        "BriefDescription": "Utilization of the core's Page Walker(s) serving STLB misses triggered by instruction/Load/Store accesses",
237        "MetricExpr": "( ITLB_MISSES.WALK_DURATION + DTLB_LOAD_MISSES.WALK_DURATION + DTLB_STORE_MISSES.WALK_DURATION ) / ( ( CPU_CLK_UNHALTED.THREAD / 2 ) * ( 1 + CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / CPU_CLK_UNHALTED.REF_XCLK ) )",
238        "MetricGroup": "Mem;MemoryTLB_SMT",
239        "MetricName": "Page_Walks_Utilization_SMT"
240    },
241    {
242        "BriefDescription": "Average CPU Utilization",
243        "MetricExpr": "CPU_CLK_UNHALTED.REF_TSC / msr@tsc@",
244        "MetricGroup": "HPC;Summary",
245        "MetricName": "CPU_Utilization"
246    },
247    {
248        "BriefDescription": "Measured Average Frequency for unhalted processors [GHz]",
249        "MetricExpr": "(CPU_CLK_UNHALTED.THREAD / CPU_CLK_UNHALTED.REF_TSC) * msr@tsc@ / 1000000000 / duration_time",
250        "MetricGroup": "Summary;Power",
251        "MetricName": "Average_Frequency"
252    },
253    {
254        "BriefDescription": "Average Frequency Utilization relative nominal frequency",
255        "MetricExpr": "CPU_CLK_UNHALTED.THREAD / CPU_CLK_UNHALTED.REF_TSC",
256        "MetricGroup": "Power",
257        "MetricName": "Turbo_Utilization"
258    },
259    {
260        "BriefDescription": "Fraction of cycles where both hardware Logical Processors were active",
261        "MetricExpr": "1 - CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE / ( CPU_CLK_UNHALTED.REF_XCLK_ANY / 2 ) if #SMT_on else 0",
262        "MetricGroup": "SMT",
263        "MetricName": "SMT_2T_Utilization"
264    },
265    {
266        "BriefDescription": "Fraction of cycles spent in the Operating System (OS) Kernel mode",
267        "MetricExpr": "CPU_CLK_UNHALTED.THREAD_P:k / CPU_CLK_UNHALTED.THREAD",
268        "MetricGroup": "OS",
269        "MetricName": "Kernel_Utilization"
270    },
271    {
272        "BriefDescription": "Cycles Per Instruction for the Operating System (OS) Kernel mode",
273        "MetricExpr": "CPU_CLK_UNHALTED.THREAD_P:k / INST_RETIRED.ANY_P:k",
274        "MetricGroup": "OS",
275        "MetricName": "Kernel_CPI"
276    },
277    {
278        "BriefDescription": "Average external Memory Bandwidth Use for reads and writes [GB / sec]",
279        "MetricExpr": "64 * ( arb@event\\=0x81\\,umask\\=0x1@ + arb@event\\=0x84\\,umask\\=0x1@ ) / 1000000 / duration_time / 1000",
280        "MetricGroup": "HPC;Mem;MemoryBW;SoC",
281        "MetricName": "DRAM_BW_Use"
282    },
283    {
284        "BriefDescription": "Average latency of all requests to external memory (in Uncore cycles)",
285        "MetricExpr": "UNC_ARB_TRK_OCCUPANCY.ALL / arb@event\\=0x81\\,umask\\=0x1@",
286        "MetricGroup": "Mem;SoC",
287        "MetricName": "MEM_Request_Latency"
288    },
289    {
290        "BriefDescription": "Average number of parallel requests to external memory. Accounts for all requests",
291        "MetricExpr": "UNC_ARB_TRK_OCCUPANCY.ALL / arb@event\\=0x81\\,umask\\=0x1@",
292        "MetricGroup": "Mem;SoC",
293        "MetricName": "MEM_Parallel_Requests"
294    },
295    {
296        "BriefDescription": "Instructions per Far Branch ( Far Branches apply upon transition from application to operating system, handling interrupts, exceptions) [lower number means higher occurrence rate]",
297        "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.FAR_BRANCH:u",
298        "MetricGroup": "Branches;OS",
299        "MetricName": "IpFarBranch"
300    },
301    {
302        "BriefDescription": "C3 residency percent per core",
303        "MetricExpr": "(cstate_core@c3\\-residency@ / msr@tsc@) * 100",
304        "MetricGroup": "Power",
305        "MetricName": "C3_Core_Residency"
306    },
307    {
308        "BriefDescription": "C6 residency percent per core",
309        "MetricExpr": "(cstate_core@c6\\-residency@ / msr@tsc@) * 100",
310        "MetricGroup": "Power",
311        "MetricName": "C6_Core_Residency"
312    },
313    {
314        "BriefDescription": "C7 residency percent per core",
315        "MetricExpr": "(cstate_core@c7\\-residency@ / msr@tsc@) * 100",
316        "MetricGroup": "Power",
317        "MetricName": "C7_Core_Residency"
318    },
319    {
320        "BriefDescription": "C2 residency percent per package",
321        "MetricExpr": "(cstate_pkg@c2\\-residency@ / msr@tsc@) * 100",
322        "MetricGroup": "Power",
323        "MetricName": "C2_Pkg_Residency"
324    },
325    {
326        "BriefDescription": "C3 residency percent per package",
327        "MetricExpr": "(cstate_pkg@c3\\-residency@ / msr@tsc@) * 100",
328        "MetricGroup": "Power",
329        "MetricName": "C3_Pkg_Residency"
330    },
331    {
332        "BriefDescription": "C6 residency percent per package",
333        "MetricExpr": "(cstate_pkg@c6\\-residency@ / msr@tsc@) * 100",
334        "MetricGroup": "Power",
335        "MetricName": "C6_Pkg_Residency"
336    },
337    {
338        "BriefDescription": "C7 residency percent per package",
339        "MetricExpr": "(cstate_pkg@c7\\-residency@ / msr@tsc@) * 100",
340        "MetricGroup": "Power",
341        "MetricName": "C7_Pkg_Residency"
342    }
343]
344