[ns] Trace File - - - which data represent packet id
ss1 at student.cs.ucc.ie
Fri Apr 21 09:06:45 PDT 2006
The way I calculate the overall simulation avg end-to-end delay is the SUM
of all transmission time framce within the whole simulation (end - start
per flows/packet ids) over total number of data packets received.
start[packetid] = time
end[packetid] = time
and for all packets
(sum of all end[packetid] - starts[packetid]) / total_data_packets_received
note that it is data packets recieved and do NOT count routed data packets.
unless you are counted the delay per flow.
> I would like to ask regarding trace file.
> I need to calculate "Average End-End Packet Delivery Time".
> This mean that for each packet with id (Ii) of trace level (AGT) and
> type (cbr), I have to calculate the send(s)time and receive (r) time (t)
> and average it.
> I used grep command.
> for example for:
> s 97.691776704 _13_ AGT --- 7279 cbr 512 [0 0 0 0] ------- [13:1 14:0 32
> 0]  0 0
> is it correct that 7279 is the packet id?
> Hope anybody can help me
> Thank you in advance
> Celebrate Earth Day everyday! Discover 10 things you can do to help slow
> climate change. Yahoo! Earth Day
More information about the Ns-users