Hi Anyone has idea on how to add energy tracing in ns2 protocols?.I want the energy values to be printed in trace files.
i have added them.but stil it is not printing them in trace files. I am trying to simulate GPSR code in ns2. I have added the .cc and tcl files and ran MAKE to enable NS2 to recognize the new protocol.i am getting proper o/p. Still the energy is not printed. are there any other changes i have to make inside ns2 to recognize the new routing protocol. -- Revathi -- Revathi
