Commit Graph
289 Commits
Author SHA1 Message Date
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
Mathieu Lacage d53784a9c2 kill dead code 2008-07-30 12:43:43 -07:00
Mathieu Lacage ab9aa5b295 bug 252: get rid of dead code. 2008-07-28 08:54:20 -07:00
Gustavo J. A. M. Carneiro c51ec2609e Add empty implementation of Simulator::SetImplementation, to make Python bindings work. 2008-07-24 11:37:56 +01:00
Craig Dowell 300dfc79c1 make simulator implementation replaceable via global default value 2008-07-18 21:51:31 -07:00
Craig Dowell 0e37b0eb5a factor simulator into interface and (multiple) implementation pieces 2008-07-17 23:52:59 -07:00
Mathieu Lacage bc086df699 kill dead unimplemented API 2008-07-08 10:02:57 -07:00
Mathieu Lacage 8c8ceef116 merge with HEAD 2008-07-02 13:21:01 -07:00
Mathieu Lacage 37f105cf31 export new methods for language bindings 2008-07-02 08:37:57 -07:00
Mathieu Lacage d81e28227f bug 245: build failure with gcc 4.3.x 2008-07-02 03:16:36 -07:00
Mathieu Lacage 1de8cdad49 bug 202: classes disappeared from doxygen output 2008-06-04 11:48:52 -07:00
Mathieu Lacage aea6a9916b fix a couple of XXX 2008-05-30 11:11:00 -07:00
Mathieu Lacage adc0338e83 doxygen 2008-05-30 11:03:18 -07:00
Tom Henderson 93043030b3 Doxygen organization 2008-05-29 23:24:10 -07:00
Gustavo J. A. M. Carneiro 4e69d6654f 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 7f18e5306b avoid useless ifdefs 2008-05-07 14:40:03 -07:00
Craig Dowell 388058f851 fix optimized build, bug 169 2008-05-07 14:24:45 -07:00
Mathieu Lacage 7660f6f25c add comments about previous bug fix 2008-05-07 11:33:40 -07:00
Mathieu Lacage f595469d26 avoid segfault when setting NS_LOG=* 2008-05-06 12:20:10 -07:00
Mathieu Lacage ef46e8a27c merge with HEAD 2008-04-21 09:04:08 -07:00
Mathieu Lacage 314292574b merge with HEAD 2008-04-17 15:54:35 -07:00
Mathieu Lacage 2db1b95f98 merge with HEAD 2008-04-17 15:50:49 -07:00
Mathieu Lacage 2affdb808c improve the auto-generated doxygen output. 2008-04-17 15:30:18 -07:00
Mathieu Lacage f0cf30bdb7 get rid of Attribute class. Use AttributeValue subclasses directly. 2008-04-17 13:42:25 -07:00
Gustavo J. A. M. Carneiro 73961c1e6a 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 24fbf70961 bug 143: rename scheduler files
--HG--
rename : src/simulator/scheduler-heap.cc => src/simulator/heap-scheduler.cc
rename : src/simulator/scheduler-heap.h => src/simulator/heap-scheduler.h
rename : src/simulator/scheduler-list.cc => src/simulator/list-scheduler.cc
rename : src/simulator/scheduler-list.h => src/simulator/list-scheduler.h
rename : src/simulator/scheduler-map.cc => src/simulator/map-scheduler.cc
rename : src/simulator/scheduler-map.h => src/simulator/map-scheduler.h
2008-04-15 10:09:42 -07:00
Mathieu Lacage 09477b9df5 fix optimized build 2008-04-14 12:21:24 -07:00
Mathieu Lacage 8e3014ef6d add time logging support 2008-04-14 11:30:15 -07:00
Mathieu Lacage c539ba6689 -1 cuts the trailing s if the time postfix is longer than 1 char. 2008-04-11 12:23:19 -07:00
Mathieu Lacage 0acfb94e6d get rid of scary implementation details of Attribute. 2008-04-10 12:59:31 -07:00
Mathieu Lacage 708c9c7dfa add a few missing ns3:: prefixes in TypeId names. 2008-04-10 11:50:08 -07:00
Mathieu Lacage 7024f99657 get rid of implicit conversion of Attribute to/from Ptr<>. Replace this with an explicit Pointer class. 2008-04-09 12:15:24 -07:00
Mathieu Lacage 2d36cd7907 Make sure that we really attempt to destroy everything upon process exit. Gets rid of spurious leak reports in valgrind. 2008-04-09 10:04:16 -07:00