perf test: Adjust case of test metrics
[platform/kernel/linux-starfive.git] / tools / perf / pmu-events / arch / test / test_soc / cpu / metrics.json
1 [
2   {
3     "MetricExpr": "1 / IPC",
4     "MetricName": "CPI"
5   },
6   {
7     "MetricExpr": "inst_retired.any / cpu_clk_unhalted.thread",
8     "MetricName": "IPC",
9     "MetricGroup": "group1"
10   },
11   {
12     "MetricExpr": "idq_uops_not_delivered.core / (4 * (( ( cpu_clk_unhalted.thread / 2 ) * ( 1 + cpu_clk_unhalted.one_thread_active / cpu_clk_unhalted.ref_xclk ) )))",
13     "MetricName": "Frontend_Bound_SMT"
14   },
15   {
16     "MetricExpr": "l1d\\-loads\\-misses / inst_retired.any",
17     "MetricName": "dcache_miss_cpi"
18   },
19   {
20     "MetricExpr": "l1i\\-loads\\-misses / inst_retired.any",
21     "MetricName": "icache_miss_cycles"
22   },
23   {
24     "MetricExpr": "(dcache_miss_cpi + icache_miss_cycles)",
25     "MetricName": "cache_miss_cycles",
26     "MetricGroup": "group1"
27   },
28   {
29     "MetricExpr": "l2_rqsts.demand_data_rd_hit + l2_rqsts.pf_hit + l2_rqsts.rfo_hit",
30     "MetricName": "DCache_L2_All_Hits"
31   },
32   {
33     "MetricExpr": "max(l2_rqsts.all_demand_data_rd - l2_rqsts.demand_data_rd_hit, 0) + l2_rqsts.pf_miss + l2_rqsts.rfo_miss",
34     "MetricName": "DCache_L2_All_Miss"
35   },
36   {
37     "MetricExpr": "DCache_L2_All_Hits + DCache_L2_All_Miss",
38     "MetricName": "DCache_L2_All"
39   },
40   {
41     "MetricExpr": "d_ratio(DCache_L2_All_Hits, DCache_L2_All)",
42     "MetricName": "DCache_L2_Hits"
43   },
44   {
45     "MetricExpr": "d_ratio(DCache_L2_All_Miss, DCache_L2_All)",
46     "MetricName": "DCache_L2_Misses"
47   },
48   {
49     "MetricExpr": "ipc + M2",
50     "MetricName": "M1"
51   },
52   {
53     "MetricExpr": "ipc + M1",
54     "MetricName": "M2"
55   },
56   {
57     "MetricExpr": "1/M3",
58     "MetricName": "M3"
59   },
60   {
61     "MetricExpr": "64 * l1d.replacement / 1000000000 / duration_time",
62     "MetricName": "L1D_Cache_Fill_BW"
63   }
64 ]