X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3cc453fa197ea95b23e3be8e5f6e886be55abc48..c49da53d70122cf649a262c830cf0c056dd1c8f1:/teshsuite/msg/task_progress/task_progress.tesh diff --git a/teshsuite/msg/task_progress/task_progress.tesh b/teshsuite/msg/task_progress/task_progress.tesh new file mode 100644 index 0000000000..679e1816ea --- /dev/null +++ b/teshsuite/msg/task_progress/task_progress.tesh @@ -0,0 +1,18 @@ +$ ./task_progress ${srcdir:=.}/../../../examples/platforms/small_platform.xml +> [0.000000] [xbt_cfg/INFO] Switching to the L07 model to handle parallel tasks. +> [Tremblay:sequential:(1) 0.000000] [msg_test/INFO] get the progress of simple before the task starts +> [Tremblay:sequential:(1) 0.000000] [msg_test/INFO] Executing task: "simple" +> [Tremblay:parallel:(2) 0.000000] [msg_test/INFO] get the progress of ptask before the task starts +> [Tremblay:parallel:(2) 0.000000] [msg_test/INFO] Executing task: "ptask" +> [Tremblay:get_progress:(3) 0.200000] [msg_test/INFO] Progress of "simple": 0.802376 +> [Tremblay:get_progress:(3) 0.400000] [msg_test/INFO] Progress of "simple": 0.606186 +> [Tremblay:get_progress:(3) 0.600000] [msg_test/INFO] Progress of "simple": 0.409996 +> [Tremblay:get_progress:(3) 0.800000] [msg_test/INFO] Progress of "ptask": 0.608337 +> [Tremblay:get_progress:(3) 1.000000] [msg_test/INFO] Progress of "ptask": 0.510242 +> [Tremblay:sequential:(1) 1.017958] [msg_test/INFO] get the progress of simple after the task finishes +> [Tremblay:sequential:(1) 1.017958] [msg_test/INFO] Goodbye now! +> [Tremblay:get_progress:(3) 1.200000] [msg_test/INFO] Progress of "ptask": 0.362543 +> [Tremblay:parallel:(2) 1.675180] [msg_test/INFO] get the progress of ptask after the task finishes +> [Tremblay:parallel:(2) 1.675180] [msg_test/INFO] Goodbye now! +> [1.675180] [msg_test/INFO] Simulation time 1.67518 +