[oe] [meta-oe][PATCH] pmbw: add recipe for ram benchmarks

Stefan Müller-Klieser s.mueller-klieser at phytec.de
Sun Dec 18 17:49:28 UTC 2016


This adds the Parallel Memory Bandwidth Benchmark tool to the layer. It
consists of a collection of assembly routines for testing cache and
memory access performance. It also contains a converter to generate
gnuplot scripts for the results.

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser at phytec.de>
---
 meta-oe/recipes-benchmark/pmbw/pmbw_git.bb | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 meta-oe/recipes-benchmark/pmbw/pmbw_git.bb

diff --git a/meta-oe/recipes-benchmark/pmbw/pmbw_git.bb b/meta-oe/recipes-benchmark/pmbw/pmbw_git.bb
new file mode 100644
index 0000000..7a69395
--- /dev/null
+++ b/meta-oe/recipes-benchmark/pmbw/pmbw_git.bb
@@ -0,0 +1,28 @@
+SUMMERY = "Parallel Memory Bandwidth Measurement / Benchmark"
+DESCRIPTION = "\
+The tool pmbw is a set of assembler routines to measure the parallel memory \
+(cache and RAM) bandwidth of modern multi-core machines."
+HOMEPAGE = "http://panthema.net/2013/pmbw/"
+SECTION = "benchmark/tests"
+AUTHOR = "Timo Bingmann"
+LICENSE = "GPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
+
+SRC_URI = "git://github.com/bingmann/pmbw;protocol=https"
+
+PV = "0.6.2+git${SRCPV}"
+SRCREV = "4a3b37728060a8aba06fc83f157a1965088d79d6"
+
+S = "${WORKDIR}/git"
+
+inherit autotools
+
+# the hand coded asm uses r11, which therefore cannot be used for storing
+# the frame pointer when debugging on arm
+SELECTED_OPTIMIZATION_remove_arm = "-fno-omit-frame-pointer"
+
+PACKAGES =+ "${PN}-stats2gnuplot"
+
+FILES_${PN}-stats2gnuplot = "${bindir}/stats2gnuplot"
+
+RRECOMMENDS_${PN} = "${PN}-stats2gnuplot"
-- 
1.9.1




More information about the Openembedded-devel mailing list