Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Start to modernize the remaining old simcalls related to comms
[simgrid.git] / examples / cpp / activity-testany / s4u-activity-testany.tesh
1 #!/usr/bin/env tesh
2
3 $ ${bindir:=.}/s4u-activity-testany ${platfdir}/hosts_with_disks.xml "--log=root.fmt:[%4.2r]%e[%5a]%e%m%n"
4 > [0.00] [alice] Send 'Message'
5 > [0.00] [  bob] Create my asynchronous activities
6 > [0.00] [  bob] Sleep_for a while
7 > [1.00] [  bob] Test for completed activities
8 > [1.00] [  bob] Nothing matches, test again in 0.5s
9 > [1.50] [  bob] Nothing matches, test again in 0.5s
10 > [2.00] [  bob] Nothing matches, test again in 0.5s
11 > [2.50] [  bob] Nothing matches, test again in 0.5s
12 > [3.00] [  bob] Completed an I/O
13 > [3.00] [  bob] Nothing matches, test again in 0.5s
14 > [3.50] [  bob] Nothing matches, test again in 0.5s
15 > [4.00] [  bob] Nothing matches, test again in 0.5s
16 > [4.50] [  bob] Nothing matches, test again in 0.5s
17 > [5.00] [  bob] Completed an Exec
18 > [5.00] [  bob] Nothing matches, test again in 0.5s
19 > [5.50] [  bob] Completed a Comm
20 > [5.50] [  bob] Last activity is complete