Dear all, I'm doing the NS2 simulation on energy consumption of MAC protocols. Can I log the energy of each node into the trace file periodically rather than on some irregularly discrete time instances?
For example, the simulation runs from 0 to 100s. I want to log the energy every 10s, can I do this and how? Thanks very much! Best regards,