[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] time in ns
Scheduler::instance().clock()
This is the function that returns current time (in simulation)
----- Original Message -----
From: "abrar hussain" <[email protected]>
To: <[email protected]>
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.