Hello,

i have created an agent which allows me to record the end-to-end delays of
packets arriving at a specific node. What i want to do is to calculate the
mean end-to-end delay at specific time intervals and later on output it on a
trace file.

To calculate the mean end-to-end delay i use the following:

mean=(mean+curr_pkt_delay)/total_pkts.

I do this every time a new packet arrives.

Is this the correct way of calculating mean end-to-end delay or i am totally
wrong here?

Regards,

-- 
Nicholas Loulloudes

Postgraduate at Communication Networks and Software.

BSc in Computer Science.

Reply via email to