Commit Graph
321 Commits
Author SHA1 Message Date
Mathieu Lacage d2ce2c5f70 empty skeleton for ns2 calendar scheduler
--HG--
rename : src/simulator/calendar-scheduler.cc => src/simulator/ns2-calendar-scheduler.cc
rename : src/simulator/calendar-scheduler.h => src/simulator/ns2-calendar-scheduler.h
2009-01-15 11:23:59 +01:00
Gustavo J. A. M. Carneiro 5814b0bf2a Fix build for systems without posix threads library 2009-01-14 15:36:19 +00:00
Gustavo J. A. M. Carneiro 7b5191328c Correct documentation 2009-01-14 12:46:06 +00:00
Gustavo J. A. M. Carneiro 6aba47ff9b Make Simulator::IsFinished () take into account the stop time. Needed to run custom simulation loops (see bug 375) 2009-01-13 19:27:44 +00:00
Gustavo J. A. M. Carneiro 7a3adc22e7 merge 2009-01-09 11:44:13 +00:00
Mathieu Lacage 9c0027edfd bug 459: Simulator::Run does nothing after Simulator::Stop is called 2009-01-09 08:54:32 +01:00
Mathieu Lacage 5ad448405a add SchedulerType global variable 2009-01-09 08:17:46 +01:00
Mathieu Lacage 4f72786b14 simplify the implementation 2009-01-09 07:51:17 +01:00
Mathieu Lacage aa5b1a1600 introduce lastPrio to handle resizing correctly 2009-01-08 16:23:33 +01:00
Mathieu Lacage 7960c5f6b4 optimize resizing 2009-01-08 11:43:15 +01:00
Mathieu Lacage 653cfc6437 add back asserts 2009-01-08 11:21:25 +01:00
Mathieu Lacage 555fb46a17 resize calendar queue. Slow :/ 2009-01-08 11:15:27 +01:00
Mathieu Lacage fa7a66acc1 a Calendar queue without resizing.
--HG--
rename : src/simulator/list-scheduler.cc => src/simulator/calendar-scheduler.cc
rename : src/simulator/list-scheduler.h => src/simulator/calendar-scheduler.h
2009-01-08 09:31:38 +01:00
Mathieu Lacage 116bff5ded bug 455: Scalar(0.1) / Scalar(1.25) has no effect 2009-01-07 14:49:30 +01:00
Mathieu Lacage 22d0e6c594 fix coding style 2009-01-07 13:33:59 +01:00
Gustavo J. A. M. Carneiro b576592431 Upgrade to new WAF, work in progress 2008-12-29 13:28:54 +00:00
mathieu.lacage@sophia.inria.fr af4a76ecde fix bug 230, rescan bindings 2008-12-10 17:01:06 -08:00
Craig Dowell 2162eba625 make a pass through doxygen fixing errors 2008-12-09 20:29:04 -08:00
Mathieu Lacage c86a2a0d21 bug 257: change the default log output of time to seconds, not the simulator's resolution. 2008-11-25 15:37:43 +01:00
Mathieu Lacage d89c70de5d remove realtime public API. 2008-10-27 12:47:33 +01:00
Mathieu Lacage 71baf67ed8 make sure we implement all Schedule methods within the right class 2008-10-15 15:53:06 +02:00
Mathieu Lacage 4436ab6622 remove event locking 2008-10-15 15:01:12 +02:00
Mathieu Lacage 59617b7716 rename RealtimeSimulator to WallclockSimulator
--HG--
rename : src/simulator/realtime-simulator.h => src/simulator/wallclock-simulator.h
2008-10-15 14:51:16 +02:00
Mathieu Lacage 9f41a23604 remove uneeded includes. 2008-10-15 14:42:27 +02:00
Mathieu Lacage 2e17d5c35e move MakeEvent out of Simulator 2008-10-15 14:35:28 +02:00
Mathieu Lacage 0fffa8902f avoid using Ptr<EventImpl> 2008-10-15 13:35:49 +02:00
Mathieu Lacage ac3fe49626 don't use EventId in Schedulers: use Scheduler::Event instead. 2008-10-15 13:05:33 +02:00
Mathieu Lacage fa6f146a97 define Scheduler::Event and use it in Scheduler::Insert 2008-10-15 10:33:43 +02:00
Mathieu Lacage 7cedb901fc reuse operator < (EventKey) 2008-10-15 10:11:32 +02:00
Mathieu Lacage 4d763f0ef2 remove uneeded include. 2008-10-15 10:10:53 +02:00
Craig Dowell b84fb74840 implement a non-realtime version of RunOneEvent for realtime simulator and allow Run, Stop, Run 2008-10-14 23:13:12 -07:00
Craig Dowell f90fd0884d slight reorganization and naming change for added realtime methods 2008-10-14 22:52:41 -07:00
Craig Dowell b17bf6c0ec added test for m_running in ScheduleRealNow 2008-10-10 21:01:50 -07:00
Craig Dowell bec8013cbd it helps to remember to add function implementations 2008-10-10 16:43:43 -07:00
Craig Dowell 516726982b add dangerous realtime scheduling methods in an intentionally harder to find and use way 2008-10-10 16:22:13 -07:00
Craig Dowell 6710a1eae3 make simulator schedule calls explicitly relative throughout. fixes multithread problem in realtime simulator 2008-10-10 15:24:56 -07:00
Craig Dowell dbf7705859 enable nsc when nsc enabled 2008-09-09 17:09:37 -07:00
Gustavo J. A. M. Carneiro 98db0a8404 Missing include 2008-09-08 12:54:47 +01:00
Gustavo J. A. M. Carneiro b204c9b959 Detect the pthread.h header file and automatically disable components that cannot build without it. 2008-09-08 12:19:46 +01:00
craigdo@ns-test 5be189981f just remove hires clocks from wall-clock-synchronizer until they are needed 2008-09-06 21:15:59 -07:00
craigdo@ns-test ee6aa9259a fix MinGW build 2008-09-06 21:04:39 -07:00
craigdo@ns-test 5a72b75a69 no references to timespec if CLOCK_REALTIME undef 2008-09-06 10:41:13 -07:00
Gustavo J. A. M. Carneiro f3b6e17c98 RealTimeSimulatorImpl::EnableLogTo() is not implemented, remove it from the header file. 2008-08-29 14:53:38 +01:00
craigdo@craig-dowells-imac.local 968ed309cb expunge any mention of the possibility that the real-time simlator could operate in real-time mode 2008-08-28 15:11:55 -07:00
craigdo@craig-dowells-imac.local 8e0c15d370 don't assume posix compatibility means posix clocks 2008-08-28 15:06:49 -07:00
Craig Dowell d52e9e8098 ifdef out ability to feed real-time through simulator 2008-08-26 23:11:11 -07:00
Craig Dowell 9dc7f6599f add realtime simulator and associated tests 2008-08-26 15:34:57 -07:00
Gustavo J. A. M. Carneiro 7aa146106f Bug #270: Simulator::RunOneEvent
--HG--
extra : transplant_source : %B0u%24%87v%8077%BA%94X%3E%2B%EE%21T%5E%5DZ%27
2008-08-06 11:37:52 +01:00
Mathieu Lacage 68fffc0e1f repeat the virtual keyword in the subclass 2008-08-05 10:06:40 -07:00
Mathieu Lacage 588f37f6b4 bug 269: revert parts of 9e763021e045 and add comments to avoid getting these again. 2008-08-03 09:14:07 -07:00