File: README

package info (click to toggle)
ns3 3.46-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 105,864 kB
  • sloc: cpp: 624,863; python: 14,863; ansic: 6,772; makefile: 1,950; sh: 987; javascript: 167; perl: 102
file content (33 lines) | stat: -rw-r--r-- 1,541 bytes parent folder | download | duplicates (3)
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

			  ns-3 stats example

The example script wifi-example-db.sh in this directly will run
through the entire process of running a simple experiment.  It assumes
sqlite3 is installed as it uses the sqlite3 data output format of the
statistics package.  It also assumes it is being run from the
examples/stats/ subdirectory of the ns-3 package, together with its
gnuplot script.  When the script completes successfully, a graph will
be have been produced in examples/stats/wifi-default.eps demonstrating
output from this example.

More information on the statistics package and this example is
available online on the ns-3 wiki at:

http://www.nsnam.org/wiki/Statistical_Framework_for_Network_Simulation

*** Using ns-3 with the OMNeT++ analysis tool ***

The stat framework can write out the result in a format that is compatible with the
output format of OMNeT++ 4 Discrete Event Simulator Framework.
Use the wifi-example-omnet.sh script to generate the results in OMNeT++ format.

If you want to analyse the results with OMNeT++'s result analyser tool:
a) Download OMNeT++ 4 and install it. Start the IDE. (www.omnetpp.org)

Once you are running the OMNeT++ ID
- Choose File|Import...|Existing Projects into Workspace, then click [Next]
- Select root directory. (choose the examples/stats directory) and click [Finish]

Double click the wifi-example-omnet.anf in the opened project and select
the Chart page to see the created chart. Experiment with the analysis tool and read its
documentation: https://doc.omnetpp.org/omnetpp4/Manual.pdf