Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-20-2014, 05:53 AM   #1
LQ Newbie
Registered: Jul 2014
Posts: 16

Rep: Reputation: Disabled
Integrate system clock with ns2..?

Is it possible to integrate system clock to ns2? If yes, please share it with me.

Thanks in advance.
Old 10-21-2014, 03:44 PM   #2
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
I have never used ns2. In previous years I took a course in writing network simulators and as part of a job I have measured the time for real time events to be used in a network simulator. In my experience network simulators keep a virtual clock. The amount of CPU time used to simulate a time period on the network usually exceeds the real time that the events being simulated would use. Thus I would be surprised if a network simulator could use the real clock instead of a virtual clock. If a network simulator used a real time clock it probably could not keep up with the events that it is simulating and would not be able to keep up with real time.

Steve Stites



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
integrate leach protocol on ns2.34 in ubuntu 12.10 bayefalle Linux - Software 3 08-18-2014 09:01 AM
Clock on wrong time (system clock is set to UTC) yanom Debian 6 07-26-2011 12:26 PM
Why system clock runs faster than hardware clock? DavidLiu Linux - Software 2 01-23-2011 08:38 AM
Slow system clock and stray hardware clock, pleas help! Epox Linux - General 6 01-02-2007 03:43 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration