X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8468bc54da69c09b898b86e37bd5515edc7fdb3f..fc416b3a5a1ebce58eb7a6cabb1895f3d68be5fa:/examples/deprecated/simdag/test/sd_test.cpp diff --git a/examples/deprecated/simdag/test/sd_test.cpp b/examples/deprecated/simdag/test/sd_test.cpp index 22f5fbfbf0..2112647b59 100644 --- a/examples/deprecated/simdag/test/sd_test.cpp +++ b/examples/deprecated/simdag/test/sd_test.cpp @@ -115,9 +115,8 @@ int main(int argc, char **argv) communication_amount[2] = comm_amount21; /* estimated time */ - SD_task_t task = taskD; - XBT_INFO("Estimated time for '%s': %f", SD_task_get_name(task), SD_task_get_execution_time(task, 2, host_list, - computation_amount, communication_amount)); + XBT_INFO("Estimated time for '%s': %f", SD_task_get_name(taskD), + SD_task_get_execution_time(taskD, 2, host_list, computation_amount, communication_amount)); SD_task_schedule(taskA, 2, host_list, computation_amount, communication_amount, -1); SD_task_schedule(taskB, 2, host_list, computation_amount, communication_amount, -1);