Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
make sure that MSG_host_get_wattmin_at() is tested
[simgrid.git] / examples / msg / energy / e3 / concurrent_tasks.tesh
1 #! ./tesh
2
3 p Testing the mechanism for computing host energy consumption for concurrent tasks
4
5 ! output sort
6 $ $SG_TEST_EXENV energy/e3/e3$EXEEXT ${srcdir:=.}/../platforms/energy_platform.xml ${srcdir:=.}/energy/e3/deployment_e3.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 > [  2.000000] (4:proc3@MyHost1) Process proc3 executed task sleep cpu=0.000000, duration = 2.000000
10 > [  2.000000] (4:proc3@MyHost1) ==================================================
11 > [  2.000000] (3:proc2@MyHost1) Process proc2 executed task sleep cpu=0.000000, duration = 2.000000
12 > [  2.000000] (3:proc2@MyHost1) ==================================================
13 > [  5.000000] (4:proc3@MyHost1) Process proc3 executed task cpu=100000000.000000, duration = 3.000000
14 > [  5.000000] (4:proc3@MyHost1) ==================================================
15 > [  5.000000] (3:proc2@MyHost1) Process proc2 executed task cpu=100000000.000000, duration = 3.000000
16 > [  5.000000] (3:proc2@MyHost1) ==================================================
17 > [  6.000000] (2:proc1@MyHost1) Process proc1 executed task cpu=400000000.000000, duration = 6.000000
18 > [  6.000000] (2:proc1@MyHost1) ==================================================
19 > [  8.000000] (1:dvfs_test@MyHost1) Task simulation time: 8.000000e+00
20 > [  8.000000] (1:dvfs_test@MyHost1) Total energy (Joules): 1390.000000
21 > [  8.000000] (0:@) Total simulation time: 8.000000e+00
22 > [  8.000000] (0:@) Total energy of host MyHost1: 1390.000000 Joules
23 > [  8.000000] (0:@) Total energy of host MyHost2: 800.000000 Joules