Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
stop using MSG_task_get_initial_flops_amount(): it's useless now
[simgrid.git] / examples / msg / trace-masterworker / trace-masterworker.c
index 56cb7a3..fe7f050 100644 (file)
@@ -54,8 +54,7 @@ static int worker(int argc, char *argv[])
       break;
     }
     // adding the value returned by MSG_task_get_compute_duration(task) to the variable "task_computation"
-    TRACE_host_variable_add(MSG_host_get_name(MSG_host_self()), "task_computation",
-                            MSG_task_get_initial_flops_amount(task));
+    TRACE_host_variable_add(MSG_host_get_name(MSG_host_self()), "task_computation", MSG_task_get_flops_amount(task));
     MSG_task_execute(task);
     MSG_task_destroy(task);
     task = NULL;