From: Arnaud Giersch Date: Wed, 4 Jul 2012 13:29:54 +0000 (+0200) Subject: Call xbt_init() to parse the command line, specially "--log=...". X-Git-Tag: v3_8~341 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/05769734ac1a0c11d3e9fe8be324f8ee73c8e37a Call xbt_init() to parse the command line, specially "--log=...". --- diff --git a/testsuite/surf/maxmin_bench.c b/testsuite/surf/maxmin_bench.c index c599596943..4d0f905701 100644 --- a/testsuite/surf/maxmin_bench.c +++ b/testsuite/surf/maxmin_bench.c @@ -14,6 +14,7 @@ #include #include #include "surf/maxmin.h" +#include "xbt/module.h" #include "xbt/xbt_os_time.h" #include "xbt/sysdep.h" /* time manipulation for benchmarking */ @@ -84,6 +85,7 @@ int main(int argc, char **argv) int nb_cnst = 2000; int nb_var = 2000; int nb_elem = 80; + xbt_init(&argc, argv); date = xbt_os_time() * 1000000; test(nb_cnst, nb_var, nb_elem); printf("One shot execution time for a total of %d constraints, "