This blog displays information about the latest android smartphone, price and specs as well as information applikaksi game that appeals to you, here are also a lot of software that you can download

Selasa, 12 Agustus 2014

AWK code for Measure End to End Delay - NS2

AWK code for Measure End to End Delay - NS2 - is looking for information, and in this blog Android Gadgets we have been providing very complete information from various sources that reliable, well we'll talk about the AWK code for Measure End to End Delay - NS2 as you need, please si read to completion.

Articles : AWK code for Measure End to End Delay - NS2
full Link : AWK code for Measure End to End Delay - NS2
Article awk, Article calculate, Article calculation, Article Code, Article delay, Article end to end, Article free, Article network simulator, Article NS2, Article path, Article path delay calculation, Article Program, Article Project, Article Tcl script,

You can also see our article on:


AWK code for Measure End to End Delay - NS2


End-to-end Delay : the average time taken by a data packet to arrive in the destination. It also includes the delay caused by route discovery process and the queue in data packet transmission. Only the data packets that successfully delivered to destinations that counted.
∑ ( arrive time – send time ) / ∑ Number of connections
The lower value of end to end delay means the better performance of the protocol.
Here is the AWK Script for calculating the delay

################################################################################

BEGIN {
     highest_packet_id = 0;
}
{
   action = $1;
   time = $3;
   #from = $3;
   #to = $4;
   type = $35; #aodv relationships,if 5 no infomation
   pktsize = $37;
   #src = $9;
   #dst = $10;
   #seq_no = $11;
   packet_id = $41;

 
if ( type != "AODV" ) {

   if ( packet_id > highest_packet_id )
         highest_packet_id = packet_id;

if ( start_time[packet_id] == 0 )

 if ( type == "cbr" && action != "d" ) {
      if ( action == "r" ) {
         end_time[packet_id] = time;
      }
   } else {

end_time[packet_id] = -1;
   }
}
}
END {

 for ( packet_id = 0; packet_id <= highest_packet_id; packet_id++ ) {
       start = start_time[packet_id];
       end = end_time[packet_id];
       packet_duration = end - start;

 if ( start < end ) printf("%f %f\n", start, packet_duration);
   }
}

###########################################################



Articles AWK code for Measure End to End Delay - NS2 has been discussed

A few gadget information AWK code for Measure End to End Delay - NS2 , hopefully can provide benefits to you all.

You're reading an article AWK code for Measure End to End Delay - NS2 and this article url is https://androidtabletgadgets.blogspot.com/2014/08/awk-code-for-measure-end-to-end-delay.html you can bookmark , Hopefully this article could be useful and do not forget to always to this blog to find information on gadget.

Tag : , , , , , , , , , , , , , ,
Share on Facebook
Share on Twitter
Share on Google+

Related : AWK code for Measure End to End Delay - NS2

0 komentar:

Posting Komentar