Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Change order of initialization.
[simgrid.git] / examples / java / surfCpuModel / surf_cpu_model.tesh
index 2f0fd00..596d2bc 100644 (file)
@@ -1,42 +1,35 @@
 #! tesh
 
-$ java -classpath ${classpath:=.} surfCpuModel/TestCpuModel ${srcdir:=.}/surfCpuModel/surfCpuModelPlatform.xml ${srcdir:=.}/surfCpuModel/surfCpuModelDeployment.xml --cfg=workstation/model:compound
-> [0.000000] [jmsg/INFO] Initialize Cpu Constant Model
+$ java -classpath ${classpath:=.} surfCpuModel/TestCpuModel ${srcdir:=.}/../platforms/small_platform.xml ${srcdir:=.}/surfCpuModel/surfCpuModelDeployment.xml --cfg=workstation/model:compound
 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'workstation/model' to 'compound'
 > [0.000000] [jmsg/INFO] Using regular java threads. Coroutines could speed your simulation up.
-> [0.000000] [jmsg/INFO] Create Resource Name: Jacquelin
-> [0.000000] [jmsg/INFO] Create Resource Name: Boivin
-> [0.000000] [jmsg/INFO] Create Resource Name: TeX
-> [0.000000] [jmsg/INFO] updateActionState of 3 cpu and 0 actions
-> [Jacquelin:surfCpuModel.Sender:(1) 0.000000] [jmsg/INFO] helloo!
-> [Boivin:surfCpuModel.Receiver:(2) 0.000000] [jmsg/INFO] helloo!
-> [0.000000] [jmsg/INFO] Sleep action of duration -1.0
-> [0.000000] [jmsg/INFO] Sleep action of duration -1.0
-> [0.000000] [jmsg/INFO] shareResource of 3 cpu and 2 actions
-> [0.000000] [jmsg/INFO] shareResource of 3 cpu and 2 actions
-> [0.026020] [jmsg/INFO] updateActionState of 3 cpu and 2 actions
-> [0.026020] [jmsg/INFO] shareResource of 3 cpu and 2 actions
-> [0.026020] [jmsg/INFO] shareResource of 3 cpu and 2 actions
-> [0.026021] [jmsg/INFO] updateActionState of 3 cpu and 2 actions
-> [Jacquelin:surfCpuModel.Sender:(1) 0.026021] [jmsg/INFO] Send duration: 0.026021030927835052
-> [0.026021] [jmsg/INFO] Sleep action of duration -1.0
-> [0.026021] [jmsg/INFO] Sleep action of duration -1.0
-> [0.026021] [jmsg/INFO] shareResource of 3 cpu and 4 actions
-> [0.026021] [jmsg/INFO] shareResource of 3 cpu and 4 actions
-> [0.052041] [jmsg/INFO] updateActionState of 3 cpu and 4 actions
-> [0.052041] [jmsg/INFO] shareResource of 3 cpu and 4 actions
-> [0.052041] [jmsg/INFO] shareResource of 3 cpu and 4 actions
-> [0.052042] [jmsg/INFO] updateActionState of 3 cpu and 4 actions
-> [Jacquelin:surfCpuModel.Sender:(1) 0.052042] [jmsg/INFO] Send duration with update bandwidth: 0.026021030927835052
-> [0.052042] [jmsg/INFO] Sleep action of duration -1.0
-> [0.052042] [jmsg/INFO] Sleep action of duration -1.0
-> [0.052042] [jmsg/INFO] shareResource of 3 cpu and 6 actions
-> [0.052042] [jmsg/INFO] shareResource of 3 cpu and 6 actions
-> [0.078062] [jmsg/INFO] updateActionState of 3 cpu and 6 actions
-> [0.078062] [jmsg/INFO] shareResource of 3 cpu and 6 actions
-> [0.078062] [jmsg/INFO] shareResource of 3 cpu and 6 actions
-> [0.078063] [jmsg/INFO] updateActionState of 3 cpu and 6 actions
-> [Boivin:surfCpuModel.Receiver:(2) 0.078063] [jmsg/INFO] goodbye!
-> [Jacquelin:surfCpuModel.Sender:(1) 0.078063] [jmsg/INFO] Send normal duration with limited bandwidth: 0.02602103092783506
-> [Jacquelin:surfCpuModel.Sender:(1) 0.078063] [jmsg/INFO] goodbye!
-> [0.078063] [jmsg/INFO] MSG_main finished; Cleaning up the simulation...
+> [0.000000] [jmsg/INFO] Initialize Cpu Constant Model
+> [0.000000] [jmsg/INFO] New Cpu(Tremblay, 9.8095E7, 1.0)
+> [0.000000] [jmsg/INFO] New Cpu(Jupiter, 7.6296E7, 1.0)
+> [0.000000] [jmsg/INFO] New Cpu(Fafard, 7.6296E7, 1.0)
+> [0.000000] [jmsg/INFO] New Cpu(Ginette, 4.8492E7, 1.0)
+> [0.000000] [jmsg/INFO] New Cpu(Bourassa, 4.8492E7, 1.0)
+> [0.000000] [jmsg/INFO] UpdateActionState of 0 actions
+> [0.000000] [jmsg/INFO] Cpu Loaded: Cpu Constant
+> [Tremblay:surfCpuModel.Sender:(1) 0.000000] [jmsg/INFO] helloo!
+> [Jupiter:surfCpuModel.Receiver:(2) 0.000000] [jmsg/INFO] helloo!
+> [0.000000] [jmsg/INFO] Sleep action of duration -1.0 sleeping true
+> [0.000000] [jmsg/INFO] Sleep action of duration -1.0 sleeping true
+> [0.000000] [jmsg/INFO] ShareResources at time -1.0
+> [0.000000] [jmsg/INFO] ShareResources at time -1.0
+> [0.019014] [jmsg/INFO] UpdateActionState of 2 actions
+> [0.019014] [jmsg/INFO] ShareResources at time -1.0
+> [0.019014] [jmsg/INFO] ShareResources at time -1.0
+> [0.019014] [jmsg/INFO] UpdateActionState of 2 actions
+> [Tremblay:surfCpuModel.Sender:(1) 0.019014] [jmsg/INFO] Send duration: 0.019014479160788175
+> [Tremblay:surfCpuModel.Sender:(1) 0.019014] [jmsg/INFO] goodbye!
+> [0.019014] [jmsg/INFO] Execute action of size 1.0E9 sleeping false
+> [0.019014] [jmsg/INFO] Share action with new time 13.10684701688162
+> [0.019014] [jmsg/INFO] ShareResources at time 13.10684701688162
+> [0.019014] [jmsg/INFO] Share action with new time 13.10684701688162
+> [0.019014] [jmsg/INFO] ShareResources at time 13.10684701688162
+> [13.125861] [jmsg/INFO] UpdateActionState of 1 actions
+> [13.125861] [jmsg/INFO] action remains 0.0 after delta of 13.10684701688162
+> [13.125861] [jmsg/INFO] action DONE
+> [Jupiter:surfCpuModel.Receiver:(2) 13.125861] [jmsg/INFO] goodbye!
+> [13.125861] [jmsg/INFO] MSG_main finished; Cleaning up the simulation...