]> AND Public Git Repository - simgrid.git/blobdiff - src/simdag/sd_task.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge pull request #202 from Takishipp/clear_fct
[simgrid.git] / src / simdag / sd_task.cpp
index 8ea5cc145a9e4876ffec76f35e0882f893e79578..0dee8e1aa26686e2156c6a9fbc6509835f0e58e6 100644 (file)
@@ -685,7 +685,7 @@ double SD_task_get_execution_time(SD_task_t task, int host_count, const sg_host_
   for (int i = 0; i < host_count; i++) {
     double time = 0.0;
     if (flops_amount != nullptr)
-      time = flops_amount[i] / host_list[i]->speed();
+      time = flops_amount[i] / host_list[i]->getSpeed();
 
     if (bytes_amount != nullptr)
       for (int j = 0; j < host_count; j++)