[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] Byte's Delay



write a simple awk script. i am giving you a skeleton ......

BEGIN { flag = 0; start=0; end = 0; }
$1=="+" && $3=="1" && $4=="0" { if(!flag){ start = $2; } }
$1=="r" && $$=="1" && $4=="0" { end = $2; }
END { print $end - $start; }

debo


On Fri, 27 Oct 2000, Leyla TOUMI wrote:

> Hi all !
> I have a question about calculating delays : I use CBR packets for my
> simulation, and I'd like to know, for one packet, what is the delay between
> the first byte and the last one transmitted ? Can you give me a sample of
> script that can help me to trace something like that ?
> Thanks a lot in advance and have a nice day !
> 
> Leyla.
> 
> 
> 
>