how to calculate avg end-to-end delay

589 views
Skip to first unread message

neeraj garg

unread,
May 14, 2012, 4:20:08 PM5/14/12
to ns-3-users
i want to calculate avg end-to-end delay by using flowmonitor .i used
flow monitor but i did not understand.in below delay sum is
43888872296.0ns so any tell me this is avg delay or not. if not ?????


<Flow flowId="17" timeFirstTxPacket="+515712643.0ns"
timeFirstRxPacket="+20037809239.0ns"
timeLastTxPacket="+49987718642.0ns"
timeLastRxPacket="+30615350548.0ns" delaySum="+43888872296.0ns"
jitterSum="+2344860847.0ns" lastDelay="+35631906.0ns"
txBytes="3179604" rxBytes="739132" txPackets="3093" rxPackets="719"
lostPackets="1749" timesForwarded="64">

Konstantinos

unread,
May 14, 2012, 5:42:39 PM5/14/12
to ns-3-...@googlegroups.com
Hi,

As it says it is the delaySum, meaning the sum delay of ALL received packets.
So if you want to calculate the average delay (always end-to-end delay) you just need to calculate delaySum/rxPackets.

Same applies for jitterSum.
Reply all
Reply to author
Forward
0 new messages