Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

README.md

PythonParser

A python script to parse through ns2 tracefiles, calculate the throughput and plot the throughputs against packetsizes using gnuplot.

Usage

Make sure you have already generated the tracefiles for the different packetsizes and named them as 'packet_size_(packetsize).tr'
eg. For a tracefile for packetsize 64 bytes, the name should be packet_size_64.tr

usage: python pythonparser.py <tracefile1> <tracefile2> ..........
This will generate a gnuplot script file ready to plot the values stored in a DAT file.

Example

python pythonparser.py packet_size_*.tr (for Linux and Unix)
python pythonparser.py packet_size_64.tr packet_size_128.tr packet_size_256.tr ...... (For Windows cmd)
A file called throughputplot.gp will be created
gnuplot throughputplot.gp

About

A python script to parse through ns2 tracefiles, calculate the throughput and plot the throughputs against packetsizes using gnuplot.

Topics

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.