Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright notices
[simgrid.git] / examples / msg / cloud / two_tasks_vm.c
index 0e2aaab..6a0dd2c 100644 (file)
@@ -1,11 +1,11 @@
-/* Copyright (c) 2014. The SimGrid Team.
+/* Copyright (c) 2014-2015. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include <stdio.h>
-#include "msg/msg.h"
+#include "simgrid/msg.h"
 #include "xbt/sysdep.h"
 
 #include "xbt/log.h"
@@ -71,7 +71,7 @@ static int master_main(int argc, char *argv[])
 
   while(MSG_get_clock()<100) {
        if (atask != NULL)
-         XBT_INFO("aTask remaining duration: %g", MSG_task_get_remaining_computation(atask));
+         XBT_INFO("aTask remaining duration: %g", MSG_task_get_flops_amount(atask));
        MSG_process_sleep(1);
   }