X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c2bebbceae24bb9a74fe034c71862c84a6193e7f..16bbb8a8212497d9c44c81333ed2c0e689e0c5af:/examples/msg/cloud/two_tasks_vm.c diff --git a/examples/msg/cloud/two_tasks_vm.c b/examples/msg/cloud/two_tasks_vm.c index 6a0dd2cb8c..d2e826305c 100644 --- a/examples/msg/cloud/two_tasks_vm.c +++ b/examples/msg/cloud/two_tasks_vm.c @@ -70,9 +70,9 @@ static int master_main(int argc, char *argv[]) launch_computation_worker(vm0); while(MSG_get_clock()<100) { - if (atask != NULL) - XBT_INFO("aTask remaining duration: %g", MSG_task_get_flops_amount(atask)); - MSG_process_sleep(1); + if (atask != NULL) + XBT_INFO("aTask remaining duration: %g", MSG_task_get_flops_amount(atask)); + MSG_process_sleep(1); } MSG_process_sleep(10000);