From 05769734ac1a0c11d3e9fe8be324f8ee73c8e37a Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Wed, 4 Jul 2012 15:29:54 +0200 Subject: [PATCH] Call xbt_init() to parse the command line, specially "--log=...". --- testsuite/surf/maxmin_bench.c | 2 ++ 1 file changed, 2 insertions(+) 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, " -- 2.20.1