Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove superfluous simcall.
[simgrid.git] / examples / python / exec-dvfs / exec-dvfs.tesh
1 #!/usr/bin/env tesh
2
3 p Testing the DVFS-related functions
4
5 $ ${pythoncmd:=python3} ${PYTHON_TOOL_OPTIONS:=} ${srcdir:=.}/exec-dvfs.py ${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
23 $ ${pythoncmd:=python3} ${PYTHON_TOOL_OPTIONS:=} ${srcdir:=.}/exec-dvfs.py ${platfdir}/energy_cluster.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
24 > [  0.000000] (1:dvfs_test@MyHost1) Count of Processor states=3
25 > [  0.000000] (1:dvfs_test@MyHost1) Current power peak=100000000.000000
26 > [  0.000000] (2:dvfs_test@MyHost2) Count of Processor states=3
27 > [  0.000000] (2:dvfs_test@MyHost2) Current power peak=100000000.000000
28 > [  1.000000] (1:dvfs_test@MyHost1) Task1 duration: 1.00
29 > [  1.000000] (1:dvfs_test@MyHost1) Changing power peak value to 20000000.000000 (at index 2)
30 > [  1.000000] (2:dvfs_test@MyHost2) Task1 duration: 1.00
31 > [  1.000000] (2:dvfs_test@MyHost2) Changing power peak value to 20000000.000000 (at index 2)
32 > [  1.000000] (1:dvfs_test@MyHost1) Current power peak=20000000.000000
33 > [  1.000000] (2:dvfs_test@MyHost2) Current power peak=20000000.000000
34 > [  6.000000] (1:dvfs_test@MyHost1) Task2 duration: 5.00
35 > [  6.000000] (1:dvfs_test@MyHost1) Count of Processor states=3
36 > [  6.000000] (1:dvfs_test@MyHost1) Current power peak=20000000.000000
37 > [  6.000000] (2:dvfs_test@MyHost2) Task2 duration: 5.00
38 > [  6.000000] (2:dvfs_test@MyHost2) Count of Processor states=3
39 > [  6.000000] (2:dvfs_test@MyHost2) Current power peak=20000000.000000