X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b060993afec218c8b2e08367f98b10b2fa824309..91ca39d79fbd3e53ea3cc5fdff3a7ec0348cfcfc:/examples/simdag/goal/goal_test.c diff --git a/examples/simdag/goal/goal_test.c b/examples/simdag/goal/goal_test.c index be7b99e7e6..299c0b5106 100644 --- a/examples/simdag/goal/goal_test.c +++ b/examples/simdag/goal/goal_test.c @@ -71,7 +71,7 @@ int main(int argc, char **argv) { reclaimed = xbt_dynar_new(sizeof(bcast_task_t),xbt_free_ref); xbt_dynar_t done = NULL; - xbt_os_timer_start(timer); + xbt_os_cputimer_start(timer); send_one(0,SD_workstation_get_number()); do { if (done != NULL && !xbt_dynar_is_empty(done)) { @@ -97,7 +97,7 @@ int main(int argc, char **argv) { } done=SD_simulate(-1); } while(!xbt_dynar_is_empty(done)); - xbt_os_timer_stop(timer); + xbt_os_cputimer_stop(timer); printf("exec_time:%lf\n", xbt_os_timer_elapsed(timer) ); xbt_dynar_free(&done);