Commit Graph

329 Commits

Author SHA1 Message Date
Gustavo J. A. M. Carneiro
a88ba4fd5b librt is need not for threading primitives but for the real time scheduler 2009-01-24 18:47:47 +00:00
Mathieu Lacage
c7222e4a09 bug 472: fix build with gcc 3.4.6 2009-01-18 12:14:32 +01:00
Mathieu Lacage
edc5b803a0 add missing include 2009-01-16 09:06:59 +01:00
Mathieu Lacage
d14c6a670d add missing copyright/license statement 2009-01-16 08:58:17 +01:00
Mathieu Lacage
7604c76fd4 ns-2 calendar code 2009-01-15 20:56:06 +01:00
Mathieu Lacage
14fdfbf4b2 test calendar+ns2calendar schedulers 2009-01-15 20:55:34 +01:00
Mathieu Lacage
e4e6eb1ab0 add new comparison operators. 2009-01-15 20:54:11 +01:00
Mathieu Lacage
f232747976 memleak 2009-01-15 20:53:50 +01:00
Mathieu Lacage
05437e76a9 empty skeleton for ns2 calendar scheduler 2009-01-15 11:23:59 +01:00
Gustavo J. A. M. Carneiro
8d8d19ef45 Fix build for systems without posix threads library 2009-01-14 15:36:19 +00:00
Gustavo J. A. M. Carneiro
edd1e2552a Correct documentation 2009-01-14 12:46:06 +00:00
Gustavo J. A. M. Carneiro
a374c0f03e 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
2007671aa0 merge 2009-01-09 11:44:13 +00:00
Mathieu Lacage
74f2de296c bug 459: Simulator::Run does nothing after Simulator::Stop is called 2009-01-09 08:54:32 +01:00
Mathieu Lacage
85af7552dd add SchedulerType global variable 2009-01-09 08:17:46 +01:00
Mathieu Lacage
557a62b1a1 simplify the implementation 2009-01-09 07:51:17 +01:00
Mathieu Lacage
28a2ce0c66 introduce lastPrio to handle resizing correctly 2009-01-08 16:23:33 +01:00
Mathieu Lacage
e5bb6e6b60 optimize resizing 2009-01-08 11:43:15 +01:00
Mathieu Lacage
a60dcb5fb4 add back asserts 2009-01-08 11:21:25 +01:00
Mathieu Lacage
03f68f9350 resize calendar queue. Slow :/ 2009-01-08 11:15:27 +01:00
Mathieu Lacage
6d79dc1e82 a Calendar queue without resizing. 2009-01-08 09:31:38 +01:00
Mathieu Lacage
a3ebce551f bug 455: Scalar(0.1) / Scalar(1.25) has no effect 2009-01-07 14:49:30 +01:00
Mathieu Lacage
04d95b5962 fix coding style 2009-01-07 13:33:59 +01:00
Gustavo J. A. M. Carneiro
f19d54fddd Upgrade to new WAF, work in progress 2008-12-29 13:28:54 +00:00
mathieu.
691ce0fdde fix bug 230, rescan bindings 2008-12-10 17:01:06 -08:00
Craig Dowell
cea36a7ce4 make a pass through doxygen fixing errors 2008-12-09 20:29:04 -08:00
Mathieu Lacage
fe8a6a83b9 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
e2c52c7b90 remove realtime public API. 2008-10-27 12:47:33 +01:00
Mathieu Lacage
1a6629d9cf make sure we implement all Schedule methods within the right class 2008-10-15 15:53:06 +02:00
Mathieu Lacage
cfea3297ac remove event locking 2008-10-15 15:01:12 +02:00
Mathieu Lacage
82bbe71419 rename RealtimeSimulator to WallclockSimulator 2008-10-15 14:51:16 +02:00
Mathieu Lacage
6557016724 remove uneeded includes. 2008-10-15 14:42:27 +02:00
Mathieu Lacage
5dc0415289 move MakeEvent out of Simulator 2008-10-15 14:35:28 +02:00
Mathieu Lacage
e33fc49877 avoid using Ptr<EventImpl> 2008-10-15 13:35:49 +02:00
Mathieu Lacage
b4e442df4d don't use EventId in Schedulers: use Scheduler::Event instead. 2008-10-15 13:05:33 +02:00
Mathieu Lacage
253fecb82e define Scheduler::Event and use it in Scheduler::Insert 2008-10-15 10:33:43 +02:00
Mathieu Lacage
64c11d222a reuse operator < (EventKey) 2008-10-15 10:11:32 +02:00
Mathieu Lacage
0d77861853 remove uneeded include. 2008-10-15 10:10:53 +02:00
Craig Dowell
2ca2b4e6bf 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
8b6dc98d14 slight reorganization and naming change for added realtime methods 2008-10-14 22:52:41 -07:00
Craig Dowell
415f3adbc5 added test for m_running in ScheduleRealNow 2008-10-10 21:01:50 -07:00
Craig Dowell
55cca9abef it helps to remember to add function implementations 2008-10-10 16:43:43 -07:00
Craig Dowell
b6a9b08f75 add dangerous realtime scheduling methods in an intentionally harder to find and use way 2008-10-10 16:22:13 -07:00
Craig Dowell
c101158f24 make simulator schedule calls explicitly relative throughout. fixes multithread problem in realtime simulator 2008-10-10 15:24:56 -07:00
Craig Dowell
cb9b816af0 enable nsc when nsc enabled 2008-09-09 17:09:37 -07:00
Gustavo J. A. M. Carneiro
8bb361bcba Missing include 2008-09-08 12:54:47 +01:00
Gustavo J. A. M. Carneiro
e1f187d38a Detect the pthread.h header file and automatically disable components that cannot build without it. 2008-09-08 12:19:46 +01:00
Unknown
d8dc981267 just remove hires clocks from wall-clock-synchronizer until they are needed 2008-09-06 21:15:59 -07:00
Unknown
e84289cff4 fix MinGW build 2008-09-06 21:04:39 -07:00
Unknown
fd149a38f3 no references to timespec if CLOCK_REALTIME undef 2008-09-06 10:41:13 -07:00