X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/cef59d338bade8ea4224fbe3eebb9ffe5bf08c4d..12ef73b3c1b6ef7bb9f2cf8031edf5e99e6c27a1:/examples/cpp/task-variable-load/s4u-task-variable-load.cpp diff --git a/examples/cpp/task-variable-load/s4u-task-variable-load.cpp b/examples/cpp/task-variable-load/s4u-task-variable-load.cpp index df41c95a82..0955c2e2a4 100644 --- a/examples/cpp/task-variable-load/s4u-task-variable-load.cpp +++ b/examples/cpp/task-variable-load/s4u-task-variable-load.cpp @@ -22,13 +22,13 @@ static void variable_load(sg4::TaskPtr t) { XBT_INFO("--- Small load ---"); for (int i = 0; i < 3; i++) { - t->enqueue_execs(1); + t->enqueue_firings(1); sg4::this_actor::sleep_for(100); } sg4::this_actor::sleep_until(1000); XBT_INFO("--- Heavy load ---"); for (int i = 0; i < 3; i++) { - t->enqueue_execs(1); + t->enqueue_firings(1); sg4::this_actor::sleep_for(1); } }