Two methods will be presented. One is to parse the traffic trace file by using gawk, and the other is to insert some codes in C++ codes. The first method is easy when the simulation is only on wired network topology. When the simulation covers wireless part, using gawk to parse traffic trace file becomes hard. Because the trace format for wireless is not the same. However, the second method needs some efforts before using it. But if the work is done, it will be easy for you to get these metrics despite wireless or wired simulation scenarios.
Measure packet loss rate, jitter, and end-to-end delay for UDP-based applications
6 07 2008Comments : Leave a Comment »
Tags: end-to-end delay, jitter, measure, packet loss rate, udp
Categories : NS2
Get the system throughput for UDP-based application
5 07 2008非常有用的很直接能看到flow的throughput的修改.利用loss-monitor,记录第一个包和最后一个包的抵达时间,然后计算出流量. 用于UDP.
Comments : Leave a Comment »
Tags: measure, throughput, udp
Categories : NS2
Recent Comments