From 49dac62f887944ac3555060a143c4d528cd5f2f3 Mon Sep 17 00:00:00 2001 From: Ashwin Prabhakar Date: Tue, 2 Jun 2026 11:00:08 +0200 Subject: [PATCH] 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 Signed-off-by: Khem Raj --- .../recipes-benchmark/osbench/osbench_git.bb | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 meta-oe/recipes-benchmark/osbench/osbench_git.bb diff --git a/meta-oe/recipes-benchmark/osbench/osbench_git.bb b/meta-oe/recipes-benchmark/osbench/osbench_git.bb new file mode 100644 index 0000000000..77ac870701 --- /dev/null +++ b/meta-oe/recipes-benchmark/osbench/osbench_git.bb @@ -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}/ +}