Yes, I use the imx8mm_ddr_write.all, I just re-name the metric, change nothing else.imx8_ddr.write_cycles: 13153 1000495125 1000495125# 205.5 MB imx8mm_ddr_write.all
# time counts unit events
1.000476625 13153 imx8_ddr.write_cycles
imx8_ddr.write_cycles: 3582 1000681375 1000681375# 56.0 MB imx8mm_ddr_write.all
2.001167750 3582 imx8_ddr.write_cycles
Note: for this example, I don't know why you didn't use imx8mm_ddr_write.all,
8QM:
root@imx8qmmek:~# ./perf stat -v -a -I 1000 -M imx8qm_ddr_read.all
as for your 8MM test, so we can compare the same.
Using CPUID 0x00000000410fd030
metric expr imx8_ddr.read_cycles * 4 * 4 for i