Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove superfluous simcall.
[simgrid.git] / examples / s4u / exec-dvfs / s4u-exec-dvfs.tesh
1 #!/usr/bin/env tesh
2
3 p Testing the DVFS-related functions
4
5 $ ${bindir:=.}/s4u-exec-dvfs$EXEEXT ${platfdir}/energy_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
6 > [  0.000000] (1:dvfs_test@MyHost1) Count of Processor states=3
7 > [  0.000000] (1:dvfs_test@MyHost1) Current power peak=100000000.000000
8 > [  0.000000] (2:dvfs_test@MyHost2) Count of Processor states=3
9 > [  0.000000] (2:dvfs_test@MyHost2) Current power peak=100000000.000000
10 > [  1.000000] (1:dvfs_test@MyHost1) Task1 duration: 1.00
11 > [  1.000000] (1:dvfs_test@MyHost1) Changing power peak value to 20000000.000000 (at index 2)
12 > [  1.000000] (2:dvfs_test@MyHost2) Task1 duration: 1.00
13 > [  1.000000] (2:dvfs_test@MyHost2) Changing power peak value to 20000000.000000 (at index 2)
14 > [  1.000000] (1:dvfs_test@MyHost1) Current power peak=20000000.000000
15 > [  1.000000] (2:dvfs_test@MyHost2) Current power peak=20000000.000000
16 > [  6.000000] (1:dvfs_test@MyHost1) Task2 duration: 5.00
17 > [  6.000000] (1:dvfs_test@MyHost1) Count of Processor states=3
18 > [  6.000000] (1:dvfs_test@MyHost1) Current power peak=20000000.000000
19 > [  6.000000] (2:dvfs_test@MyHost2) Task2 duration: 5.00
20 > [  6.000000] (2:dvfs_test@MyHost2) Count of Processor states=3
21 > [  6.000000] (2:dvfs_test@MyHost2) Current power peak=20000000.000000
22 > [  6.000000] (0:maestro@) Total simulation time: 6.000000e+00
23
24 $ ${bindir:=.}/s4u-exec-dvfs$EXEEXT ${platfdir}/energy_cluster.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
25 > [  0.000000] (1:dvfs_test@MyHost1) Count of Processor states=3
26 > [  0.000000] (1:dvfs_test@MyHost1) Current power peak=100000000.000000
27 > [  0.000000] (2:dvfs_test@MyHost2) Count of Processor states=3
28 > [  0.000000] (2:dvfs_test@MyHost2) Current power peak=100000000.000000
29 > [  1.000000] (1:dvfs_test@MyHost1) Task1 duration: 1.00
30 > [  1.000000] (1:dvfs_test@MyHost1) Changing power peak value to 20000000.000000 (at index 2)
31 > [  1.000000] (2:dvfs_test@MyHost2) Task1 duration: 1.00
32 > [  1.000000] (2:dvfs_test@MyHost2) Changing power peak value to 20000000.000000 (at index 2)
33 > [  1.000000] (1:dvfs_test@MyHost1) Current power peak=20000000.000000
34 > [  1.000000] (2:dvfs_test@MyHost2) Current power peak=20000000.000000
35 > [  6.000000] (1:dvfs_test@MyHost1) Task2 duration: 5.00
36 > [  6.000000] (1:dvfs_test@MyHost1) Count of Processor states=3
37 > [  6.000000] (1:dvfs_test@MyHost1) Current power peak=20000000.000000
38 > [  6.000000] (2:dvfs_test@MyHost2) Task2 duration: 5.00
39 > [  6.000000] (2:dvfs_test@MyHost2) Count of Processor states=3
40 > [  6.000000] (2:dvfs_test@MyHost2) Current power peak=20000000.000000
41 > [  6.000000] (0:maestro@) Total simulation time: 6.000000e+00