linux/tools/perf/pmu-events/arch/arm64/freescale/imx93/sys/metrics.json

[
   {
	    "BriefDescription": "bandwidth usage for lpddr4x evk board",
	    "MetricName": "imx93_bandwidth_usage.lpddr4x",
	    "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)",
	    "ScaleUnit": "1e2%",
	    "Unit": "imx9_ddr",
	    "Compat": "imx93"
   },
   {
	    "BriefDescription": "bytes all masters read from ddr",
	    "MetricName": "imx93_ddr_read.all",
	    "MetricExpr": "( imx9_ddr0@ddrc_pm_0@ ) * 2 * 8",
	    "ScaleUnit": "9.765625e-4KB",
	    "Unit": "imx9_ddr",
	    "Compat": "imx93"
   },
   {
	    "BriefDescription": "bytes all masters write to ddr",
	    "MetricName": "imx93_ddr_write.all",
	    "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",
	    "ScaleUnit": "9.765625e-4KB",
	    "Unit": "imx9_ddr",
	    "Compat": "imx93"
   }
]