aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/spawn/spawn.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-11-02 16:19:11 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2024-11-02 16:19:11 +0200
commit010152de4f19fcb4f1b627123aa27f08deb13e72 (patch)
tree44a8b65c4d1af8f90c2d7912d000954caad14585 /benchmarks/spawn/spawn.c
parent21efbba39340300a7ba9d5f4f94017f5ff956833 (diff)
downloadkmi-010152de4f19fcb4f1b627123aa27f08deb13e72.tar.gz
kmi-010152de4f19fcb4f1b627123aa27f08deb13e72.zip
add spawn benchmark
Diffstat (limited to 'benchmarks/spawn/spawn.c')
-rw-r--r--benchmarks/spawn/spawn.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/benchmarks/spawn/spawn.c b/benchmarks/spawn/spawn.c
new file mode 100644
index 0000000..c6a2f8e
--- /dev/null
+++ b/benchmarks/spawn/spawn.c
@@ -0,0 +1,14 @@
+#include <common/benchmark.h>
+
+START(pid, tid, d0, d1, d2, d3)
+{
+ UNUSED(pid);
+ UNUSED(tid);
+ UNUSED(d0);
+ UNUSED(d1);
+ UNUSED(d2);
+ UNUSED(d3);
+
+ printf("not sure how we got here?\n");
+ /* die or something */
+}