File: activityset_awaitallfor.java.tesh

package info (click to toggle)
simgrid 4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 39,192 kB
  • sloc: cpp: 124,913; ansic: 66,744; python: 8,560; java: 6,773; fortran: 6,079; f90: 5,123; xml: 4,587; sh: 2,194; perl: 1,436; makefile: 111; lisp: 49; javascript: 7; sed: 6
file content (17 lines) | stat: -rw-r--r-- 871 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env tesh

$ ${javacmd} -cp ../../simgrid.jar:activityset_awaitallfor.jar activityset_awaitallfor ${platfdir}/hosts_with_disks.xml "--log=root.fmt:[%7.6r]%e[%5a]%e%m%n"
> [0.000000] [maestro] Using regular java threads.
> [0.000000] [alice] Send 'Message'
> [0.000000] [  bob] Create my asynchronous activities
> [0.000000] [  bob] Wait for asynchronous activities to complete
> [1.000000] [  bob] Not all activities are terminated yet.
> [1.990000] [ carl] Send 'Control Message'
> [2.000000] [  bob] Not all activities are terminated yet.
> [2.000000] [  bob] Completed a Mess
> [3.000000] [  bob] Not all activities are terminated yet.
> [3.000000] [  bob] Completed an I/O
> [4.000000] [  bob] Not all activities are terminated yet.
> [5.000000] [  bob] Completed an Exec
> [5.197828] [  bob] Completed a Comm
> [5.197828] [  bob] Last activity is complete