File: exec-dvfs.tesh

package info (click to toggle)
simgrid 3.25%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 23,308 kB
  • sloc: cpp: 100,922; ansic: 68,086; fortran: 6,061; xml: 5,176; f90: 5,123; java: 4,094; python: 2,623; perl: 1,843; sh: 1,241; makefile: 47; javascript: 7; sed: 6
file content (39 lines) | stat: -rw-r--r-- 2,585 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/usr/bin/env tesh

p Testing the DVFS-related functions

$ ${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"
> [  0.000000] (1:dvfs_test@MyHost1) Count of Processor states=3
> [  0.000000] (1:dvfs_test@MyHost1) Current power peak=100000000.000000
> [  0.000000] (2:dvfs_test@MyHost2) Count of Processor states=3
> [  0.000000] (2:dvfs_test@MyHost2) Current power peak=100000000.000000
> [  1.000000] (1:dvfs_test@MyHost1) Task1 duration: 1.00
> [  1.000000] (1:dvfs_test@MyHost1) Changing power peak value to 20000000.000000 (at index 2)
> [  1.000000] (2:dvfs_test@MyHost2) Task1 duration: 1.00
> [  1.000000] (2:dvfs_test@MyHost2) Changing power peak value to 20000000.000000 (at index 2)
> [  1.000000] (1:dvfs_test@MyHost1) Changed power peak=20000000.000000
> [  1.000000] (2:dvfs_test@MyHost2) Changed power peak=20000000.000000
> [  6.000000] (1:dvfs_test@MyHost1) Task2 duration: 5.00
> [  6.000000] (1:dvfs_test@MyHost1) Count of Processor states=3
> [  6.000000] (1:dvfs_test@MyHost1) Final power peak=20000000.000000
> [  6.000000] (2:dvfs_test@MyHost2) Task2 duration: 5.00
> [  6.000000] (2:dvfs_test@MyHost2) Count of Processor states=3
> [  6.000000] (2:dvfs_test@MyHost2) Final power peak=20000000.000000

$ ${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"
> [  0.000000] (1:dvfs_test@MyHost1) Count of Processor states=3
> [  0.000000] (1:dvfs_test@MyHost1) Current power peak=100000000.000000
> [  0.000000] (2:dvfs_test@MyHost2) Count of Processor states=3
> [  0.000000] (2:dvfs_test@MyHost2) Current power peak=100000000.000000
> [  1.000000] (1:dvfs_test@MyHost1) Task1 duration: 1.00
> [  1.000000] (1:dvfs_test@MyHost1) Changing power peak value to 20000000.000000 (at index 2)
> [  1.000000] (2:dvfs_test@MyHost2) Task1 duration: 1.00
> [  1.000000] (2:dvfs_test@MyHost2) Changing power peak value to 20000000.000000 (at index 2)
> [  1.000000] (1:dvfs_test@MyHost1) Changed power peak=20000000.000000
> [  1.000000] (2:dvfs_test@MyHost2) Changed power peak=20000000.000000
> [  6.000000] (1:dvfs_test@MyHost1) Task2 duration: 5.00
> [  6.000000] (1:dvfs_test@MyHost1) Count of Processor states=3
> [  6.000000] (1:dvfs_test@MyHost1) Final power peak=20000000.000000
> [  6.000000] (2:dvfs_test@MyHost2) Task2 duration: 5.00
> [  6.000000] (2:dvfs_test@MyHost2) Count of Processor states=3
> [  6.000000] (2:dvfs_test@MyHost2) Final power peak=20000000.000000