[ns] how to trace energy of a given node
shanti at ece.gatech.edu
Fri May 7 08:22:03 PDT 2004
Are you talking abt the power with which a node transmits a packets. it
and given by Pt_ ..you can look for this in wireless-phy.cc file...if
ur talking abt the
received power (the power with which a node receives a packet..) u can
in the propagation model u r using..files that may help you are
propagation.cc (.h), tworayground.cc(.h)..if u want to trace the power
for a particular node,
you can get its id first and then try to track the packets of only this
node in the above files.
When u track it, you can print to a particular file for your post
Hope thie helps.
Geethapriya Thamilarasu wrote:
>If i have say three wireless nodes transmitting to each other,
>how do i plot the energy consumption of a particular node ?
>I am not sure how to trace the enery parameter. (particularly tracing
>If i do trace all, the trace file does not have the energy trace in it.
More information about the Ns-users