From: Marcin Juszkiewicz Date: Fri, 6 Mar 2009 21:24:41 +0000 (+0100) Subject: mbw: added 1.1 version of simple memory bandwidth benchmark X-Git-Tag: Release-2010-05/1~3838 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38402a4968328e289ef5ae133097879521531afb;p=openembedded.git 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 --- 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/ +}