[ns] ns-2.34 debugging code
teerawat at ece.ubc.ca
Sat Aug 13 00:40:07 PDT 2011
Here is the way you obtain time in C++ and store the current time in a double variable time:
Scheduler &s = Scheduler::instance();
double time = s.clock();
On Aug 8, 2011, at 1:19 PM, shwta jain wrote:
> Hi all,
> When I run any tcl scripts in ns-2.34 I want to see at that time what code
> is running internally.
> When packet goes from one node to another node , I want to see which code is
> running internally.
> Is it possible in ns-2.34
> Plz help
> Shweta Jain,
More information about the Ns-users