xref: /linux/tools/perf/pmu-events/arch/arm64/freescale/imx93/sys/metrics.json (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1[
2   {
3	    "BriefDescription": "bandwidth usage for lpddr4x evk board",
4	    "MetricName": "imx93_bandwidth_usage.lpddr4x",
5	    "MetricExpr": "(((( imx9_ddr0@ddrc_pm_0@ ) * 2 * 8 ) + (( imx9_ddr0@ddrc_pm_3@ + imx9_ddr0@ddrc_pm_5@ + imx9_ddr0@ddrc_pm_7@ + imx9_ddr0@ddrc_pm_9@ - imx9_ddr0@ddrc_pm_2@ - imx9_ddr0@ddrc_pm_4@ - imx9_ddr0@ddrc_pm_6@ - imx9_ddr0@ddrc_pm_8@ ) * 32 )) / duration_time) / (3733 * 1000000 * 2)",
6	    "ScaleUnit": "1e2%",
7	    "Unit": "imx9_ddr",
8	    "Compat": "imx93"
9   },
10   {
11	    "BriefDescription": "bytes all masters read from ddr",
12	    "MetricName": "imx93_ddr_read.all",
13	    "MetricExpr": "( imx9_ddr0@ddrc_pm_0@ ) * 2 * 8",
14	    "ScaleUnit": "9.765625e-4KB",
15	    "Unit": "imx9_ddr",
16	    "Compat": "imx93"
17   },
18   {
19	    "BriefDescription": "bytes all masters write to ddr",
20	    "MetricName": "imx93_ddr_write.all",
21	    "MetricExpr": "( imx9_ddr0@ddrc_pm_3@ + imx9_ddr0@ddrc_pm_5@ + imx9_ddr0@ddrc_pm_7@ + imx9_ddr0@ddrc_pm_9@ - imx9_ddr0@ddrc_pm_2@ - imx9_ddr0@ddrc_pm_4@ - imx9_ddr0@ddrc_pm_6@ - imx9_ddr0@ddrc_pm_8@ ) * 32",
22	    "ScaleUnit": "9.765625e-4KB",
23	    "Unit": "imx9_ddr",
24	    "Compat": "imx93"
25   }
26]
27