f7f6266daf
Add bandwidth usage metric for i.MX8QM DDR Perf.
Test Report:
------------------------------------------------------
root@imx8qmmek:~# ./perf list metric
List of pre-defined events (to be used in -e):
Metrics:
imx8qm-ddr0-all-r
[imx8qm: bytes of all masters read from ddr0]
imx8qm-ddr0-all-w
[imx8qm: bytes of all masters write to ddr0]
imx8qm-ddr0-bandwidth-usage
[imx8qm: percentage of bandwidth usage for ddr0]
imx8qm-ddr1-all-r
[imx8qm: bytes of all masters read from ddr1]
imx8qm-ddr1-all-w
[imx8qm: bytes of all masters write to ddr1]
imx8qm-ddr1-bandwidth-usage
[imx8qm: percentage of bandwidth usage for ddr1]
------------------------------------------------------
root@imx8qmmek:~# ./perf stat -a -I 1000 -M imx8qm-ddr0-bandwidth-usage dd if=/dev/zero of=/dev/null bs=1M count=1000000
1.000137560 8403160 imx8_ddr0/read-cycles/ # 11.9 % imx8qm-ddr0-bandwidth-usage
1.000137560 86499449 imx8_ddr0/write-cycles/
1.000137560 1000137560 ns duration_time
2.000542875
|
||
---|---|---|
.. | ||
arm64 | ||
nds32 | ||
powerpc | ||
s390 | ||
x86 |