Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
energy-pstate -> exec-dvfs
[simgrid.git] / examples / c / exec-dvfs / exec-dvfs.tesh
1 #!/usr/bin/env tesh
2
3 $ ${bindir:=.}/exec-dvfs-c ${platfdir}/energy_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
4 > [  0.000000] (1:dvfs_test@MyHost1) Count of Processor states=3
5 > [  0.000000] (1:dvfs_test@MyHost1) Current power peak=100000000.000000
6 > [  0.000000] (2:dvfs_test@MyHost2) Count of Processor states=3
7 > [  0.000000] (2:dvfs_test@MyHost2) Current power peak=100000000.000000
8 > [  1.000000] (1:dvfs_test@MyHost1) Task1 simulation time: 1.000000e+00
9 > [  1.000000] (1:dvfs_test@MyHost1) Changing power peak value to 20000000.000000 (at index 2)
10 > [  1.000000] (2:dvfs_test@MyHost2) Task1 simulation time: 1.000000e+00
11 > [  1.000000] (2:dvfs_test@MyHost2) Changing power peak value to 20000000.000000 (at index 2)
12 > [  1.000000] (1:dvfs_test@MyHost1) Current power peak=20000000.000000
13 > [  1.000000] (2:dvfs_test@MyHost2) Current power peak=20000000.000000
14 > [  6.000000] (1:dvfs_test@MyHost1) Task2 simulation time: 5.000000e+00
15 > [  6.000000] (1:dvfs_test@MyHost1) Count of Processor states=3
16 > [  6.000000] (1:dvfs_test@MyHost1) Current power peak=20000000.000000
17 > [  6.000000] (2:dvfs_test@MyHost2) Task2 simulation time: 5.000000e+00
18 > [  6.000000] (2:dvfs_test@MyHost2) Count of Processor states=3
19 > [  6.000000] (2:dvfs_test@MyHost2) Current power peak=20000000.000000
20 > [  6.000000] (0:maestro@) Total simulation time: 6.000000e+00
21
22 $ ${bindir:=.}/exec-dvfs-c ${platfdir}/energy_cluster.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=host/model:ptask_L07
23 > [  0.000000] (0:maestro@) Configuration change: Set 'host/model' to 'ptask_L07'
24 > [  0.000000] (0:maestro@) Switching to the L07 model to handle parallel tasks.
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 simulation time: 1.000000e+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 simulation time: 1.000000e+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 simulation time: 5.000000e+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 simulation time: 5.000000e+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