TCP流量的取得,先修改添加tcpsink,然后用perl脚本对tcpsink的trace进行分析:
Measure the throughput of TCP-based application
5 07 2008Comments : Leave a Comment »
Tags: measure, tcp, throughput
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