X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/eb3be59d63b0d199fa3f32b5a22553e44cfb917a..1d28353196f968370fb0887166135f2de5f20596:/testsuite/xbt/parmap_bench.c diff --git a/testsuite/xbt/parmap_bench.c b/testsuite/xbt/parmap_bench.c index cec94262e2..e6558bc986 100644 --- a/testsuite/xbt/parmap_bench.c +++ b/testsuite/xbt/parmap_bench.c @@ -1,9 +1,16 @@ +/* Copyright (c) 2012-2014. The SimGrid Team. + * All rights reserved. */ + +/* This program is free software; you can redistribute it and/or modify it + * under the terms of the license (GNU LGPL) which comes with this package. */ + #include #include #include #include #include -#include /* HAVE_FUTEX_H */ +#include /* HAVE_FUTEX_H */ +#include "simgrid/simix.h" #include "xbt/xbt_os_time.h" #define MODES_DEFAULT 0x7 @@ -166,6 +173,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"