NS 2 Pre-processor files
I made some new tools to preprocess my NS2 tracefiles before importing the data into OpenOffice Calc for the actual calculations and graphing.
The first is a throughput accumulator. It simply takes a file with two columns (time and packet size) and aggregates the bytes into equal-sized-time bins.
The second is a jitter calculator. Given the a file with the packet arrival times, it calculates the first derivate, or jitter. It is also called inter-packet arrival times.
These two tools use pipes so you can easily input your output from grep, awk and sed.
Tools:
The first is a throughput accumulator. It simply takes a file with two columns (time and packet size) and aggregates the bytes into equal-sized-time bins.
$ cat data | ./accumulate.py > throughput.csv
The second is a jitter calculator. Given the a file with the packet arrival times, it calculates the first derivate, or jitter. It is also called inter-packet arrival times.
$ cat data | ./difference.py
These two tools use pipes so you can easily input your output from grep, awk and sed.
Tools:
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home