Commit Graph
330 Commits
Author SHA1 Message Date
Timo Bingmann b86ee85aa1 bug 486: patches for icc compilation. 2009-02-24 08:29:36 +01:00
Gustavo J. A. M. Carneiro 92c88bfc85 librt is need not for threading primitives but for the real time scheduler 2009-01-24 18:47:47 +00:00
Mathieu Lacage ce627ba18b bug 472: fix build with gcc 3.4.6 2009-01-18 12:14:32 +01:00
Mathieu Lacage 4e158b2a00 add missing include 2009-01-16 09:06:59 +01:00
Mathieu Lacage 80bbec4aaa add missing copyright/license statement 2009-01-16 08:58:17 +01:00
Mathieu Lacage c38d9c58e1 ns-2 calendar code 2009-01-15 20:56:06 +01:00
Mathieu Lacage 46e2608467 test calendar+ns2calendar schedulers 2009-01-15 20:55:34 +01:00
Mathieu Lacage c36e0cd54c add new comparison operators. 2009-01-15 20:54:11 +01:00
Mathieu Lacage e95047302a memleak 2009-01-15 20:53:50 +01:00
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