summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAshwin Prabhakar <ashwin.prabhakar@qti.qualcomm.com>2026-06-02 11:43:13 +0200
committerKhem Raj <khem.raj@oss.qualcomm.com>2026-06-14 23:07:49 -0700
commit6d5577066c4747e28974fc5a6671762966a6f8cb (patch)
tree23076c60ef666bd5d8054a5f048b2c339e83c06e
parentc3e430ec85022244d2f67ccd5e473bf6abd21f2c (diff)
downloadmeta-openembedded-6d5577066c4747e28974fc5a6671762966a6f8cb.tar.gz
ramspeed: Add recipe for cache and memory benchmarking tool
Add a new recipe for ramspeed, a lightweight benchmark utility that measures cache and memory bandwidth using a set of synthetic tests. Signed-off-by: Ashwin Prabhakar <ashwin.prabhakar@qti.qualcomm.com> ramspeed: Add recipe for cache and memory benchmarking tool Add a new recipe for ramspeed, a lightweight benchmark utility that measures cache and memory bandwidth using a set of synthetic tests. Signed-off-by: Ashwin Prabhakar <ashwin.prabhakar@qti.qualcomm.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
-rw-r--r--meta-oe/licenses/Alasir47
-rw-r--r--meta-oe/recipes-benchmark/ramspeed/ramspeed_git.bb21
2 files changed, 68 insertions, 0 deletions
diff --git a/meta-oe/licenses/Alasir b/meta-oe/licenses/Alasir
new file mode 100644
index 0000000000..488a3653c5
--- /dev/null
+++ b/meta-oe/licenses/Alasir
@@ -0,0 +1,47 @@
1 The Alasir Licence
2
3
4 This is a free software. It's provided as-is and carries absolutely no
5warranty or responsibility by the author and the contributors, neither in
6general nor in particular. No matter if this software is able or unable to
7cause any damage to your or third party's computer hardware, software, or any
8other asset available, neither the author nor a separate contributor may be
9found liable for any harm or its consequences resulting from either proper or
10improper use of the software, even if advised of the possibility of certain
11injury as such and so forth.
12
13 The software isn't a public domain, it's a copyrighted one. In no event
14shall the author's or a separate contributor's copyright be denied or violated
15otherwise. No copyright may be removed unless together with the code
16contributed to the software by a holder of the respective copyright. A
17copyright itself indicates the rights of ownership over the code contributed.
18Back and forth, the author is defined as the one who holds the oldest
19copyright over the software. Furthermore, the software is defined as either
20source or binary computer code, which is organised in the form of a single
21computer file usually.
22
23 The software (the whole or a part of it) is prohibited from being sold or
24leased in any form or manner with the only possible exceptions:
25
26a) money may be charged for a physical medium used to transfer the software;
27b) money may be charged for optional warranty or support services related to
28 the software.
29
30 Nevertheless, if the software (the whole or a part of it) is desired to
31become an object of sale or lease (the whole or a part of it), then a separate
32non-exclusive licence agreement must be negotiated from the author. Benefits
33accrued should be distributed between the contributors or likewise at the
34author's option.
35
36 Whenever and wherever the software is distributed, in either source or
37binary form, either in whole or in part, it must include the complete
38unchanged text of this licence agreement unless different conditions have been
39negotiated. In case of a binary-only distribution, the names of the copyright
40holders must be mentioned in the documentation supplied with the software.
41This is supposed to protect rights and freedom of those who have contributed
42their time and labour to free software development, because otherwise the
43development itself and this licence agreement are of a very little sense.
44
45 Nothing else but this licence agreement grants you rights to use, modify
46and distribute the software. Any violation of this licence agreement is
47recognised as an action prohibited by an applicable legislation.
diff --git a/meta-oe/recipes-benchmark/ramspeed/ramspeed_git.bb b/meta-oe/recipes-benchmark/ramspeed/ramspeed_git.bb
new file mode 100644
index 0000000000..db5e16d8f6
--- /dev/null
+++ b/meta-oe/recipes-benchmark/ramspeed/ramspeed_git.bb
@@ -0,0 +1,21 @@
1SUMMARY = "Cache and memory benchmarking tool"
2DESCRIPTION = "RAMspeed is a micro-benchmark for measuring cache and memory bandwidth"
3HOMEPAGE = "https://github.com/cruvolo/ramspeed"
4
5LICENSE = "Alasir"
6LIC_FILES_CHKSUM = "file://LICENCE;md5=92cffec6695a20eab8d0e4770f4e9353"
7LICENSE_FLAGS = "commercial"
8
9SRC_URI = "git://github.com/cruvolo/ramspeed.git;protocol=https;branch=master"
10SRCREV = "f3a766dc4f89cee97b5283d5c6bdf8b8e3474813"
11
12do_compile() {
13 ${CC} ${CFLAGS} ${LDFLAGS} \
14 ramspeed.c intmem.c fltmem.c intmark.c fltmark.c \
15 -o ramspeed
16}
17
18do_install() {
19 install -d ${D}${bindir}
20 install -m 0755 ramspeed ${D}${bindir}/
21}