Routing overhead : the number of transmitted control packets. For multi-hop 
communication, each transmission of the packet is taken into account.

Data: the number of delivered data packets.
                                                                  
Normalized Data Load : defined by   Data / RoutingOverhead

Here is my awk script to measure Normalized Data Load but i'm not sure if is 
correct..can someone help me with this matter?

BEGIN {
   rec=0
   byte=0; 
} 


/^f|^s/ && /RTR/ && /-It (\?:|AODV|DSR)/ {byte+=$37}    # Total number of 
transmitted packets
/^r/ && /AGT/ && /-It cbr/ {rec++}            # Number of delivered data packet
 
 
END {
    ro = (byte);              # Routing Overhead

    nrl = (rec/ro);  # Normalized Data Load  

      printf ("                     Data : ");
      printf (rec);
      printf ("\n")
      printf ("                  Routing Overhead : ");
      printf (ro)
      printf ("\n") 
      printf ( "              Normalized Data Load : ");
      printf (nrl);
      printf ("\n") } 



       
---------------------------------
Boardwalk for $500? In 2007? Ha! 
Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.

Reply via email to