File: s4u-engine-filtering.tesh

package info (click to toggle)
simgrid 4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 38,980 kB
  • sloc: cpp: 123,583; ansic: 66,779; python: 8,358; java: 6,406; fortran: 6,079; f90: 5,123; xml: 4,587; sh: 2,337; perl: 1,436; makefile: 105; lisp: 49; javascript: 7; sed: 6
file content (14 lines) | stat: -rw-r--r-- 1,060 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env tesh

p Let's filter some hosts...
$ ${bindir:=.}/s4u-engine-filtering ${platfdir}/energy_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n" --cfg=network/model:CM02 --cfg=network/crosstraffic:no
> [  0.000000] (0:maestro@) Configuration change: Set 'network/model' to 'CM02'
> [  0.000000] (0:maestro@) Configuration change: Set 'network/crosstraffic' to 'no'
> [  0.000000] (0:maestro@) Hosts currently registered with this engine: 3
> [  0.000000] (0:maestro@) The following hosts have more than one core: MyHost1
> [  0.000000] (0:maestro@) The following hosts are SingleCore: MyHost2
> [  0.000000] (0:maestro@) The following hosts are SingleCore: MyHost3
> [  0.000000] (0:maestro@) A simple example: Let's retrieve all hosts that changed their frequency
> [  0.000000] (0:maestro@) The following hosts changed their frequency: MyHost2 (from 100000000.0f to 20000000.0f)
> [  0.000000] (0:maestro@) The following hosts have a frequency > 50Mf: MyHost1
> [  0.000000] (0:maestro@) The following hosts have a frequency > 50Mf: MyHost3