[ns] An awk script to calculate throughput and end-to-end delay in wired-cum-wireless is needed

Gabrial Monty gabrial_monty at yahoo.com
Fri Mar 28 14:25:50 PDT 2008


Dear ns users,
   
  I am facing a trouble in writing an awk script to calculate throughput in wired-cum-wireless scenarios, how can I deal with the wired trace to calculate the number of sent packets? can I count all cbr traffic in the lines that begin with '+'? I know that '+' stands for enqueue but there is no event for sending data packets from the wired nodes? moreover, using this approach I found that the number of sent packets is much larger than the sent one, also how can I calculate the end-to-end delay for a packet sent from a wired node to a wireless node? please help me, waiting your reply.
   
  thanks,
  gaby

       
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.


More information about the Ns-users mailing list