Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
ed377f7ef7f87e9d6fe231f3ac5fbb1c2c6faae3
[simgrid.git] / examples / deprecated / java / energy / consumption / energy-consumption.tesh
1 #!/usr/bin/env tesh
2
3 ! timeout 15
4
5 $ ${javacmd:=java} -classpath ${classpath:=.} energy/consumption/Main ${srcdir:=.}/../platforms/energy_platform.xml
6 > [0.000000] [java/INFO] Using regular java threads.
7 > [MyHost1:energyConsumer:(1) 0.000000] [java/INFO] Energetic profile: 100.0:120.0:200.0, 93.0:110.0:170.0, 90.0:105.0:150.0
8 > [MyHost1:energyConsumer:(1) 0.000000] [java/INFO] Initial peak speed= 1.0E8 flop/s; Energy dissipated = 0.0 J
9 > [MyHost1:energyConsumer:(1) 10.000000] [java/INFO] Currently consumed energy after sleeping 10 sec: 1000.0
10 > [MyHost1:energyConsumer:(1) 20.000000] [java/INFO] Currently consumed energy after executing 1E9 flops: 2200.0
11 > [20.000000] [surf_energy/INFO] Total energy consumption: 6200.000000 Joules (used hosts: 2200.000000 Joules; unused/idle hosts: 4000.000000)
12 > [20.000000] [java/INFO] MSG_main finished; Terminating the simulation...
13 > [20.000000] [surf_energy/INFO] Energy consumption of host MyHost1: 2200.000000 Joules
14 > [20.000000] [surf_energy/INFO] Energy consumption of host MyHost2: 2000.000000 Joules
15 > [20.000000] [surf_energy/INFO] Energy consumption of host MyHost3: 2000.000000 Joules
16