From 38402a4968328e289ef5ae133097879521531afb Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Fri, 6 Mar 2009 22:24:41 +0100 Subject: [PATCH] mbw: added 1.1 version of simple memory bandwidth benchmark Results from my devices: root@bug:~# mbw 16|grep AVG AVG Method: MEMCPY Elapsed: 0.16403 MiB: 16.00000 Copy: 97.544 MiB/s AVG Method: DUMB Elapsed: 0.12401 MiB: 16.00000 Copy: 129.023 MiB/s AVG Method: MCBLOCK Elapsed: 0.09725 MiB: 16.00000 Copy: 164.519 MiB/s root@at91sam9263ek:~# mbw 16|grep AVG AVG Method: MEMCPY Elapsed: 0.30546 MiB: 16.00000 Copy: 52.381 MiB/s AVG Method: DUMB Elapsed: 0.13668 MiB: 16.00000 Copy: 117.064 MiB/s AVG Method: MCBLOCK Elapsed: 0.15507 MiB: 16.00000 Copy: 103.181 MiB/s root@vortex86sx:~# mbw 16|grep AVG AVG Method: MEMCPY Elapsed: 0.55531 MiB: 16.00000 Copy: 28.813 MiB/s AVG Method: DUMB Elapsed: 1.04163 MiB: 16.00000 Copy: 15.361 MiB/s AVG Method: MCBLOCK Elapsed: 1.26276 MiB: 16.00000 Copy: 12.671 MiB/s --- packages/mbw/mbw_1.1.bb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 packages/mbw/mbw_1.1.bb diff --git a/packages/mbw/mbw_1.1.bb b/packages/mbw/mbw_1.1.bb new file mode 100644 index 0000000000..31ba432431 --- /dev/null +++ b/packages/mbw/mbw_1.1.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "Memory bandwidth benchmark" +AUTHOR = "Andras Horvath " + +SRC_URI = "http://ahorvath.web.cern.ch/ahorvath/mbw/mbw-${PV}-1.tar.gz" + +S = "${WORKDIR}/mbw/" + +inherit autotools + +do_install() { + install -d ${D}${bindir} ${D}${mandir} + install -m 755 mbw ${D}${bindir} + install -m 644 mbw.1 ${D}${mandir}/man1/ +} -- 2.39.5