Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Correct warning message, and update comments.
[simgrid.git] / examples / cpp / task-storm / s4u-task-storm.cpp
index 63c3d64..2c4edb1 100644 (file)
@@ -114,9 +114,9 @@ int main(int argc, char* argv[])
     t->set_amount(*data * 10);
   });
 
-  // Enqueue executions for tasks without predecessors
-  SA->enqueue_execs(5);
-  SB->enqueue_execs(5);
+  // Enqueue firings for tasks without predecessors
+  SA->enqueue_firings(5);
+  SB->enqueue_firings(5);
 
   // Add a function to be called when tasks end for log purpose
   sg4::Task::on_completion_cb([]