[ns] time in ns
김용재
kimyj@cs.hongik.ac.kr
Mon, 22 Oct 2001 13:52:29 +0900
Scheduler::instance().clock()
This is the function that returns current time (in simulation)
----- Original Message -----
From: "abrar hussain" <ahussain@eng.utoledo.edu>
To: <ns-users@ISI.EDU>
Sent: Monday, October 22, 2001 12:53 PM
Subject: [ns] time in ns
>
> Hello ns users,
>
> I am not sure about how ns maintains its simulation time.
> How all the nodes are able to print the current time ? .
>
> I have seen a nam trace file, and i saw that it was maintaining
> the simualtion time in seconds, but i am not sure how is it done and where
> is it done.
>
> Any pointers are welcome.
>
> Thanks for ur help.
>
> Abrar.