Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
3df3c434bcfd217140be523876eb053eac29846d
[simgrid.git] / examples / s4u / energy-wifi / s4u-energy-wifi.tesh
1 #!/usr/bin/env tesh
2
3 p Testing the mechanism for computing link energy consumption (using CM02 as a network model)
4
5 $ ${bindir:=.}/s4u-energy-wifi ${platfdir}/wifi_energy.xml  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=network/model:CM02 --cfg=network/crosstraffic:no
6 > [  0.000000] (0:maestro@) Configuration change: Set 'network/model' to 'CM02'
7 > [  0.000000] (0:maestro@) Configuration change: Set 'network/crosstraffic' to 'no'
8 > [  0.000000] (0:maestro@) Activating the wifi_energy plugin.
9 > [  0.000000] (2:act1@Station 2) RECEIVING on mb MailBoxRCV
10 > [  5.000000] (1:act0@Station 1) SENDING 1 msg of size 6750000 to MailBoxRCV
11 > [  7.000000] (2:act1@Station 2) received all messages
12 > [  7.000000] (1:act0@Station 1) finished sending
13 > [  7.000000] (0:maestro@) Link AP1 destroyed, consumed: 6.000000 J dyn: 6.000000 stat: 0.000000 durIdle: 5.000000 durTxRx: 2.000000