X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2847e093dd8f81f32172ed41178acad8ef46566f..06f0d1d110338b3eb607633583183a076f7d2722:/testsuite/surf/maxmin_bench.c diff --git a/testsuite/surf/maxmin_bench.c b/testsuite/surf/maxmin_bench.c index 08eb1ac6fa..84c10334c6 100644 --- a/testsuite/surf/maxmin_bench.c +++ b/testsuite/surf/maxmin_bench.c @@ -10,7 +10,7 @@ #include #include #include "surf/maxmin.h" -#include "gras/virtu.h" /* time manipulation for benchmarking */ +#include "xbt/sysdep.h" /* time manipulation for benchmarking */ double date; @@ -56,9 +56,9 @@ void test(int nb_cnst, int nb_var, int nb_elem) } } - date = gras_os_time() * 1000000; + date = xbt_os_time() * 1000000; lmm_solve(Sys); - date = gras_os_time() * 1000000 - date; + date = xbt_os_time() * 1000000 - date; lmm_system_free(Sys); free(cnst); @@ -72,7 +72,7 @@ int main(int argc, char **argv) int nb_cnst = 2000; int nb_var = 2000; int nb_elem = 20; - date = gras_os_time() * 1000000; + date = xbt_os_time() * 1000000; test(nb_cnst, nb_var, nb_elem); printf("One shot execution time for a total of %d constraints, " "%d variables with %d active constraint each : %lg microsecondes \n",