Samsung Galaxy Note, 4G LTE Plans, Transfer Photos Videos from iPhone to Samsung, Network Performance, Mobile Accounts, Furious Gold SPD TooL, Latest Version Full Setup

Info AWK code for Measure End to End Delay - NS2

Info AWK code for Measure End to End Delay - NS2 - this blog we have built from a few years ago and already very much information about gadgets that we convey and a lot of blog visitors New Blog Techno News who are satisfied with the information, we will always try to update the latest information for you, first about Info AWK code for Measure End to End Delay - NS2 many already we collect data to make this article so you do not miss the news, please see:

Articles : Info AWK code for Measure End to End Delay - NS2
full Link : Info AWK code for Measure End to End Delay - NS2

You can also see our article on:


Info 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 Info AWK code for Measure End to End Delay - NS2 finished in discussion

hopefully the information we convey about Info AWK code for Measure End to End Delay - NS2 can benefit you in getting new knowledge about technology,

you just finished reading the information Info AWK code for Measure End to End Delay - NS2 we hope this informmation can answer the question you submit to googlle, if you want to bookmark or share please use link https://moymoycikukecik.blogspot.com/2014/08/info-awk-code-for-measure-end-to-end.html and do not forget to always visit this blog to get the latest information every day.

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

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

0 komentar:

Posting Komentar