Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move MSG and SimDag examples out of the sight of users
[simgrid.git] / examples / deprecated / java / app / pingpong / app-pingpong.tesh
1 #!/usr/bin/env tesh
2
3 $ ${javacmd:=java} -classpath ${classpath:=.} app/pingpong/Main ${srcdir:=.}/../platforms/small_platform.xml
4 > [0.000000] [java/INFO] Using regular java threads.
5 > [Jacquelin:Sender:(1) 0.000000] [java/INFO] Host count: 1
6 > [Jacquelin:Sender:(1) 0.000000] [java/INFO] sender time: 0.0
7 > [Boivin:Receiver:(2) 0.000000] [java/INFO] Wait for a task
8 > [Boivin:Receiver:(2) 1.048882] [java/INFO] Got one that was sent at time 0.0
9 > [Boivin:Receiver:(2) 1.048882] [java/INFO] Communication time : 1.0488818628325232
10 > [Boivin:Receiver:(2) 1.048882] [java/INFO]  --- bw 9.533962169004269E7 ----
11 > [Boivin:Receiver:(2) 1.048882] [java/INFO] Wait for a task
12 > [Jacquelin:Sender:(1) 1.048882] [java/INFO] sender time: 1.0488818628325232
13 > [Boivin:Receiver:(2) 2.097764] [java/INFO] Got one that was sent at time 1.0488818628325232
14 > [Boivin:Receiver:(2) 2.097764] [java/INFO] Communication time : 1.0488818628325232
15 > [Boivin:Receiver:(2) 2.097764] [java/INFO]  --- bw 9.533962169004269E7 ----
16 > [Boivin:Receiver:(2) 2.097764] [java/INFO] Wait for a task
17 > [Jacquelin:Sender:(1) 2.097764] [java/INFO] sender time: 2.0977637256650463
18 > [Boivin:Receiver:(2) 3.146646] [java/INFO] Got one that was sent at time 2.0977637256650463
19 > [Boivin:Receiver:(2) 3.146646] [java/INFO] Communication time : 1.0488818628325234
20 > [Boivin:Receiver:(2) 3.146646] [java/INFO]  --- bw 9.533962169004266E7 ----
21 > [Boivin:Receiver:(2) 3.146646] [java/INFO] Done.
22 > [Jacquelin:Sender:(1) 3.146646] [java/INFO] Done.
23 > [3.146646] [java/INFO] MSG_main finished; Terminating the simulation...