From f8e4c0a0a4f1b34607c780d70d9edddbfb43e459 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Thu, 22 Jul 2021 12:36:02 +0200 Subject: [PATCH] Add speed test --- test_speed.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 test_speed.c diff --git a/test_speed.c b/test_speed.c new file mode 100644 index 0000000..555463a --- /dev/null +++ b/test_speed.c @@ -0,0 +1,26 @@ +#include +#include +#include +#include + +#include "ovni.h" + +#define N 1000 + +int main() +{ + int i; + + ovni_proc_init(0, 0); + ovni_thread_init(1); + + for(i=0; i