Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
ignore some new stuff
[simgrid.git] / examples / java / suspend / suspend.tesh
index 000a449..c6ec5f7 100644 (file)
@@ -1,15 +1,14 @@
-# compile the example\r
-$ javac -classpath $MSG4JAVA_CLASSPATH$ENV_SEPARATOR. *.java\r
-\r
-# run the comm_time sample\r
-$ java -classpath $MSG4JAVA_CLASSPATH$ENV_SEPARATOR SuspendTest suspend_platform.xml suspend_deployment.xml\r
-> [Jacquelin:DreamMaster:(1) 0.000000] [jmsg/INFO] Hello !\r
-> [Jacquelin:DreamMaster:(1) 0.000000] [jmsg/INFO] Let's create a lazy guy.\r
-> [Jacquelin:DreamMaster:(1) 0.000000] [jmsg/INFO] Current host  name : Jacquelin\r
-> [Jacquelin:DreamMaster:(1) 0.000000] [jmsg/INFO] Let's wait a little bit...\r
-> [Jacquelin:LazyGuy:(2) 0.000000] [jmsg/INFO] Hello !\r
-> [Jacquelin:LazyGuy:(2) 0.000000] [jmsg/INFO] Nobody's watching me ? Let's go to sleep.\r
-> [Jacquelin:DreamMaster:(1) 10.000000] [jmsg/INFO] Let's wake the lazy guy up! >:) \r
-> [Jacquelin:DreamMaster:(1) 10.000000] [jmsg/INFO] OK, goodbye now.\r
-> [Jacquelin:LazyGuy:(2) 10.000000] [jmsg/INFO] Uuuh ? Did somebody call me ?\r
-> [Jacquelin:LazyGuy:(2) 10.000000] [jmsg/INFO] Mmmh, goodbye now.
\ No newline at end of file
+#! ./tesh
+
+! output sort
+$ java -cp .:${srcdir:=.}/examples:${srcdir:=.}/simgrid.jar suspend/Suspend ${srcdir:=.}/examples/platform.xml ${srcdir:=.}/examples/suspend/suspendDeployment.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
+> [  0.000000] (1:suspend.DreamMaster@Jacquelin) Let's create a lazy guy.
+> [  0.000000] (1:suspend.DreamMaster@Jacquelin) Let's wait a little bit...
+> [  0.000000] (2:Lazy@Jacquelin) Nobody's watching me ? Let's go to sleep.
+> [ 10.000000] (0:@) MSG_main finished; Cleaning up the simulation...
+> [ 10.000000] (1:suspend.DreamMaster@Jacquelin) Let's wake the lazy guy up! >:) BOOOOOUUUHHH!!!!
+> [ 10.000000] (1:suspend.DreamMaster@Jacquelin) OK, goodbye now.
+> [ 10.000000] (2:Lazy@Jacquelin) Uuuh ? Did somebody call me ?
+> [ 10.000000] (2:Lazy@Jacquelin) Mmmh, goodbye now.
+> [0.000000] [jmsg/INFO] Using regular java threads. Coroutines could speed your simulation up.
+