X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c66deda6497d36e70e2485fff5431151be1713c6..228b00a7592e4b107be9b3fb49e75617f92189f8:/examples/msg/cloud-two-tasks/cloud-two-tasks.c diff --git a/examples/msg/cloud-two-tasks/cloud-two-tasks.c b/examples/msg/cloud-two-tasks/cloud-two-tasks.c index 6ba0ebec62..1b0f499d98 100644 --- a/examples/msg/cloud-two-tasks/cloud-two-tasks.c +++ b/examples/msg/cloud-two-tasks/cloud-two-tasks.c @@ -59,11 +59,11 @@ static int master_main(int argc, char *argv[]) msg_vm_t vm0 = MSG_vm_create_core(pm0, "VM0"); MSG_vm_start(vm0); - launch_computation_worker(vm0); + launch_computation_worker((msg_host_t)vm0); while(MSG_get_clock()<100) { if (atask != NULL) - XBT_INFO("aTask remaining duration: %g", MSG_task_get_flops_amount(atask)); + XBT_INFO("aTask remaining duration: %g", MSG_task_get_remaining_work_ratio(atask)); MSG_process_sleep(1); }