xref: /linux/tools/perf/pmu-events/arch/arm64/freescale/imx91/sys/metrics.json (revision 1dc707e647bc919834eff9636c8d00b78c782545)
1[
2   {
3	    "BriefDescription": "bandwidth usage for lpddr4 evk board",
4	    "MetricName": "imx91_bandwidth_usage.lpddr4",
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) / (2400 * 1000000 * 2)",
6	    "ScaleUnit": "1e2%",
7	    "Unit": "imx9_ddr",
8	    "Compat": "imx91"
9   },
10   {
11	    "BriefDescription": "bytes all masters read from ddr",
12	    "MetricName": "imx91_ddr_read.all",
13	    "MetricExpr": "( imx9_ddr0@ddrc_pm_0@ ) * 2 * 8",
14	    "ScaleUnit": "9.765625e-4KB",
15	    "Unit": "imx9_ddr",
16	    "Compat": "imx91"
17   },
18   {
19	    "BriefDescription": "bytes all masters write to ddr",
20	    "MetricName": "imx91_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": "imx91"
25   }
26]
27