osbench: Add osbench recipe for OS benchmarking tools

Add a new recipe for osbench, a collection of micro-benchmarks
to measure operating system primitives such as process creation,
thread creation, file operations, and memory allocation.

Signed-off-by: Ashwin Prabhakar <ashwin.prabhakar@qti.qualcomm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Ashwin Prabhakar
2026-06-02 11:00:08 +02:00
committed by Khem Raj
parent fd914c8d8f
commit 49dac62f88
@@ -0,0 +1,23 @@
SUMMARY = "Operating system benchmark tools"
DESCRIPTION = "A collection of micro-benchmarks that measure the performance of OS primitives"
HOMEPAGE = "https://gitlab.com/mbitsnbites/osbench"
LICENSE = "Unlicense"
LIC_FILES_CHKSUM = "file://UNLICENSE;md5=7246f848faa4e9c9fc0ea91122d6e680"
SRC_URI = "git://gitlab.com/mbitsnbites/osbench.git;protocol=https;branch=master"
SRCREV = "c59c7c58649162c33250a326ca8fa582b520a29e"
inherit meson
MESON_SOURCEPATH = "${S}/src"
do_install() {
install -d ${D}${bindir}
install -m 0755 ${B}/create_processes ${D}${bindir}/
install -m 0755 ${B}/create_threads ${D}${bindir}/
install -m 0755 ${B}/create_files ${D}${bindir}/
install -m 0755 ${B}/launch_programs ${D}${bindir}/
install -m 0755 ${B}/mem_alloc ${D}${bindir}/
}