Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Destructor should be virtual.
[simgrid.git] / testsuite / xbt / parmap_bench.c
index d63bfc3..e95d77d 100644 (file)
@@ -4,6 +4,7 @@
 #include <xbt/parmap.h>
 #include <xbt/sysdep.h>
 #include <internal_config.h>        /* HAVE_FUTEX_H */
+#include "simgrid/simix.h"
 #include "xbt/xbt_os_time.h"
 
 #define MODES_DEFAULT 0x7
@@ -166,6 +167,8 @@ int main(int argc, char *argv[])
   int nthreads;
   unsigned modes = MODES_DEFAULT;
 
+  SIMIX_global_init(&argc, argv);
+
   if (argc != 2 && argc != 3) {
     fprintf(stderr,
             "Usage: %s nthreads [modes]\n"