Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Run Java tests from build directory, instead of source directory.
[simgrid.git] / examples / java / tracing / tracingPingPong.tesh
1 #! tesh
2
3 ! output sort
4
5 $ java -cp ${classpath:=.} tracing/TracingTest ${srcdir:=.}/platform.xml ${srcdir:=.}/tracing/tracingPingPongDeployment.xml --cfg=tracing:1  --cfg=tracing/filename:simulation.trace --cfg=tracing/platform:1
6 > [0.000000] [jmsg/INFO] Using regular java threads. Coroutines could speed your simulation up.
7 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing' to '1'
8 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/filename' to 'simulation.trace'
9 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/platform' to '1'
10 > [4.474401] [jmsg/INFO] MSG_main finished; Cleaning up the simulation...
11 > [Boivin:tracing.Receiver:(2) 0.000000] [jmsg/INFO] hello!
12 > [Boivin:tracing.Receiver:(2) 0.000000] [jmsg/INFO] try to get a task
13 > [Boivin:tracing.Receiver:(2) 1.048882] [jmsg/INFO] Got at time 1.0488818628325232
14 > [Boivin:tracing.Receiver:(2) 1.048882] [jmsg/INFO] Was sent at time 0.0
15 > [Boivin:tracing.Receiver:(2) 1.048882] [jmsg/INFO] Communication time : 1.0488818628325232
16 > [Boivin:tracing.Receiver:(2) 1.048882] [jmsg/INFO]  --- bw 9.533962169004269E7 ----
17 > [Boivin:tracing.Receiver:(2) 2.097764] [jmsg/INFO] goodbye!
18 > [Jacquelin:tracing.Sender:(1) 0.000000] [jmsg/INFO] hello !
19 > [Jacquelin:tracing.Sender:(1) 0.000000] [jmsg/INFO] host count: 2
20 > [Jacquelin:tracing.Sender:(1) 0.000000] [jmsg/INFO] sender time: 0.0
21 > [Jacquelin:tracing.Sender:(1) 2.097764] [jmsg/INFO] Got at time 2.0977637256650463
22 > [Jacquelin:tracing.Sender:(1) 2.097764] [jmsg/INFO] Was sent at time 0.0
23 > [Jacquelin:tracing.Sender:(1) 2.097764] [jmsg/INFO] Communication time : 2.0977637256650463
24 > [Jacquelin:tracing.Sender:(1) 2.097764] [jmsg/INFO]  --- bw 4.7669810845021345E7 ----
25 > [Jacquelin:tracing.Sender:(1) 2.097764] [jmsg/INFO] sender time: 2.0977637256650463
26 > [Jacquelin:tracing.Sender:(1) 4.474401] [jmsg/INFO] Got at time 4.47440072325564
27 > [Jacquelin:tracing.Sender:(1) 4.474401] [jmsg/INFO] Was sent at time 2.0977637256650463
28 > [Jacquelin:tracing.Sender:(1) 4.474401] [jmsg/INFO] Communication time : 2.376636997590594
29 > [Jacquelin:tracing.Sender:(1) 4.474401] [jmsg/INFO]  --- bw 4.2076261583648995E7 ----
30 > [Jacquelin:tracing.Sender:(1) 4.474401] [jmsg/INFO] goodbye!
31 > [Marcel:tracing.Receiver:(3) 0.000000] [jmsg/INFO] hello!
32 > [Marcel:tracing.Receiver:(3) 0.000000] [jmsg/INFO] try to get a task
33 > [Marcel:tracing.Receiver:(3) 3.057925] [jmsg/INFO] Got at time 3.0579254576553434
34 > [Marcel:tracing.Receiver:(3) 3.057925] [jmsg/INFO] Was sent at time 2.0977637256650463
35 > [Marcel:tracing.Receiver:(3) 3.057925] [jmsg/INFO] Communication time : 0.9601617319902971
36 > [Marcel:tracing.Receiver:(3) 3.057925] [jmsg/INFO]  --- bw 1.0414912057858452E8 ----
37 > [Marcel:tracing.Receiver:(3) 4.474401] [jmsg/INFO] goodbye!
38
39 $ rm -rf simulation.trace