Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[simix] Port JavaContext to C++
[simgrid.git] / examples / java / master_slave_kill / kill.tesh
index 2c7179a..9281484 100644 (file)
@@ -1,13 +1,13 @@
-#! ./tesh
+#! tesh
 
-! output sort
+! output sort 19
 
-$ java -cp .:${srcdir:=.}/examples:${srcdir:=.}/simgrid.jar master_slave_kill/MsKill ${srcdir:=.}/examples/master_slave_kill/platform.xml
-> [0.000000] [jmsg/INFO] Using regular java threads. Coroutines could speed your simulation up.
-> [0.013010] [jmsg/INFO] MSG_main finished; Cleaning up the simulation...
-> [alice:slave:(2) 0.000000] [jmsg/INFO] Slave Hello!
-> [alice:slave:(2) 0.000000] [jmsg/INFO] Send Mail1!
-> [bob:master:(1) 0.000000] [jmsg/INFO] Master Hello!
-> [bob:master:(1) 0.000000] [jmsg/INFO] Create process on host 'alice'
-> [bob:master:(1) 0.013010] [jmsg/INFO] Received mail1!
-> [bob:master:(1) 0.013010] [jmsg/INFO] Process2 is now killed, should exit now
+$ java -classpath ${classpath:=.} master_slave_kill/MsKill ${srcdir:=.}/../platforms/platform.xml
+> [0.000000] [jmsg/INFO] Using regular java threads.
+> [Jacquelin:master:(1) 0.000000] [jmsg/INFO] Master Hello!
+> [Jacquelin:master:(1) 0.000000] [jmsg/INFO] Create process on host 'Boivin'
+> [Boivin:slave:(2) 0.000000] [jmsg/INFO] Slave Hello!
+> [Boivin:slave:(2) 0.000000] [jmsg/INFO] Send Mail1!
+> [Jacquelin:master:(1) 1.048881] [jmsg/INFO] Received mail1!
+> [Jacquelin:master:(1) 1.048881] [jmsg/INFO] Process2 is now killed, should exit now
+> [1.048881] [jmsg/INFO] MSG_main finished; Cleaning up the simulation...