Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[simix] Port JavaContext to C++
[simgrid.git] / examples / java / surfPlugin / surf_plugin.tesh
index b55f738..423cb4a 100644 (file)
@@ -1,8 +1,15 @@
 #! tesh
-! output sort
 
+#
+# DONT GIVE A SORT LENGTH PREFIX HERE.
+#
+#   we want to sort on the whole line so that link destruction events 
+#   (that are delivered in the order of map traversal) become reproducible
+#
+! output sort
+#
 $ java -classpath ${classpath:=.} surfPlugin/TestPlugin ${srcdir:=.}/../platforms/small_platform.xml ${srcdir:=.}/surfPlugin/surfPluginDeployment.xml
-> [0.000000] [jmsg/INFO] Using regular java threads. Coroutines could speed your simulation up.
+> [0.000000] [jmsg/INFO] Using regular java threads.
 > [0.000000] [jmsg/INFO] Trace: Link created __loopback__
 > [0.000000] [jmsg/INFO] Trace: Link state changed __loopback__
 > [0.000000] [jmsg/INFO] Trace: Cpu created Tremblay
@@ -42,10 +49,10 @@ $ java -classpath ${classpath:=.} surfPlugin/TestPlugin ${srcdir:=.}/../platform
 > [Tremblay:surfPlugin.Sender:(1) 0.000000] [jmsg/INFO] sender time: 0.0
 > [Jupiter:surfPlugin.Receiver:(2) 0.000000] [jmsg/INFO] helloo!
 > [Jupiter:surfPlugin.Receiver:(2) 0.000000] [jmsg/INFO] try to get a task
-> [0.019014] [jmsg/INFO] Trace: NetworkAction state changed network
+> [0.019014] [jmsg/INFO] Trace: NetworkAction state changed
 > [Jupiter:surfPlugin.Receiver:(2) 0.019014] [jmsg/INFO] Got at time 0.019014486310327584
 > [Tremblay:surfPlugin.Sender:(1) 0.019014] [jmsg/INFO] goodbye!
-> [0.019146] [jmsg/INFO] Trace: CpuAction state changed cpu
+> [0.019146] [jmsg/INFO] Trace: CpuAction state changed
 > [Jupiter:surfPlugin.Receiver:(2) 0.019146] [jmsg/INFO] goodbye!
 > [0.019146] [jmsg/INFO] MSG_main finished; Cleaning up the simulation...
 > [0.019146] [jmsg/INFO] Trace: Cpu destructed Fafard