diff options
| author | Ashwin Prabhakar <ashwin.prabhakar@qti.qualcomm.com> | 2026-06-02 11:43:13 +0200 |
|---|---|---|
| committer | Khem Raj <khem.raj@oss.qualcomm.com> | 2026-06-14 23:07:49 -0700 |
| commit | 6d5577066c4747e28974fc5a6671762966a6f8cb (patch) | |
| tree | 23076c60ef666bd5d8054a5f048b2c339e83c06e | |
| parent | c3e430ec85022244d2f67ccd5e473bf6abd21f2c (diff) | |
| download | meta-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/Alasir | 47 | ||||
| -rw-r--r-- | meta-oe/recipes-benchmark/ramspeed/ramspeed_git.bb | 21 |
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 | ||
| 5 | warranty or responsibility by the author and the contributors, neither in | ||
| 6 | general nor in particular. No matter if this software is able or unable to | ||
| 7 | cause any damage to your or third party's computer hardware, software, or any | ||
| 8 | other asset available, neither the author nor a separate contributor may be | ||
| 9 | found liable for any harm or its consequences resulting from either proper or | ||
| 10 | improper use of the software, even if advised of the possibility of certain | ||
| 11 | injury as such and so forth. | ||
| 12 | |||
| 13 | The software isn't a public domain, it's a copyrighted one. In no event | ||
| 14 | shall the author's or a separate contributor's copyright be denied or violated | ||
| 15 | otherwise. No copyright may be removed unless together with the code | ||
| 16 | contributed to the software by a holder of the respective copyright. A | ||
| 17 | copyright itself indicates the rights of ownership over the code contributed. | ||
| 18 | Back and forth, the author is defined as the one who holds the oldest | ||
| 19 | copyright over the software. Furthermore, the software is defined as either | ||
| 20 | source or binary computer code, which is organised in the form of a single | ||
| 21 | computer file usually. | ||
| 22 | |||
| 23 | The software (the whole or a part of it) is prohibited from being sold or | ||
| 24 | leased in any form or manner with the only possible exceptions: | ||
| 25 | |||
| 26 | a) money may be charged for a physical medium used to transfer the software; | ||
| 27 | b) 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 | ||
| 31 | become an object of sale or lease (the whole or a part of it), then a separate | ||
| 32 | non-exclusive licence agreement must be negotiated from the author. Benefits | ||
| 33 | accrued should be distributed between the contributors or likewise at the | ||
| 34 | author's option. | ||
| 35 | |||
| 36 | Whenever and wherever the software is distributed, in either source or | ||
| 37 | binary form, either in whole or in part, it must include the complete | ||
| 38 | unchanged text of this licence agreement unless different conditions have been | ||
| 39 | negotiated. In case of a binary-only distribution, the names of the copyright | ||
| 40 | holders must be mentioned in the documentation supplied with the software. | ||
| 41 | This is supposed to protect rights and freedom of those who have contributed | ||
| 42 | their time and labour to free software development, because otherwise the | ||
| 43 | development 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 | ||
| 46 | and distribute the software. Any violation of this licence agreement is | ||
| 47 | recognised 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 @@ | |||
| 1 | SUMMARY = "Cache and memory benchmarking tool" | ||
| 2 | DESCRIPTION = "RAMspeed is a micro-benchmark for measuring cache and memory bandwidth" | ||
| 3 | HOMEPAGE = "https://github.com/cruvolo/ramspeed" | ||
| 4 | |||
| 5 | LICENSE = "Alasir" | ||
| 6 | LIC_FILES_CHKSUM = "file://LICENCE;md5=92cffec6695a20eab8d0e4770f4e9353" | ||
| 7 | LICENSE_FLAGS = "commercial" | ||
| 8 | |||
| 9 | SRC_URI = "git://github.com/cruvolo/ramspeed.git;protocol=https;branch=master" | ||
| 10 | SRCREV = "f3a766dc4f89cee97b5283d5c6bdf8b8e3474813" | ||
| 11 | |||
| 12 | do_compile() { | ||
| 13 | ${CC} ${CFLAGS} ${LDFLAGS} \ | ||
| 14 | ramspeed.c intmem.c fltmem.c intmark.c fltmark.c \ | ||
| 15 | -o ramspeed | ||
| 16 | } | ||
| 17 | |||
| 18 | do_install() { | ||
| 19 | install -d ${D}${bindir} | ||
| 20 | install -m 0755 ramspeed ${D}${bindir}/ | ||
| 21 | } | ||
