Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Interface cleanup
[simgrid.git] / examples / msg / cloud / multicore.c
index efdb510..8fb26bf 100644 (file)
@@ -37,14 +37,14 @@ struct task_data {
 
 static void task_data_init_clock(struct task_data *t)
 {
-  t->prev_computation_amount = MSG_task_get_remaining_computation(t->task);
+  t->prev_computation_amount = MSG_task_get_flops_amount(t->task);
   t->prev_clock = MSG_get_clock();
 }
 
 
 static void task_data_get_clock(struct task_data *t)
 {
-  double now_computation_amount = MSG_task_get_remaining_computation(t->task);
+  double now_computation_amount = MSG_task_get_flops_amount(t->task);
   double now_clock = MSG_get_clock();
 
   double done = t->prev_computation_amount - now_computation_amount;