Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
SimDag Revolution: SD_workstation becomes sg_host
[simgrid.git] / teshsuite / simdag / basic / basic0.c
index 65efcbc..b14c08c 100644 (file)
@@ -48,11 +48,11 @@ int main(int argc, char **argv)
 
   /* let's launch the simulation! */
 
-  SD_task_schedule(taskInit, 1, SD_workstation_get_list(), no_cost,
+  SD_task_schedule(taskInit, 1, sg_host_list(), no_cost,
                    no_cost, -1.0);
-  SD_task_schedule(taskA, 2, SD_workstation_get_list(), no_cost,
+  SD_task_schedule(taskA, 2, sg_host_list(), no_cost,
                    communication_amount1, -1.0);
-  SD_task_schedule(taskB, 2, SD_workstation_get_list(), no_cost,
+  SD_task_schedule(taskB, 2, sg_host_list(), no_cost,
                    communication_amount2, -1.0);
 
   SD_task_dependency_add(NULL, NULL, taskInit, taskA);