Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill tracing-gtnets examples
[simgrid.git] / examples / java / energy / energy.tesh
1 #! tesh
2
3 ! timeout 15
4
5 $ java -classpath ${classpath:=.} energy/Energy ${srcdir:=.}/../platforms/energy_platform.xml
6 > [0.000000] [jmsg/INFO] Using regular java threads.
7 > [MyHost1:energyConsumer:(1) 0.000000] [jmsg/INFO] Currently consumed energy: 0.0
8 > [MyHost1:energyConsumer:(1) 10.000000] [jmsg/INFO] Currently consumed energy after sleeping 10 sec: 1000.0
9 > [MyHost1:energyConsumer:(1) 20.000000] [jmsg/INFO] Currently consumed energy after executing 1E9 flops: 3000.0
10 > [20.000000] [jmsg/INFO] MSG_main finished; Cleaning up the simulation...
11 > [20.000000] [surf_energy/INFO] Total energy of host MyHost1: 3000.000000 Joules
12 > [20.000000] [surf_energy/INFO] Total energy of host MyHost2: 2000.000000 Joules
13 > [20.000000] [surf_energy/INFO] Total energy of host MyHost3: 2000.000000 Joules
14