summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorZhengyu Shen <zhengyu.shen@nxp.com>2016-09-19 12:57:29 -0500
committerShawn Guo <shawnguo@kernel.org>2016-10-23 20:39:01 +0800
commite76bdfd7403aae582461901955d0136381e34435 (patch)
tree4227f1d410683da85551aaf2331434c6070b96d1 /tools
parent1001354ca34179f3db924eb66672442a173147dc (diff)
downloadblackbird-obmc-linux-e76bdfd7403aae582461901955d0136381e34435.tar.gz
blackbird-obmc-linux-e76bdfd7403aae582461901955d0136381e34435.zip
ARM: imx: Added perf functionality to mmdc driver
MMDC is a multi-mode DDR controller that supports DDR3/DDR3L x16/x32/x64 and LPDDR2 two channel x16/x32 memory types. MMDC is configurable, high performance, and optimized. MMDC is present on i.MX6 Quad and i.MX6 QuadPlus devices, but this driver only supports i.MX6 Quad at the moment. MMDC provides registers for performance counters which read via this driver to help debug memory throughput and similar issues. $ perf stat -a -e mmdc/busy-cycles/,mmdc/read-accesses/,mmdc/read-bytes/,mmdc/total-cycles/,mmdc/write-accesses/,mmdc/write-bytes/ dd if=/dev/zero of=/dev/null bs=1M count=5000 Performance counter stats for 'dd if=/dev/zero of=/dev/null bs=1M count=5000': 898021787 mmdc/busy-cycles/ 14819600 mmdc/read-accesses/ 471.30 MB mmdc/read-bytes/ 2815419216 mmdc/total-cycles/ 13367354 mmdc/write-accesses/ 427.76 MB mmdc/write-bytes/ 5.334757334 seconds time elapsed Signed-off-by: Zhengyu Shen <zhengyu.shen@nxp.com> Signed-off-by: Frank Li <frank.li@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud