Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[S4U] Add some tests for upcoming filtering feature
[simgrid.git] / examples / s4u / engine-filtering / s4u-engine-filtering.tesh
1 #!/usr/bin/env tesh
2
3 p Let's filter some hosts...
4 $ ${bindir:=.}/s4u-engine-filtering$EXEEXT ${platfdir}/energy_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=network/model:CM02 --cfg=network/crosstraffic:no
5 > [  0.000000] (0:maestro@) Configuration change: Set 'network/model' to 'CM02'
6 > [  0.000000] (0:maestro@) Configuration change: Set 'network/crosstraffic' to 'no'
7 > [  0.000000] (0:maestro@) Hosts currently registered with this engine: 3
8 > [  0.000000] (0:maestro@) The following hosts have more than one core: MyHost1
9 > [  0.000000] (0:maestro@) The following hosts are SingleCore: MyHost2
10 > [  0.000000] (0:maestro@) The following hosts are SingleCore: MyHost3
11 > [  0.000000] (0:maestro@) A simple example: Let's retrieve all hosts that changed their frequency
12 > [  0.000000] (0:maestro@) The following hosts changed their frequency: MyHost2 (from 100000000.0f to 20000000.0f)
13 > [  0.000000] (0:maestro@) The following hosts have a frequency > 50Mf: MyHost1
14 > [  0.000000] (0:maestro@) The following hosts have a frequency > 50Mf: MyHost3