~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/tools/perf/pmu-events/arch/x86/sierraforest/srf-metrics.json

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 [
  2     {
  3         "BriefDescription": "C1 residency percent per core",
  4         "MetricExpr": "cstate_core@c1\\-residency@ / TSC",
  5         "MetricGroup": "Power",
  6         "MetricName": "C1_Core_Residency",
  7         "ScaleUnit": "100%"
  8     },
  9     {
 10         "BriefDescription": "C6 residency percent per core",
 11         "MetricExpr": "cstate_core@c6\\-residency@ / TSC",
 12         "MetricGroup": "Power",
 13         "MetricName": "C6_Core_Residency",
 14         "ScaleUnit": "100%"
 15     },
 16     {
 17         "BriefDescription": "C6 residency percent per module",
 18         "MetricExpr": "cstate_module@c6\\-residency@ / TSC",
 19         "MetricGroup": "Power",
 20         "MetricName": "C6_Module_Residency",
 21         "ScaleUnit": "100%"
 22     },
 23     {
 24         "BriefDescription": "C6 residency percent per package",
 25         "MetricExpr": "cstate_pkg@c6\\-residency@ / TSC",
 26         "MetricGroup": "Power",
 27         "MetricName": "C6_Pkg_Residency",
 28         "ScaleUnit": "100%"
 29     },
 30     {
 31         "BriefDescription": "Cycles per instruction retired; indicating how much time each executed instruction took; in units of cycles.",
 32         "MetricExpr": "CPU_CLK_UNHALTED.THREAD / INST_RETIRED.ANY",
 33         "MetricName": "cpi",
 34         "ScaleUnit": "1per_instr"
 35     },
 36     {
 37         "BriefDescription": "CPU operating frequency (in GHz)",
 38         "MetricExpr": "CPU_CLK_UNHALTED.THREAD / CPU_CLK_UNHALTED.REF_TSC * #SYSTEM_TSC_FREQ / 1e9",
 39         "MetricName": "cpu_operating_frequency",
 40         "ScaleUnit": "1GHz"
 41     },
 42     {
 43         "BriefDescription": "Percentage of time spent in the active CPU power state C0",
 44         "MetricExpr": "tma_info_system_cpu_utilization",
 45         "MetricName": "cpu_utilization",
 46         "ScaleUnit": "100%"
 47     },
 48     {
 49         "BriefDescription": "Ratio of number of completed page walks (for 2 megabyte page sizes) caused by demand data loads to the total number of completed instructions",
 50         "MetricExpr": "DTLB_LOAD_MISSES.WALK_COMPLETED_2M_4M / INST_RETIRED.ANY",
 51         "MetricName": "dtlb_2nd_level_2mb_large_page_load_mpi",
 52         "PublicDescription": "Ratio of number of completed page walks (for 2 megabyte page sizes) caused by demand data loads to the total number of completed instructions. This implies it missed in the Data Translation Lookaside Buffer (DTLB) and further levels of TLB.",
 53         "ScaleUnit": "1per_instr"
 54     },
 55     {
 56         "BriefDescription": "Ratio of number of completed page walks (for all page sizes) caused by demand data loads to the total number of completed instructions",
 57         "MetricExpr": "DTLB_LOAD_MISSES.WALK_COMPLETED / INST_RETIRED.ANY",
 58         "MetricName": "dtlb_2nd_level_load_mpi",
 59         "PublicDescription": "Ratio of number of completed page walks (for all page sizes) caused by demand data loads to the total number of completed instructions. This implies it missed in the DTLB and further levels of TLB.",
 60         "ScaleUnit": "1per_instr"
 61     },
 62     {
 63         "BriefDescription": "Ratio of number of completed page walks (for all page sizes) caused by demand data stores to the total number of completed instructions",
 64         "MetricExpr": "DTLB_STORE_MISSES.WALK_COMPLETED / INST_RETIRED.ANY",
 65         "MetricName": "dtlb_2nd_level_store_mpi",
 66         "PublicDescription": "Ratio of number of completed page walks (for all page sizes) caused by demand data stores to the total number of completed instructions. This implies it missed in the DTLB and further levels of TLB.",
 67         "ScaleUnit": "1per_instr"
 68     },
 69     {
 70         "BriefDescription": "Bandwidth observed by the integrated I/O traffic contoller (IIO) of IO reads that are initiated by end device controllers that are requesting memory from the CPU.",
 71         "MetricExpr": "UNC_IIO_DATA_REQ_OF_CPU.MEM_READ.ALL_PARTS * 4 / 1e6 / duration_time",
 72         "MetricName": "iio_bandwidth_read",
 73         "ScaleUnit": "1MB/s"
 74     },
 75     {
 76         "BriefDescription": "Bandwidth observed by the integrated I/O traffic controller (IIO) of IO writes that are initiated by end device controllers that are writing memory to the CPU.",
 77         "MetricExpr": "UNC_IIO_DATA_REQ_OF_CPU.MEM_WRITE.ALL_PARTS * 4 / 1e6 / duration_time",
 78         "MetricName": "iio_bandwidth_write",
 79         "ScaleUnit": "1MB/s"
 80     },
 81     {
 82         "BriefDescription": "Bandwidth of IO reads that are initiated by end device controllers that are requesting memory from the CPU.",
 83         "MetricExpr": "UNC_CHA_TOR_INSERTS.IO_PCIRDCUR * 64 / 1e6 / duration_time",
 84         "MetricName": "io_bandwidth_read",
 85         "ScaleUnit": "1MB/s"
 86     },
 87     {
 88         "BriefDescription": "Bandwidth of IO reads that are initiated by end device controllers that are requesting memory from the local CPU socket.",
 89         "MetricExpr": "UNC_CHA_TOR_INSERTS.IO_PCIRDCUR_LOCAL * 64 / 1e6 / duration_time",
 90         "MetricName": "io_bandwidth_read_local",
 91         "ScaleUnit": "1MB/s"
 92     },
 93     {
 94         "BriefDescription": "Bandwidth of IO reads that are initiated by end device controllers that are requesting memory from a remote CPU socket.",
 95         "MetricExpr": "UNC_CHA_TOR_INSERTS.IO_PCIRDCUR_REMOTE * 64 / 1e6 / duration_time",
 96         "MetricName": "io_bandwidth_read_remote",
 97         "ScaleUnit": "1MB/s"
 98     },
 99     {
100         "BriefDescription": "Bandwidth of IO writes that are initiated by end device controllers that are writing memory to the CPU.",
101         "MetricExpr": "(UNC_CHA_TOR_INSERTS.IO_ITOM + UNC_CHA_TOR_INSERTS.IO_ITOMCACHENEAR) * 64 / 1e6 / duration_time",
102         "MetricName": "io_bandwidth_write",
103         "ScaleUnit": "1MB/s"
104     },
105     {
106         "BriefDescription": "Bandwidth of IO writes that are initiated by end device controllers that are writing memory to the local CPU socket.",
107         "MetricExpr": "(UNC_CHA_TOR_INSERTS.IO_ITOM_LOCAL + UNC_CHA_TOR_INSERTS.IO_ITOMCACHENEAR_LOCAL) * 64 / 1e6 / duration_time",
108         "MetricName": "io_bandwidth_write_local",
109         "ScaleUnit": "1MB/s"
110     },
111     {
112         "BriefDescription": "Bandwidth of IO writes that are initiated by end device controllers that are writing memory to a remote CPU socket.",
113         "MetricExpr": "(UNC_CHA_TOR_INSERTS.IO_ITOM_REMOTE + UNC_CHA_TOR_INSERTS.IO_ITOMCACHENEAR_REMOTE) * 64 / 1e6 / duration_time",
114         "MetricName": "io_bandwidth_write_remote",
115         "ScaleUnit": "1MB/s"
116     },
117     {
118         "BriefDescription": "Ratio of number of completed page walks (for 2 megabyte and 4 megabyte page sizes) caused by a code fetch to the total number of completed instructions",
119         "MetricExpr": "ITLB_MISSES.WALK_COMPLETED_2M_4M / INST_RETIRED.ANY",
120         "MetricName": "itlb_2nd_level_large_page_mpi",
121         "PublicDescription": "Ratio of number of completed page walks (for 2 megabyte and 4 megabyte page sizes) caused by a code fetch to the total number of completed instructions. This implies it missed in the Instruction Translation Lookaside Buffer (ITLB) and further levels of TLB.",
122         "ScaleUnit": "1per_instr"
123     },
124     {
125         "BriefDescription": "Ratio of number of completed page walks (for all page sizes) caused by a code fetch to the total number of completed instructions",
126         "MetricExpr": "ITLB_MISSES.WALK_COMPLETED / INST_RETIRED.ANY",
127         "MetricName": "itlb_2nd_level_mpi",
128         "PublicDescription": "Ratio of number of completed page walks (for all page sizes) caused by a code fetch to the total number of completed instructions. This implies it missed in the ITLB (Instruction TLB) and further levels of TLB.",
129         "ScaleUnit": "1per_instr"
130     },
131     {
132         "BriefDescription": "Ratio of number of code read requests missing in L1 instruction cache (includes prefetches) to the total number of completed instructions",
133         "MetricExpr": "ICACHE.MISSES / INST_RETIRED.ANY",
134         "MetricName": "l1_i_code_read_misses_with_prefetches_per_instr",
135         "ScaleUnit": "1per_instr"
136     },
137     {
138         "BriefDescription": "Ratio of number of demand load requests hitting in L1 data cache to the total number of completed instructions",
139         "MetricExpr": "MEM_LOAD_UOPS_RETIRED.L1_HIT / INST_RETIRED.ANY",
140         "MetricName": "l1d_demand_data_read_hits_per_instr",
141         "ScaleUnit": "1per_instr"
142     },
143     {
144         "BriefDescription": "Ratio of number of completed demand load requests hitting in L2 cache to the total number of completed instructions",
145         "MetricExpr": "MEM_LOAD_UOPS_RETIRED.L2_HIT / INST_RETIRED.ANY",
146         "MetricName": "l2_demand_data_read_hits_per_instr",
147         "ScaleUnit": "1per_instr"
148     },
149     {
150         "BriefDescription": "Ratio of number of completed data read request missing L2 cache to the total number of completed instructions",
151         "MetricExpr": "MEM_LOAD_UOPS_RETIRED.L2_MISS / INST_RETIRED.ANY",
152         "MetricName": "l2_demand_data_read_mpi",
153         "ScaleUnit": "1per_instr"
154     },
155     {
156         "BriefDescription": "Ratio of number of requests missing L2 cache (includes code+data+rfo w/ prefetches) to the total number of completed instructions",
157         "MetricExpr": "LONGEST_LAT_CACHE.REFERENCE / INST_RETIRED.ANY",
158         "MetricName": "l2_mpi",
159         "ScaleUnit": "1per_instr"
160     },
161     {
162         "BriefDescription": "Ratio of number of code read requests missing last level core cache (includes demand w/ prefetches) to the total number of completed instructions",
163         "MetricExpr": "(UNC_CHA_TOR_INSERTS.IA_MISS_CRD + UNC_CHA_TOR_INSERTS.IA_MISS_CRD_PREF) / INST_RETIRED.ANY",
164         "MetricName": "llc_code_read_mpi_demand_plus_prefetch",
165         "ScaleUnit": "1per_instr"
166     },
167     {
168         "BriefDescription": "Ratio of number of data read requests missing last level core cache (includes demand w/ prefetches) to the total number of completed instructions",
169         "MetricExpr": "(UNC_CHA_TOR_INSERTS.IA_MISS_DRD_OPT + UNC_CHA_TOR_INSERTS.IA_MISS_DRD_OPT_PREF + UNC_CHA_TOR_INSERTS.IA_MISS_LLCPREFDATA) / INST_RETIRED.ANY",
170         "MetricName": "llc_data_read_mpi_demand_plus_prefetch",
171         "ScaleUnit": "1per_instr"
172     },
173     {
174         "BriefDescription": "Average latency of a last level cache (LLC) demand data read miss (read memory access) in nano seconds",
175         "MetricExpr": "1e9 * (UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD_OPT / UNC_CHA_TOR_INSERTS.IA_MISS_DRD_OPT) / (UNC_CHA_CLOCKTICKS / (source_count(UNC_CHA_TOR_OCCUPANCY.IA_MISS_DRD_OPT) * #num_packages)) * duration_time",
176         "MetricName": "llc_demand_data_read_miss_latency",
177         "ScaleUnit": "1ns"
178     },
179     {
180         "BriefDescription": "Bandwidth (MB/sec) of read requests that miss the last level cache (LLC) and go to local memory.",
181         "MetricExpr": "UNC_CHA_REQUESTS.READS_LOCAL * 64 / 1e6 / duration_time",
182         "MetricName": "llc_miss_local_memory_bandwidth_read",
183         "ScaleUnit": "1MB/s"
184     },
185     {
186         "BriefDescription": "Bandwidth (MB/sec) of write requests that miss the last level cache (LLC) and go to local memory.",
187         "MetricExpr": "UNC_CHA_REQUESTS.WRITES_LOCAL * 64 / 1e6 / duration_time",
188         "MetricName": "llc_miss_local_memory_bandwidth_write",
189         "ScaleUnit": "1MB/s"
190     },
191     {
192         "BriefDescription": "Bandwidth (MB/sec) of read requests that miss the last level cache (LLC) and go to remote memory.",
193         "MetricExpr": "UNC_CHA_REQUESTS.READS_REMOTE * 64 / 1e6 / duration_time",
194         "MetricName": "llc_miss_remote_memory_bandwidth_read",
195         "ScaleUnit": "1MB/s"
196     },
197     {
198         "BriefDescription": "Bandwidth (MB/sec) of write requests that miss the last level cache (LLC) and go to remote memory.",
199         "MetricExpr": "UNC_CHA_REQUESTS.WRITES_REMOTE * 64 / 1e6 / duration_time",
200         "MetricName": "llc_miss_remote_memory_bandwidth_write",
201         "ScaleUnit": "1MB/s"
202     },
203     {
204         "BriefDescription": "Load operations retired per instruction",
205         "MetricExpr": "MEM_UOPS_RETIRED.ALL_LOADS / INST_RETIRED.ANY",
206         "MetricName": "loads_retired_per_instr",
207         "ScaleUnit": "1per_instr"
208     },
209     {
210         "BriefDescription": "DDR memory read bandwidth (MB/sec)",
211         "MetricExpr": "(UNC_M_CAS_COUNT_SCH0.RD + UNC_M_CAS_COUNT_SCH1.RD) * 64 / 1e6 / duration_time",
212         "MetricName": "memory_bandwidth_read",
213         "ScaleUnit": "1MB/s"
214     },
215     {
216         "BriefDescription": "DDR memory bandwidth (MB/sec)",
217         "MetricExpr": "(UNC_M_CAS_COUNT_SCH0.RD + UNC_M_CAS_COUNT_SCH1.RD + UNC_M_CAS_COUNT_SCH0.WR + UNC_M_CAS_COUNT_SCH1.WR) * 64 / 1e6 / duration_time",
218         "MetricName": "memory_bandwidth_total",
219         "ScaleUnit": "1MB/s"
220     },
221     {
222         "BriefDescription": "DDR memory write bandwidth (MB/sec)",
223         "MetricExpr": "(UNC_M_CAS_COUNT_SCH0.WR + UNC_M_CAS_COUNT_SCH1.WR) * 64 / 1e6 / duration_time",
224         "MetricName": "memory_bandwidth_write",
225         "ScaleUnit": "1MB/s"
226     },
227     {
228         "BriefDescription": "Memory read that miss the last level cache (LLC) addressed to local DRAM as a percentage of total memory read accesses, does not include LLC prefetches.",
229         "MetricExpr": "(UNC_CHA_TOR_INSERTS.IA_MISS_DRD_OPT_LOCAL + UNC_CHA_TOR_INSERTS.IA_MISS_DRD_OPT_PREF_LOCAL) / (UNC_CHA_TOR_INSERTS.IA_MISS_DRD_OPT_LOCAL + UNC_CHA_TOR_INSERTS.IA_MISS_DRD_OPT_PREF_LOCAL + UNC_CHA_TOR_INSERTS.IA_MISS_DRD_OPT_REMOTE + UNC_CHA_TOR_INSERTS.IA_MISS_DRD_OPT_PREF_REMOTE)",
230         "MetricName": "numa_reads_addressed_to_local_dram",
231         "ScaleUnit": "100%"
232     },
233     {
234         "BriefDescription": "Memory reads that miss the last level cache (LLC) addressed to remote DRAM as a percentage of total memory read accesses, does not include LLC prefetches.",
235         "MetricExpr": "(UNC_CHA_TOR_INSERTS.IA_MISS_DRD_OPT_REMOTE + UNC_CHA_TOR_INSERTS.IA_MISS_DRD_OPT_PREF_REMOTE) / (UNC_CHA_TOR_INSERTS.IA_MISS_DRD_OPT_LOCAL + UNC_CHA_TOR_INSERTS.IA_MISS_DRD_OPT_PREF_LOCAL + UNC_CHA_TOR_INSERTS.IA_MISS_DRD_OPT_REMOTE + UNC_CHA_TOR_INSERTS.IA_MISS_DRD_OPT_PREF_REMOTE)",
236         "MetricName": "numa_reads_addressed_to_remote_dram",
237         "ScaleUnit": "100%"
238     },
239     {
240         "BriefDescription": "Percentage of cycles spent in System Management Interrupts.",
241         "MetricExpr": "((msr@aperf@ - cycles) / msr@aperf@ if msr@smi@ > 0 else 0)",
242         "MetricGroup": "smi",
243         "MetricName": "smi_cycles",
244         "MetricThreshold": "smi_cycles > 0.1",
245         "ScaleUnit": "100%"
246     },
247     {
248         "BriefDescription": "Number of SMI interrupts.",
249         "MetricExpr": "msr@smi@",
250         "MetricGroup": "smi",
251         "MetricName": "smi_num",
252         "ScaleUnit": "1SMI#"
253     },
254     {
255         "BriefDescription": "Store operations retired per instruction",
256         "MetricExpr": "MEM_UOPS_RETIRED.ALL_STORES / INST_RETIRED.ANY",
257         "MetricName": "stores_retired_per_instr",
258         "ScaleUnit": "1per_instr"
259     },
260     {
261         "BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to certain allocation restrictions",
262         "MetricExpr": "tma_core_bound",
263         "MetricGroup": "TopdownL3;tma_L3_group;tma_core_bound_group",
264         "MetricName": "tma_allocation_restriction",
265         "MetricThreshold": "tma_allocation_restriction > 0.1 & (tma_core_bound > 0.1 & tma_backend_bound > 0.1)",
266         "ScaleUnit": "100%"
267     },
268     {
269         "BriefDescription": "Counts the total number of issue slots that were not consumed by the backend due to backend stalls",
270         "MetricExpr": "TOPDOWN_BE_BOUND.ALL_P / (6 * CPU_CLK_UNHALTED.CORE)",
271         "MetricGroup": "TopdownL1;tma_L1_group",
272         "MetricName": "tma_backend_bound",
273         "MetricThreshold": "tma_backend_bound > 0.1",
274         "MetricgroupNoGroup": "TopdownL1",
275         "PublicDescription": "Counts the total number of issue slots that were not consumed by the backend due to backend stalls. Note that uops must be available for consumption in order for this event to count. If a uop is not available (IQ is empty), this event will not count",
276         "ScaleUnit": "100%"
277     },
278     {
279         "BriefDescription": "Counts the total number of issue slots that were not consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear",
280         "MetricExpr": "TOPDOWN_BAD_SPECULATION.ALL_P / (6 * CPU_CLK_UNHALTED.CORE)",
281         "MetricGroup": "TopdownL1;tma_L1_group",
282         "MetricName": "tma_bad_speculation",
283         "MetricThreshold": "tma_bad_speculation > 0.15",
284         "MetricgroupNoGroup": "TopdownL1",
285         "PublicDescription": "Counts the total number of issue slots that were not consumed by the backend because allocation is stalled due to a mispredicted jump or a machine clear. Only issue slots wasted due to fast nukes such as memory ordering nukes are counted. Other nukes are not accounted for. Counts all issue slots blocked during this recovery window including relevant microcode flows and while uops are not yet available in the instruction queue (IQ). Also includes the issue slots that were consumed by the backend but were thrown away because they were younger than the mispredict or machine clear.",
286         "ScaleUnit": "100%"
287     },
288     {
289         "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to BACLEARS, which occurs when the Branch Target Buffer (BTB) prediction or lack thereof, was corrected by a later branch predictor in the frontend",
290         "MetricExpr": "TOPDOWN_FE_BOUND.BRANCH_DETECT / (6 * CPU_CLK_UNHALTED.CORE)",
291         "MetricGroup": "TopdownL3;tma_L3_group;tma_ifetch_latency_group",
292         "MetricName": "tma_branch_detect",
293         "MetricThreshold": "tma_branch_detect > 0.05 & (tma_ifetch_latency > 0.15 & tma_frontend_bound > 0.2)",
294         "PublicDescription": "Counts the number of issue slots that were not delivered by the frontend due to BACLEARS, which occurs when the Branch Target Buffer (BTB) prediction or lack thereof, was corrected by a later branch predictor in the frontend. Includes BACLEARS due to all branch types including conditional and unconditional jumps, returns, and indirect branches.",
295         "ScaleUnit": "100%"
296     },
297     {
298         "BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to branch mispredicts",
299         "MetricExpr": "TOPDOWN_BAD_SPECULATION.MISPREDICT / (6 * CPU_CLK_UNHALTED.CORE)",
300         "MetricGroup": "TopdownL2;tma_L2_group;tma_bad_speculation_group",
301         "MetricName": "tma_branch_mispredicts",
302         "MetricThreshold": "tma_branch_mispredicts > 0.05 & tma_bad_speculation > 0.15",
303         "MetricgroupNoGroup": "TopdownL2",
304         "ScaleUnit": "100%"
305     },
306     {
307         "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to BTCLEARS, which occurs when the Branch Target Buffer (BTB) predicts a taken branch.",
308         "MetricExpr": "TOPDOWN_FE_BOUND.BRANCH_RESTEER / (6 * CPU_CLK_UNHALTED.CORE)",
309         "MetricGroup": "TopdownL3;tma_L3_group;tma_ifetch_latency_group",
310         "MetricName": "tma_branch_resteer",
311         "MetricThreshold": "tma_branch_resteer > 0.05 & (tma_ifetch_latency > 0.15 & tma_frontend_bound > 0.2)",
312         "ScaleUnit": "100%"
313     },
314     {
315         "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to the microcode sequencer (MS).",
316         "MetricExpr": "TOPDOWN_FE_BOUND.CISC / (6 * CPU_CLK_UNHALTED.CORE)",
317         "MetricGroup": "TopdownL3;tma_L3_group;tma_ifetch_bandwidth_group",
318         "MetricName": "tma_cisc",
319         "MetricThreshold": "tma_cisc > 0.05 & (tma_ifetch_bandwidth > 0.1 & tma_frontend_bound > 0.2)",
320         "ScaleUnit": "100%"
321     },
322     {
323         "BriefDescription": "Counts the number of cycles due to backend bound stalls that are bounded by core restrictions and not attributed to an outstanding load or stores, or resource limitation",
324         "MetricExpr": "TOPDOWN_BE_BOUND.ALLOC_RESTRICTIONS / (6 * CPU_CLK_UNHALTED.CORE)",
325         "MetricGroup": "TopdownL2;tma_L2_group;tma_backend_bound_group",
326         "MetricName": "tma_core_bound",
327         "MetricThreshold": "tma_core_bound > 0.1 & tma_backend_bound > 0.1",
328         "MetricgroupNoGroup": "TopdownL2",
329         "ScaleUnit": "100%"
330     },
331     {
332         "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to decode stalls.",
333         "MetricExpr": "TOPDOWN_FE_BOUND.DECODE / (6 * CPU_CLK_UNHALTED.CORE)",
334         "MetricGroup": "TopdownL3;tma_L3_group;tma_ifetch_bandwidth_group",
335         "MetricName": "tma_decode",
336         "MetricThreshold": "tma_decode > 0.05 & (tma_ifetch_bandwidth > 0.1 & tma_frontend_bound > 0.2)",
337         "ScaleUnit": "100%"
338     },
339     {
340         "BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to a machine clear that does not require the use of microcode, classified as a fast nuke, due to memory ordering, memory disambiguation and memory renaming",
341         "MetricExpr": "TOPDOWN_BAD_SPECULATION.FASTNUKE / (6 * CPU_CLK_UNHALTED.CORE)",
342         "MetricGroup": "TopdownL3;tma_L3_group;tma_machine_clears_group",
343         "MetricName": "tma_fast_nuke",
344         "MetricThreshold": "tma_fast_nuke > 0.05 & (tma_machine_clears > 0.05 & tma_bad_speculation > 0.15)",
345         "ScaleUnit": "100%"
346     },
347     {
348         "BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to frontend stalls.",
349         "MetricExpr": "TOPDOWN_FE_BOUND.ALL_P / (6 * CPU_CLK_UNHALTED.CORE)",
350         "MetricGroup": "TopdownL1;tma_L1_group",
351         "MetricName": "tma_frontend_bound",
352         "MetricThreshold": "tma_frontend_bound > 0.2",
353         "MetricgroupNoGroup": "TopdownL1",
354         "ScaleUnit": "100%"
355     },
356     {
357         "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to instruction cache misses.",
358         "MetricExpr": "TOPDOWN_FE_BOUND.ICACHE / (6 * CPU_CLK_UNHALTED.CORE)",
359         "MetricGroup": "TopdownL3;tma_L3_group;tma_ifetch_latency_group",
360         "MetricName": "tma_icache_misses",
361         "MetricThreshold": "tma_icache_misses > 0.05 & (tma_ifetch_latency > 0.15 & tma_frontend_bound > 0.2)",
362         "ScaleUnit": "100%"
363     },
364     {
365         "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to frontend bandwidth restrictions due to decode, predecode, cisc, and other limitations.",
366         "MetricExpr": "TOPDOWN_FE_BOUND.FRONTEND_BANDWIDTH / (6 * CPU_CLK_UNHALTED.CORE)",
367         "MetricGroup": "TopdownL2;tma_L2_group;tma_frontend_bound_group",
368         "MetricName": "tma_ifetch_bandwidth",
369         "MetricThreshold": "tma_ifetch_bandwidth > 0.1 & tma_frontend_bound > 0.2",
370         "MetricgroupNoGroup": "TopdownL2",
371         "ScaleUnit": "100%"
372     },
373     {
374         "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to frontend latency restrictions due to icache misses, itlb misses, branch detection, and resteer limitations.",
375         "MetricExpr": "TOPDOWN_FE_BOUND.FRONTEND_LATENCY / (6 * CPU_CLK_UNHALTED.CORE)",
376         "MetricGroup": "TopdownL2;tma_L2_group;tma_frontend_bound_group",
377         "MetricName": "tma_ifetch_latency",
378         "MetricThreshold": "tma_ifetch_latency > 0.15 & tma_frontend_bound > 0.2",
379         "MetricgroupNoGroup": "TopdownL2",
380         "ScaleUnit": "100%"
381     },
382     {
383         "BriefDescription": "Instructions per Floating Point (FP) Operation",
384         "MetricExpr": "INST_RETIRED.ANY / FP_FLOPS_RETIRED.ALL",
385         "MetricGroup": "Flops",
386         "MetricName": "tma_info_arith_inst_mix_ipflop"
387     },
388     {
389         "BriefDescription": "Instructions per FP Arithmetic AVX/SSE 128-bit instruction",
390         "MetricExpr": "INST_RETIRED.ANY / (FP_INST_RETIRED.128B_DP + FP_INST_RETIRED.128B_SP)",
391         "MetricGroup": "Flops",
392         "MetricName": "tma_info_arith_inst_mix_ipfparith_avx128"
393     },
394     {
395         "BriefDescription": "Instructions per FP Arithmetic Scalar Double-Precision instruction",
396         "MetricExpr": "INST_RETIRED.ANY / FP_INST_RETIRED.64B_DP",
397         "MetricGroup": "Flops",
398         "MetricName": "tma_info_arith_inst_mix_ipfparith_scalar_dp"
399     },
400     {
401         "BriefDescription": "Instructions per FP Arithmetic Scalar Single-Precision instruction",
402         "MetricExpr": "INST_RETIRED.ANY / FP_INST_RETIRED.32B_SP",
403         "MetricGroup": "Flops",
404         "MetricName": "tma_info_arith_inst_mix_ipfparith_scalar_sp"
405     },
406     {
407         "BriefDescription": "Percentage of time that retirement is stalled due to a first level data TLB miss",
408         "MetricExpr": "tma_info_bottleneck_dtlb_miss_bound_cycles",
409         "MetricName": "tma_info_bottleneck_%_dtlb_miss_bound_cycles"
410     },
411     {
412         "BriefDescription": "Percentage of time that allocation and retirement is stalled by the Frontend Cluster due to an Ifetch Miss, either Icache or ITLB Miss",
413         "MetricExpr": "tma_info_bottleneck_ifetch_miss_bound_cycles",
414         "MetricGroup": "Ifetch",
415         "MetricName": "tma_info_bottleneck_%_ifetch_miss_bound_cycles",
416         "PublicDescription": "Percentage of time that allocation and retirement is stalled by the Frontend Cluster due to an Ifetch Miss, either Icache or ITLB Miss. See Info.Ifetch_Bound"
417     },
418     {
419         "BriefDescription": "Percentage of time that retirement is stalled due to an L1 miss",
420         "MetricExpr": "tma_info_bottleneck_load_miss_bound_cycles",
421         "MetricGroup": "Load_Store_Miss",
422         "MetricName": "tma_info_bottleneck_%_load_miss_bound_cycles",
423         "PublicDescription": "Percentage of time that retirement is stalled due to an L1 miss. See Info.Load_Miss_Bound"
424     },
425     {
426         "BriefDescription": "Percentage of time that retirement is stalled by the Memory Cluster due to a pipeline stall",
427         "MetricExpr": "tma_info_bottleneck_mem_exec_bound_cycles",
428         "MetricGroup": "Mem_Exec",
429         "MetricName": "tma_info_bottleneck_%_mem_exec_bound_cycles",
430         "PublicDescription": "Percentage of time that retirement is stalled by the Memory Cluster due to a pipeline stall. See Info.Mem_Exec_Bound"
431     },
432     {
433         "BriefDescription": "Percentage of time that retirement is stalled due to a first level data TLB miss",
434         "MetricExpr": "100 * (LD_HEAD.DTLB_MISS_AT_RET + LD_HEAD.PGWALK_AT_RET) / CPU_CLK_UNHALTED.CORE",
435         "MetricGroup": "Cycles",
436         "MetricName": "tma_info_bottleneck_dtlb_miss_bound_cycles",
437         "ScaleUnit": "100%"
438     },
439     {
440         "BriefDescription": "Percentage of time that allocation and retirement is stalled by the Frontend Cluster due to an Ifetch Miss, either Icache or ITLB Miss",
441         "MetricExpr": "100 * MEM_BOUND_STALLS_IFETCH.ALL / CPU_CLK_UNHALTED.CORE",
442         "MetricGroup": "Cycles;Ifetch",
443         "MetricName": "tma_info_bottleneck_ifetch_miss_bound_cycles",
444         "PublicDescription": "Percentage of time that allocation and retirement is stalled by the Frontend Cluster due to an Ifetch Miss, either Icache or ITLB Miss. See Info.Ifetch_Bound",
445         "ScaleUnit": "100%"
446     },
447     {
448         "BriefDescription": "Percentage of time that retirement is stalled due to an L1 miss",
449         "MetricExpr": "100 * MEM_BOUND_STALLS_LOAD.ALL / CPU_CLK_UNHALTED.CORE",
450         "MetricGroup": "Cycles;Load_Store_Miss",
451         "MetricName": "tma_info_bottleneck_load_miss_bound_cycles",
452         "PublicDescription": "Percentage of time that retirement is stalled due to an L1 miss. See Info.Load_Miss_Bound",
453         "ScaleUnit": "100%"
454     },
455     {
456         "BriefDescription": "Percentage of time that retirement is stalled by the Memory Cluster due to a pipeline stall",
457         "MetricExpr": "100 * LD_HEAD.ANY_AT_RET / CPU_CLK_UNHALTED.CORE",
458         "MetricGroup": "Cycles;Mem_Exec",
459         "MetricName": "tma_info_bottleneck_mem_exec_bound_cycles",
460         "PublicDescription": "Percentage of time that retirement is stalled by the Memory Cluster due to a pipeline stall. See Info.Mem_Exec_Bound",
461         "ScaleUnit": "100%"
462     },
463     {
464         "BriefDescription": "Instructions per Branch (lower number means higher occurrence rate)",
465         "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.ALL_BRANCHES",
466         "MetricName": "tma_info_br_inst_mix_ipbranch"
467     },
468     {
469         "BriefDescription": "Instruction per (near) call (lower number means higher occurrence rate)",
470         "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.NEAR_CALL",
471         "MetricName": "tma_info_br_inst_mix_ipcall"
472     },
473     {
474         "BriefDescription": "Instructions per Far Branch ( Far Branches apply upon transition from application to operating system, handling interrupts, exceptions) [lower number means higher occurrence rate]",
475         "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.FAR_BRANCH:u",
476         "MetricName": "tma_info_br_inst_mix_ipfarbranch"
477     },
478     {
479         "BriefDescription": "Instructions per retired conditional Branch Misprediction where the branch was not taken",
480         "MetricExpr": "INST_RETIRED.ANY / (BR_MISP_RETIRED.COND - BR_MISP_RETIRED.COND_TAKEN)",
481         "MetricName": "tma_info_br_inst_mix_ipmisp_cond_ntaken"
482     },
483     {
484         "BriefDescription": "Instructions per retired conditional Branch Misprediction where the branch was taken",
485         "MetricExpr": "INST_RETIRED.ANY / BR_MISP_RETIRED.COND_TAKEN",
486         "MetricName": "tma_info_br_inst_mix_ipmisp_cond_taken"
487     },
488     {
489         "BriefDescription": "Instructions per retired indirect call or jump Branch Misprediction",
490         "MetricExpr": "INST_RETIRED.ANY / BR_MISP_RETIRED.INDIRECT",
491         "MetricName": "tma_info_br_inst_mix_ipmisp_indirect"
492     },
493     {
494         "BriefDescription": "Instructions per retired return Branch Misprediction",
495         "MetricExpr": "INST_RETIRED.ANY / BR_MISP_RETIRED.RETURN",
496         "MetricName": "tma_info_br_inst_mix_ipmisp_ret"
497     },
498     {
499         "BriefDescription": "Instructions per retired Branch Misprediction",
500         "MetricExpr": "INST_RETIRED.ANY / BR_MISP_RETIRED.ALL_BRANCHES",
501         "MetricName": "tma_info_br_inst_mix_ipmispredict"
502     },
503     {
504         "BriefDescription": "Ratio of all branches which mispredict",
505         "MetricExpr": "BR_MISP_RETIRED.ALL_BRANCHES / BR_INST_RETIRED.ALL_BRANCHES",
506         "MetricName": "tma_info_br_mispredict_bound_branch_mispredict_ratio"
507     },
508     {
509         "BriefDescription": "Ratio between Mispredicted branches and unknown branches",
510         "MetricExpr": "BR_MISP_RETIRED.ALL_BRANCHES / BACLEARS.ANY",
511         "MetricName": "tma_info_br_mispredict_bound_branch_mispredict_to_unknown_branch_ratio"
512     },
513     {
514         "BriefDescription": "Percentage of time that allocation is stalled due to load buffer full",
515         "MetricExpr": "tma_info_buffer_stalls_load_buffer_stall_cycles",
516         "MetricName": "tma_info_buffer_stalls_%_load_buffer_stall_cycles"
517     },
518     {
519         "BriefDescription": "Percentage of time that allocation is stalled due to memory reservation stations full",
520         "MetricExpr": "tma_info_buffer_stalls_mem_rsv_stall_cycles",
521         "MetricName": "tma_info_buffer_stalls_%_mem_rsv_stall_cycles"
522     },
523     {
524         "BriefDescription": "Percentage of time that allocation is stalled due to store buffer full",
525         "MetricExpr": "tma_info_buffer_stalls_store_buffer_stall_cycles",
526         "MetricName": "tma_info_buffer_stalls_%_store_buffer_stall_cycles"
527     },
528     {
529         "BriefDescription": "Percentage of time that allocation is stalled due to load buffer full",
530         "MetricExpr": "100 * MEM_SCHEDULER_BLOCK.LD_BUF / CPU_CLK_UNHALTED.CORE",
531         "MetricName": "tma_info_buffer_stalls_load_buffer_stall_cycles",
532         "ScaleUnit": "100%"
533     },
534     {
535         "BriefDescription": "Percentage of time that allocation is stalled due to memory reservation stations full",
536         "MetricExpr": "100 * MEM_SCHEDULER_BLOCK.RSV / CPU_CLK_UNHALTED.CORE",
537         "MetricName": "tma_info_buffer_stalls_mem_rsv_stall_cycles",
538         "ScaleUnit": "100%"
539     },
540     {
541         "BriefDescription": "Percentage of time that allocation is stalled due to store buffer full",
542         "MetricExpr": "100 * MEM_SCHEDULER_BLOCK.ST_BUF / CPU_CLK_UNHALTED.CORE",
543         "MetricName": "tma_info_buffer_stalls_store_buffer_stall_cycles",
544         "ScaleUnit": "100%"
545     },
546     {
547         "BriefDescription": "Cycles Per Instruction",
548         "MetricExpr": "CPU_CLK_UNHALTED.CORE / INST_RETIRED.ANY",
549         "MetricName": "tma_info_core_cpi"
550     },
551     {
552         "BriefDescription": "Floating Point Operations Per Cycle",
553         "MetricExpr": "FP_FLOPS_RETIRED.ALL / CPU_CLK_UNHALTED.CORE",
554         "MetricGroup": "Flops",
555         "MetricName": "tma_info_core_flopc"
556     },
557     {
558         "BriefDescription": "Instructions Per Cycle",
559         "MetricExpr": "INST_RETIRED.ANY / CPU_CLK_UNHALTED.CORE",
560         "MetricName": "tma_info_core_ipc"
561     },
562     {
563         "BriefDescription": "Uops Per Instruction",
564         "MetricExpr": "TOPDOWN_RETIRING.ALL_P / INST_RETIRED.ANY",
565         "MetricName": "tma_info_core_upi"
566     },
567     {
568         "BriefDescription": "Percentage of ifetch miss bound stalls, where the ifetch miss hits in the L2",
569         "MetricExpr": "tma_info_ifetch_miss_bound_ifetchmissbound_with_l2hit",
570         "MetricName": "tma_info_ifetch_miss_bound_%_ifetchmissbound_with_l2hit"
571     },
572     {
573         "BriefDescription": "Percentage of ifetch miss bound stalls, where the ifetch miss hits in the L3",
574         "MetricExpr": "tma_info_ifetch_miss_bound_ifetchmissbound_with_l3hit",
575         "MetricName": "tma_info_ifetch_miss_bound_%_ifetchmissbound_with_l3hit"
576     },
577     {
578         "BriefDescription": "Percentage of ifetch miss bound stalls, where the ifetch miss subsequently misses in the L3",
579         "MetricExpr": "100 * MEM_BOUND_STALLS_IFETCH.LLC_MISS / MEM_BOUND_STALLS_IFETCH.ALL",
580         "MetricName": "tma_info_ifetch_miss_bound_%_ifetchmissbound_with_l3miss"
581     },
582     {
583         "BriefDescription": "Percentage of ifetch miss bound stalls, where the ifetch miss hits in the L2",
584         "MetricExpr": "100 * MEM_BOUND_STALLS_IFETCH.L2_HIT / MEM_BOUND_STALLS_IFETCH.ALL",
585         "MetricName": "tma_info_ifetch_miss_bound_ifetchmissbound_with_l2hit",
586         "ScaleUnit": "100%"
587     },
588     {
589         "BriefDescription": "Percentage of ifetch miss bound stalls, where the ifetch miss hits in the L3",
590         "MetricExpr": "100 * MEM_BOUND_STALLS_IFETCH.LLC_HIT / MEM_BOUND_STALLS_IFETCH.ALL",
591         "MetricName": "tma_info_ifetch_miss_bound_ifetchmissbound_with_l3hit",
592         "ScaleUnit": "100%"
593     },
594     {
595         "BriefDescription": "Percentage of memory bound stalls where retirement is stalled due to an L1 miss that hit the L2",
596         "MetricExpr": "tma_info_load_miss_bound_loadmissbound_with_l2hit",
597         "MetricGroup": "load_store_bound",
598         "MetricName": "tma_info_load_miss_bound_%_loadmissbound_with_l2hit"
599     },
600     {
601         "BriefDescription": "Percentage of memory bound stalls where retirement is stalled due to an L1 miss that hit the L3",
602         "MetricExpr": "tma_info_load_miss_bound_loadmissbound_with_l3hit",
603         "MetricGroup": "load_store_bound",
604         "MetricName": "tma_info_load_miss_bound_%_loadmissbound_with_l3hit"
605     },
606     {
607         "BriefDescription": "Percentage of memory bound stalls where retirement is stalled due to an L1 miss that subsequently misses the L3",
608         "MetricExpr": "100 * MEM_BOUND_STALLS_LOAD.LLC_MISS / MEM_BOUND_STALLS_LOAD.ALL",
609         "MetricGroup": "load_store_bound",
610         "MetricName": "tma_info_load_miss_bound_%_loadmissbound_with_l3miss"
611     },
612     {
613         "BriefDescription": "Percentage of memory bound stalls where retirement is stalled due to an L1 miss that hit the L2",
614         "MetricExpr": "100 * MEM_BOUND_STALLS_LOAD.L2_HIT / MEM_BOUND_STALLS_LOAD.ALL",
615         "MetricGroup": "load_store_bound",
616         "MetricName": "tma_info_load_miss_bound_loadmissbound_with_l2hit",
617         "ScaleUnit": "100%"
618     },
619     {
620         "BriefDescription": "Percentage of memory bound stalls where retirement is stalled due to an L1 miss that hit the L3",
621         "MetricExpr": "100 * MEM_BOUND_STALLS_LOAD.LLC_HIT / MEM_BOUND_STALLS_LOAD.ALL",
622         "MetricGroup": "load_store_bound",
623         "MetricName": "tma_info_load_miss_bound_loadmissbound_with_l3hit",
624         "ScaleUnit": "100%"
625     },
626     {
627         "BriefDescription": "Counts the number of cycles that the oldest load of the load buffer is stalled at retirement due to a pipeline block",
628         "MetricExpr": "100 * LD_HEAD.L1_BOUND_AT_RET / CPU_CLK_UNHALTED.CORE",
629         "MetricGroup": "load_store_bound",
630         "MetricName": "tma_info_load_store_bound_l1_bound"
631     },
632     {
633         "BriefDescription": "Counts the number of cycles that the oldest load of the load buffer is stalled at retirement",
634         "MetricExpr": "100 * (LD_HEAD.L1_BOUND_AT_RET + MEM_BOUND_STALLS_LOAD.ALL) / CPU_CLK_UNHALTED.CORE",
635         "MetricGroup": "load_store_bound",
636         "MetricName": "tma_info_load_store_bound_load_bound"
637     },
638     {
639         "BriefDescription": "Counts the number of cycles the core is stalled due to store buffer full",
640         "MetricExpr": "100 * (MEM_SCHEDULER_BLOCK.ST_BUF / MEM_SCHEDULER_BLOCK.ALL) * tma_mem_scheduler",
641         "MetricGroup": "load_store_bound",
642         "MetricName": "tma_info_load_store_bound_store_bound"
643     },
644     {
645         "BriefDescription": "Counts the number of machine clears relative to thousands of instructions retired, due to floating point assists",
646         "MetricExpr": "1e3 * MACHINE_CLEARS.FP_ASSIST / INST_RETIRED.ANY",
647         "MetricName": "tma_info_machine_clear_bound_machine_clears_fp_assist_pki"
648     },
649     {
650         "BriefDescription": "Counts the number of machine clears relative to thousands of instructions retired, due to page faults",
651         "MetricExpr": "1e3 * MACHINE_CLEARS.PAGE_FAULT / INST_RETIRED.ANY",
652         "MetricName": "tma_info_machine_clear_bound_machine_clears_page_fault_pki"
653     },
654     {
655         "BriefDescription": "Counts the number of machine clears relative to thousands of instructions retired, due to self-modifying code",
656         "MetricExpr": "1e3 * MACHINE_CLEARS.SMC / INST_RETIRED.ANY",
657         "MetricName": "tma_info_machine_clear_bound_machine_clears_smc_pki"
658     },
659     {
660         "BriefDescription": "Percentage of total non-speculative loads with an address aliasing block",
661         "MetricExpr": "tma_info_mem_exec_blocks_loads_with_adressaliasing",
662         "MetricName": "tma_info_mem_exec_blocks_%_loads_with_adressaliasing"
663     },
664     {
665         "BriefDescription": "Percentage of total non-speculative loads with a store forward or unknown store address block",
666         "MetricExpr": "tma_info_mem_exec_blocks_loads_with_storefwdblk",
667         "MetricName": "tma_info_mem_exec_blocks_%_loads_with_storefwdblk"
668     },
669     {
670         "BriefDescription": "Percentage of total non-speculative loads with an address aliasing block",
671         "MetricExpr": "100 * LD_BLOCKS.ADDRESS_ALIAS / MEM_UOPS_RETIRED.ALL_LOADS",
672         "MetricName": "tma_info_mem_exec_blocks_loads_with_adressaliasing",
673         "ScaleUnit": "100%"
674     },
675     {
676         "BriefDescription": "Percentage of total non-speculative loads with a store forward or unknown store address block",
677         "MetricExpr": "100 * LD_BLOCKS.DATA_UNKNOWN / MEM_UOPS_RETIRED.ALL_LOADS",
678         "MetricName": "tma_info_mem_exec_blocks_loads_with_storefwdblk",
679         "ScaleUnit": "100%"
680     },
681     {
682         "BriefDescription": "Percentage of Memory Execution Bound due to a first level data cache miss",
683         "MetricExpr": "tma_info_mem_exec_bound_loadhead_with_l1miss",
684         "MetricName": "tma_info_mem_exec_bound_%_loadhead_with_l1miss"
685     },
686     {
687         "BriefDescription": "Percentage of Memory Execution Bound due to other block cases, such as pipeline conflicts, fences, etc",
688         "MetricExpr": "tma_info_mem_exec_bound_loadhead_with_otherpipelineblks",
689         "MetricName": "tma_info_mem_exec_bound_%_loadhead_with_otherpipelineblks"
690     },
691     {
692         "BriefDescription": "Percentage of Memory Execution Bound due to a pagewalk",
693         "MetricExpr": "tma_info_mem_exec_bound_loadhead_with_pagewalk",
694         "MetricName": "tma_info_mem_exec_bound_%_loadhead_with_pagewalk"
695     },
696     {
697         "BriefDescription": "Percentage of Memory Execution Bound due to a second level TLB miss",
698         "MetricExpr": "tma_info_mem_exec_bound_loadhead_with_stlbhit",
699         "MetricName": "tma_info_mem_exec_bound_%_loadhead_with_stlbhit"
700     },
701     {
702         "BriefDescription": "Percentage of Memory Execution Bound due to a store forward address match",
703         "MetricExpr": "tma_info_mem_exec_bound_loadhead_with_storefwding",
704         "MetricName": "tma_info_mem_exec_bound_%_loadhead_with_storefwding"
705     },
706     {
707         "BriefDescription": "Percentage of Memory Execution Bound due to a first level data cache miss",
708         "MetricExpr": "100 * LD_HEAD.L1_MISS_AT_RET / LD_HEAD.ANY_AT_RET",
709         "MetricName": "tma_info_mem_exec_bound_loadhead_with_l1miss",
710         "ScaleUnit": "100%"
711     },
712     {
713         "BriefDescription": "Percentage of Memory Execution Bound due to other block cases, such as pipeline conflicts, fences, etc",
714         "MetricExpr": "100 * LD_HEAD.OTHER_AT_RET / LD_HEAD.ANY_AT_RET",
715         "MetricName": "tma_info_mem_exec_bound_loadhead_with_otherpipelineblks",
716         "ScaleUnit": "100%"
717     },
718     {
719         "BriefDescription": "Percentage of Memory Execution Bound due to a pagewalk",
720         "MetricExpr": "100 * LD_HEAD.PGWALK_AT_RET / LD_HEAD.ANY_AT_RET",
721         "MetricName": "tma_info_mem_exec_bound_loadhead_with_pagewalk",
722         "ScaleUnit": "100%"
723     },
724     {
725         "BriefDescription": "Percentage of Memory Execution Bound due to a second level TLB miss",
726         "MetricExpr": "100 * LD_HEAD.DTLB_MISS_AT_RET / LD_HEAD.ANY_AT_RET",
727         "MetricName": "tma_info_mem_exec_bound_loadhead_with_stlbhit",
728         "ScaleUnit": "100%"
729     },
730     {
731         "BriefDescription": "Percentage of Memory Execution Bound due to a store forward address match",
732         "MetricExpr": "100 * LD_HEAD.ST_ADDR_AT_RET / LD_HEAD.ANY_AT_RET",
733         "MetricName": "tma_info_mem_exec_bound_loadhead_with_storefwding",
734         "ScaleUnit": "100%"
735     },
736     {
737         "BriefDescription": "Instructions per Load",
738         "MetricExpr": "INST_RETIRED.ANY / MEM_UOPS_RETIRED.ALL_LOADS",
739         "MetricName": "tma_info_mem_mix_ipload"
740     },
741     {
742         "BriefDescription": "Instructions per Store",
743         "MetricExpr": "INST_RETIRED.ANY / MEM_UOPS_RETIRED.ALL_STORES",
744         "MetricName": "tma_info_mem_mix_ipstore"
745     },
746     {
747         "BriefDescription": "Percentage of total non-speculative loads that perform one or more locks",
748         "MetricExpr": "100 * MEM_UOPS_RETIRED.LOCK_LOADS / MEM_UOPS_RETIRED.ALL_LOADS",
749         "MetricName": "tma_info_mem_mix_load_locks_ratio"
750     },
751     {
752         "BriefDescription": "Percentage of total non-speculative loads that are splits",
753         "MetricExpr": "100 * MEM_UOPS_RETIRED.SPLIT_LOADS / MEM_UOPS_RETIRED.ALL_LOADS",
754         "MetricName": "tma_info_mem_mix_load_splits_ratio"
755     },
756     {
757         "BriefDescription": "Ratio of mem load uops to all uops",
758         "MetricExpr": "1e3 * MEM_UOPS_RETIRED.ALL_LOADS / TOPDOWN_RETIRING.ALL_P",
759         "MetricName": "tma_info_mem_mix_memload_ratio"
760     },
761     {
762         "BriefDescription": "Percentage of time that the core is stalled due to a TPAUSE or UMWAIT instruction",
763         "MetricExpr": "tma_info_serialization_tpause_cycles",
764         "MetricName": "tma_info_serialization _%_tpause_cycles"
765     },
766     {
767         "BriefDescription": "Percentage of time that the core is stalled due to a TPAUSE or UMWAIT instruction",
768         "MetricExpr": "100 * SERIALIZATION.C01_MS_SCB / (6 * CPU_CLK_UNHALTED.CORE)",
769         "MetricName": "tma_info_serialization_tpause_cycles",
770         "ScaleUnit": "100%"
771     },
772     {
773         "BriefDescription": "Average CPU Utilization",
774         "MetricExpr": "CPU_CLK_UNHALTED.REF_TSC / TSC",
775         "MetricName": "tma_info_system_cpu_utilization"
776     },
777     {
778         "BriefDescription": "Giga Floating Point Operations Per Second",
779         "MetricExpr": "FP_FLOPS_RETIRED.ALL / (duration_time * 1e9)",
780         "MetricGroup": "Flops",
781         "MetricName": "tma_info_system_gflops",
782         "PublicDescription": "Giga Floating Point Operations Per Second. Aggregate across all supported options of: FP precisions, scalar and vector instructions, vector-width"
783     },
784     {
785         "BriefDescription": "Fraction of cycles spent in Kernel mode",
786         "MetricExpr": "cpu@CPU_CLK_UNHALTED.CORE_P@k / CPU_CLK_UNHALTED.CORE",
787         "MetricGroup": "Summary",
788         "MetricName": "tma_info_system_kernel_utilization"
789     },
790     {
791         "BriefDescription": "Average Frequency Utilization relative nominal frequency",
792         "MetricExpr": "CPU_CLK_UNHALTED.CORE / CPU_CLK_UNHALTED.REF_TSC",
793         "MetricGroup": "Power",
794         "MetricName": "tma_info_system_turbo_utilization"
795     },
796     {
797         "BriefDescription": "Percentage of all uops which are FPDiv uops",
798         "MetricExpr": "100 * UOPS_RETIRED.FPDIV / TOPDOWN_RETIRING.ALL_P",
799         "MetricName": "tma_info_uop_mix_fpdiv_uop_ratio"
800     },
801     {
802         "BriefDescription": "Percentage of all uops which are IDiv uops",
803         "MetricExpr": "100 * UOPS_RETIRED.IDIV / TOPDOWN_RETIRING.ALL_P",
804         "MetricName": "tma_info_uop_mix_idiv_uop_ratio"
805     },
806     {
807         "BriefDescription": "Percentage of all uops which are microcode ops",
808         "MetricExpr": "100 * UOPS_RETIRED.MS / TOPDOWN_RETIRING.ALL_P",
809         "MetricName": "tma_info_uop_mix_microcode_uop_ratio"
810     },
811     {
812         "BriefDescription": "Percentage of all uops which are x87 uops",
813         "MetricExpr": "100 * UOPS_RETIRED.X87 / TOPDOWN_RETIRING.ALL_P",
814         "MetricName": "tma_info_uop_mix_x87_uop_ratio"
815     },
816     {
817         "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to Instruction Table Lookaside Buffer (ITLB) misses.",
818         "MetricExpr": "TOPDOWN_FE_BOUND.ITLB_MISS / (6 * CPU_CLK_UNHALTED.CORE)",
819         "MetricGroup": "TopdownL3;tma_L3_group;tma_ifetch_latency_group",
820         "MetricName": "tma_itlb_misses",
821         "MetricThreshold": "tma_itlb_misses > 0.05 & (tma_ifetch_latency > 0.15 & tma_frontend_bound > 0.2)",
822         "ScaleUnit": "100%"
823     },
824     {
825         "BriefDescription": "Counts the total number of issue slots that were not consumed by the backend because allocation is stalled due to a machine clear (nuke) of any kind including memory ordering and memory disambiguation",
826         "MetricExpr": "TOPDOWN_BAD_SPECULATION.MACHINE_CLEARS / (6 * CPU_CLK_UNHALTED.CORE)",
827         "MetricGroup": "TopdownL2;tma_L2_group;tma_bad_speculation_group",
828         "MetricName": "tma_machine_clears",
829         "MetricThreshold": "tma_machine_clears > 0.05 & tma_bad_speculation > 0.15",
830         "MetricgroupNoGroup": "TopdownL2",
831         "ScaleUnit": "100%"
832     },
833     {
834         "BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to memory reservation stalls in which a scheduler is not able to accept uops",
835         "MetricExpr": "TOPDOWN_BE_BOUND.MEM_SCHEDULER / (6 * CPU_CLK_UNHALTED.CORE)",
836         "MetricGroup": "TopdownL3;tma_L3_group;tma_resource_bound_group",
837         "MetricName": "tma_mem_scheduler",
838         "MetricThreshold": "tma_mem_scheduler > 0.1 & (tma_resource_bound > 0.2 & tma_backend_bound > 0.1)",
839         "ScaleUnit": "100%"
840     },
841     {
842         "BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to IEC or FPC RAT stalls, which can be due to FIQ or IEC reservation stalls in which the integer, floating point or SIMD scheduler is not able to accept uops",
843         "MetricExpr": "TOPDOWN_BE_BOUND.NON_MEM_SCHEDULER / (6 * CPU_CLK_UNHALTED.CORE)",
844         "MetricGroup": "TopdownL3;tma_L3_group;tma_resource_bound_group",
845         "MetricName": "tma_non_mem_scheduler",
846         "MetricThreshold": "tma_non_mem_scheduler > 0.1 & (tma_resource_bound > 0.2 & tma_backend_bound > 0.1)",
847         "ScaleUnit": "100%"
848     },
849     {
850         "BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to a machine clear that requires the use of microcode (slow nuke)",
851         "MetricExpr": "TOPDOWN_BAD_SPECULATION.NUKE / (6 * CPU_CLK_UNHALTED.CORE)",
852         "MetricGroup": "TopdownL3;tma_L3_group;tma_machine_clears_group",
853         "MetricName": "tma_nuke",
854         "MetricThreshold": "tma_nuke > 0.05 & (tma_machine_clears > 0.05 & tma_bad_speculation > 0.15)",
855         "ScaleUnit": "100%"
856     },
857     {
858         "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to other common frontend stalls not categorized.",
859         "MetricExpr": "TOPDOWN_FE_BOUND.OTHER / (6 * CPU_CLK_UNHALTED.CORE)",
860         "MetricGroup": "TopdownL3;tma_L3_group;tma_ifetch_bandwidth_group",
861         "MetricName": "tma_other_fb",
862         "MetricThreshold": "tma_other_fb > 0.05 & (tma_ifetch_bandwidth > 0.1 & tma_frontend_bound > 0.2)",
863         "ScaleUnit": "100%"
864     },
865     {
866         "BriefDescription": "Counts the number of issue slots that were not delivered by the frontend due to wrong predecodes.",
867         "MetricExpr": "TOPDOWN_FE_BOUND.PREDECODE / (6 * CPU_CLK_UNHALTED.CORE)",
868         "MetricGroup": "TopdownL3;tma_L3_group;tma_ifetch_bandwidth_group",
869         "MetricName": "tma_predecode",
870         "MetricThreshold": "tma_predecode > 0.05 & (tma_ifetch_bandwidth > 0.1 & tma_frontend_bound > 0.2)",
871         "ScaleUnit": "100%"
872     },
873     {
874         "BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to the physical register file unable to accept an entry (marble stalls)",
875         "MetricExpr": "TOPDOWN_BE_BOUND.REGISTER / (6 * CPU_CLK_UNHALTED.CORE)",
876         "MetricGroup": "TopdownL3;tma_L3_group;tma_resource_bound_group",
877         "MetricName": "tma_register",
878         "MetricThreshold": "tma_register > 0.1 & (tma_resource_bound > 0.2 & tma_backend_bound > 0.1)",
879         "ScaleUnit": "100%"
880     },
881     {
882         "BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to the reorder buffer being full (ROB stalls)",
883         "MetricExpr": "TOPDOWN_BE_BOUND.REORDER_BUFFER / (6 * CPU_CLK_UNHALTED.CORE)",
884         "MetricGroup": "TopdownL3;tma_L3_group;tma_resource_bound_group",
885         "MetricName": "tma_reorder_buffer",
886         "MetricThreshold": "tma_reorder_buffer > 0.1 & (tma_resource_bound > 0.2 & tma_backend_bound > 0.1)",
887         "ScaleUnit": "100%"
888     },
889     {
890         "BriefDescription": "Counts the number of cycles the core is stalled due to a resource limitation",
891         "MetricExpr": "tma_backend_bound - tma_core_bound",
892         "MetricGroup": "TopdownL2;tma_L2_group;tma_backend_bound_group",
893         "MetricName": "tma_resource_bound",
894         "MetricThreshold": "tma_resource_bound > 0.2 & tma_backend_bound > 0.1",
895         "MetricgroupNoGroup": "TopdownL2",
896         "ScaleUnit": "100%"
897     },
898     {
899         "BriefDescription": "Counts the number of issue slots that result in retirement slots",
900         "MetricExpr": "TOPDOWN_RETIRING.ALL_P / (6 * CPU_CLK_UNHALTED.CORE)",
901         "MetricGroup": "TopdownL1;tma_L1_group",
902         "MetricName": "tma_retiring",
903         "MetricThreshold": "tma_retiring > 0.75",
904         "MetricgroupNoGroup": "TopdownL1",
905         "ScaleUnit": "100%"
906     },
907     {
908         "BriefDescription": "Counts the number of issue slots that were not consumed by the backend due to scoreboards from the instruction queue (IQ), jump execution unit (JEU), or microcode sequencer (MS)",
909         "MetricExpr": "TOPDOWN_BE_BOUND.SERIALIZATION / (6 * CPU_CLK_UNHALTED.CORE)",
910         "MetricGroup": "TopdownL3;tma_L3_group;tma_resource_bound_group",
911         "MetricName": "tma_serialization",
912         "MetricThreshold": "tma_serialization > 0.1 & (tma_resource_bound > 0.2 & tma_backend_bound > 0.1)",
913         "ScaleUnit": "100%"
914     },
915     {
916         "BriefDescription": "Uncore operating frequency in GHz",
917         "MetricExpr": "UNC_CHA_CLOCKTICKS / (source_count(UNC_CHA_CLOCKTICKS) * #num_packages) / 1e9 / duration_time",
918         "MetricName": "uncore_frequency",
919         "ScaleUnit": "1GHz"
920     },
921     {
922         "BriefDescription": "Intel(R) Ultra Path Interconnect (UPI) data transmit bandwidth (MB/sec)",
923         "MetricExpr": "UNC_UPI_TxL_FLITS.ALL_DATA * 7.111111111111111 / 1e6 / duration_time",
924         "MetricName": "upi_data_transmit_bw",
925         "ScaleUnit": "1MB/s"
926     }
927 ]

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php