Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' into CRTP
[simgrid.git] / teshsuite / s4u / wait-any-for / wait-any-for.tesh
1 #!/usr/bin/env tesh
2
3 p Testing the wait_any_for feature of S4U
4
5 ! output sort 19
6 $ ${bindir:=.}/wait-any-for ${platfdir:=.}/small_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
7 > [  0.000000] (1:worker@Tremblay) Sending and receiving 42 and 51 asynchronously
8 > [  0.000000] (1:worker@Tremblay) All comms have started
9 > [  0.500000] (1:worker@Tremblay) wait_any_for: Timeout reached
10 > [  1.000000] (1:worker@Tremblay) wait_any_for: Timeout reached
11 > [  1.035263] (1:worker@Tremblay) wait_any_for: A comm finished (index=0, #comms=4)
12 > [  1.035263] (1:worker@Tremblay) wait_any_for: A comm finished (index=1, #comms=3)
13 > [  1.535263] (1:worker@Tremblay) wait_any_for: Timeout reached
14 > [  2.035263] (1:worker@Tremblay) wait_any_for: Timeout reached
15 > [  2.070331] (1:worker@Tremblay) wait_any_for: A comm finished (index=0, #comms=2)
16 > [  2.070331] (1:worker@Tremblay) wait_any_for: A comm finished (index=0, #comms=1)
17 > [  2.070331] (1:worker@Tremblay) All comms have finished
18 > [  2.070331] (1:worker@Tremblay) Got 42 and 51