Commit Graph

295 Commits

Author SHA1 Message Date
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
Gustavo J. A. M. Carneiro
b88b399635 RealTimeSimulatorImpl::EnableLogTo() is not implemented, remove it from the header file. 2008-08-29 14:53:38 +01:00
Unknown
caa878e725 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
Unknown
15766219de don't assume posix compatibility means posix clocks 2008-08-28 15:06:49 -07:00
Craig Dowell
c466a1d098 ifdef out ability to feed real-time through simulator 2008-08-26 23:11:11 -07:00
Craig Dowell
3ba8dce954 add realtime simulator and associated tests 2008-08-26 15:34:57 -07:00
Gustavo J. A. M. Carneiro
161adc2a4e Bug #270: Simulator::RunOneEvent 2008-08-06 11:37:52 +01:00
Mathieu Lacage
162194c37f repeat the virtual keyword in the subclass 2008-08-05 10:06:40 -07:00
Mathieu Lacage
7a711ae53e bug 269: revert parts of 9e763021e045 and add comments to avoid getting these again. 2008-08-03 09:14:07 -07:00
Mathieu Lacage
317878411a kill dead code 2008-07-30 12:43:43 -07:00
Mathieu Lacage
36f196a9a0 bug 252: get rid of dead code. 2008-07-28 08:54:20 -07:00
Gustavo J. A. M. Carneiro
732b7994de Add empty implementation of Simulator::SetImplementation, to make Python bindings work. 2008-07-24 11:37:56 +01:00
Craig Dowell
9c8ee223b3 make simulator implementation replaceable via global default value 2008-07-18 21:51:31 -07:00
Craig Dowell
b1af5815b0 factor simulator into interface and (multiple) implementation pieces 2008-07-17 23:52:59 -07:00
Mathieu Lacage
c1f8cff710 kill dead unimplemented API 2008-07-08 10:02:57 -07:00
Mathieu Lacage
056c8a7855 merge with HEAD 2008-07-02 13:21:01 -07:00
Mathieu Lacage
572ee9e3c9 export new methods for language bindings 2008-07-02 08:37:57 -07:00
Mathieu Lacage
b93a9aeef4 bug 245: build failure with gcc 4.3.x 2008-07-02 03:16:36 -07:00
Mathieu Lacage
12ae07ddab bug 202: classes disappeared from doxygen output 2008-06-04 11:48:52 -07:00
Mathieu Lacage
26d46a960d fix a couple of XXX 2008-05-30 11:11:00 -07:00
Mathieu Lacage
2a323473e4 doxygen 2008-05-30 11:03:18 -07:00
Tom Henderson
dfb9b7360a Doxygen organization 2008-05-29 23:24:10 -07:00
Gustavo J. A. M. Carneiro
6152ba1a89 Make Application::Start/Stop times relative, Simulator::StopAt(time) renamed to Simulator::Stop(time) and time also made relative, to improve consistency of the API which uses relative times everywhere else. Closes bug #191. 2008-05-29 11:45:57 +01:00
Mathieu Lacage
6236cbf9a3 avoid useless ifdefs 2008-05-07 14:40:03 -07:00
Craig Dowell
58ab30c53c fix optimized build, bug 169 2008-05-07 14:24:45 -07:00
Mathieu Lacage
4c424da911 add comments about previous bug fix 2008-05-07 11:33:40 -07:00
Mathieu Lacage
73aec9c9b1 avoid segfault when setting NS_LOG=* 2008-05-06 12:20:10 -07:00
Mathieu Lacage
7be1b92968 merge with HEAD 2008-04-21 09:04:08 -07:00
Mathieu Lacage
35170aed54 merge with HEAD 2008-04-17 15:54:35 -07:00
Mathieu Lacage
2c1b7db441 merge with HEAD 2008-04-17 15:50:49 -07:00
Mathieu Lacage
3b711f9852 improve the auto-generated doxygen output. 2008-04-17 15:30:18 -07:00
Mathieu Lacage
4ff40c4a07 get rid of Attribute class. Use AttributeValue subclasses directly. 2008-04-17 13:42:25 -07:00
Gustavo J. A. M. Carneiro
254057bd80 Add assertion to detect TimeUnit<N> divide by zero (if not detected, it creates an infinite loop) 2008-04-17 17:19:24 +01:00
Mathieu Lacage
6fd8b6c572 bug 143: rename scheduler files 2008-04-15 10:09:42 -07:00
Mathieu Lacage
43dbc0b4d1 fix optimized build 2008-04-14 12:21:24 -07:00