File: energy_wifi.java.tesh

package info (click to toggle)
simgrid 4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 39,192 kB
  • sloc: cpp: 124,913; ansic: 66,744; python: 8,560; java: 6,773; fortran: 6,079; f90: 5,123; xml: 4,587; sh: 2,194; perl: 1,436; makefile: 111; lisp: 49; javascript: 7; sed: 6
file content (14 lines) | stat: -rw-r--r-- 971 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 Testing the mechanism for computing link energy consumption (using CM02 as a network model)

$ ${javacmd} -cp ../../simgrid.jar:energy_wifi.jar energy_wifi ${platfdir}/wifi_energy.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@) Using regular java threads.
> [  0.000000] (0:maestro@) Activating the wifi_energy plugin.
> [  0.000000] (2:act1@Station 2) RECEIVING on mb MailBoxRCV
> [  5.000000] (1:act0@Station 1) SENDING 1 msg of size 6750000 to MailBoxRCV
> [  7.000000] (2:act1@Station 2) received all messages
> [  7.000000] (1:act0@Station 1) finished sending
> [  7.000000] (0:maestro@) Link AP1 destroyed, consumed: 6.000000 J dyn: 6.000000 stat: 0.000000 durIdle: 5.000000 durTxRx: 2.000000