.. Sandeep Singh ....
I downloaded AODV1_EnergyB60.tr and used qos.awk as first choice ....
$ awk -f qos.awk AODV1_EnergyB60.tr
startTime: 1
stopTime: 46
receivedPkts: 2641
avgTput[kbps]: 22.3904 ## tput ##
___________________________
And e2e example .......
$ awk -f e-to-e-flesk.awk AODV1_EnergyB60.tr
Average delay 46.0038
___________________________
"To do" to broaden the opportunities :
Use two simulations, one with old trace .... and one with new trace.
Old trace, the most used, and plenty of awk scripts.
** New trace has a line in the simulation file : $ns_ use-newtrace
.... suggest two different file names for the trace e.g. AODV1_EnergyB60.tr and newAODV1_EnergyB60.tr
-