Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove debug messages from test, allow it to pass even with enable_debug=OFF.
[simgrid.git] / examples / msg / energy / e2 / energy_consumption.tesh
1 #! ./tesh
2
3 p Testing the mechanism for computing host energy consumption 
4
5 ! output sort
6 $ $SG_TEST_EXENV energy/e2/e2$EXEEXT ${srcdir:=.}/energy/e2/platform_e2.xml ${srcdir:=.}/energy/e2/deployment_e2.xml --log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n
7 > [  0.000000] (1:dvfs_test@MyHost1) Current power peak=100000000.000000
8 > [  0.000000] (1:dvfs_test@MyHost1) Total energy (Joules): 0.000000
9 > [  1.000000] (1:dvfs_test@MyHost1) Task1 simulation time: 1.000000e+00
10 > [  1.000000] (1:dvfs_test@MyHost1) Total energy (Joules): 200.000000
11 > [  1.000000] (1:dvfs_test@MyHost1) =========Changing power peak value to 20000000.000000 (at index 2)
12 > [  6.000000] (1:dvfs_test@MyHost1) Task2 simulation time: 5.000000e+00
13 > [  6.000000] (1:dvfs_test@MyHost1) Total energy (Joules): 950.000000
14 > [  9.000000] (1:dvfs_test@MyHost1) Task3 (sleep) simulation time: 4.000000e+00
15 > [  9.000000] (1:dvfs_test@MyHost1) Total energy (Joules): 1220.000000
16 > [  9.000000] (0:@) Total simulation time: 9.000000e+00