[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] Goodput calculation for TCP connections...
no of packets sent between node 0 and 6 is throughput no goodput.
if the simulation time is long enough, the largest sequence number
of received packet could be used to calculated the goodput.
On Mon, May 28, 2001 at 09:28:15AM -0700, Debojyoti Dutta wrote:
> look at the ns-user archive, i think there were a couple of discussions
> ... easy way
>
> sample.awk
> ----
> BEGIN {c=0}
> $1=="r" && $3=="0" && $4=="6" $$ $5="tcp" {c++}
> END {print c;}
> ----
>
> then awk -f sample.awk out.tr will give you no of packets sent between
> node 0 and 6
>
> debo
>