Commit Graph
101 Commits
Author SHA1 Message Date
Craig Dowell f90fd0884d slight reorganization and naming change for added realtime methods 2008-10-14 22:52:41 -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
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 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 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 aea6a9916b fix a couple of XXX 2008-05-30 11:11:00 -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 f0cf30bdb7 get rid of Attribute class. Use AttributeValue subclasses directly. 2008-04-17 13:42:25 -07: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 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
Mathieu Lacage 495ede4ae9 do not use ObjectBase as a base class. 2008-03-16 18:42:23 +01:00
Mathieu Lacage d78a27b95c kill DefaultValue 2008-03-10 00:27:53 +01:00
Mathieu Lacage 583d5a3273 do not use DefaultValues in simulator 2008-03-03 20:47:12 +01:00
Mathieu Lacage f31fa14684 merge with HEAD
--HG--
rename : src/mobility/random-position.cc => src/mobility/position-allocator.cc
rename : src/mobility/random-position.h => src/mobility/position-allocator.h
2008-02-27 22:19:39 +01:00
Mathieu Lacage 3da60fbecb Release all events left upon Simulator::Destroy 2008-02-26 01:39:59 +01:00
Mathieu Lacage 6dad8a4d79 introduce ObjectBase 2008-01-30 17:25:06 +01:00
Mathieu Lacage 242e8356a9 bug 104: add a method to retrive the maximum simulation time. 2007-11-21 15:54:34 +01:00
Mathieu Lacage b7700e016c remove 'All rights reserved' mention 2007-10-08 15:54:36 +02:00
Mathieu Lacage 9902b77846 add Simulator::GetDelayLeft 2007-10-03 13:01:12 +02:00
Gustavo J. A. M. Carneiro b32284c17b Call Simulator::Destroy () before running simulator unit tests, to force time to start from zero (some tests check for absolute times) 2007-09-21 18:04:53 +01:00
Gustavo J. A. M. Carneiro d225ef7939 Use NS_TEST_* macros for simulator unit tests 2007-09-21 17:57:06 +01:00
Mathieu Lacage c780ceb2f9 fix last errors for new tests 2007-08-24 15:11:08 +02:00
Mathieu Lacage 49afa68085 add failing tests 2007-08-24 14:45:25 +02:00
Mathieu Lacage 5a15701fca rename Bind to DefaultValue::Bind. fix bug 62 2007-08-08 16:41:59 +02:00
Mathieu Lacage b862eef794 remove GetEventImpl 2007-07-27 17:44:15 +02:00
Mathieu Lacage f2d682c6eb be more consistant in the handling of references 2007-07-27 17:36:14 +02:00
Mathieu Lacage 579da82cce more optimizations 2007-07-27 17:28:17 +02:00
Mathieu Lacage 5168bd8db6 optimize EventImpl refcounting 2007-07-27 17:18:14 +02:00
Mathieu Lacage 5df4aa5589 use a Ptr<> to manage EventImpl instances 2007-07-27 15:37:22 +02:00
Mathieu Lacage 6370055437 GetEventImpl -> PeekEventImpl 2007-07-27 09:50:21 +02:00
Mathieu Lacage cce7d91487 make sure IsExpired handles destroy events correctly 2007-07-23 15:16:45 +02:00
Mathieu Lacage cbd9a431a8 add support to cancel Now and Destroy events. 2007-07-23 14:52:51 +02:00
Mathieu Lacage 5c74772062 finish support for references as arguments to event handlers 2007-07-19 18:57:19 +02:00
Mathieu Lacage 1e7fc1ccbf failing testcases to for events with references as arguments 2007-07-19 13:45:07 +02:00
Gustavo J. A. M. Carneiro 077e2d79e1 Make Simulator::IsExpired parameter const, to reflect the fact that the EventId is not changed. EventId::IsExpired and EventId::IsRunning also made const.
--HG--
extra : transplant_source : l%B2q%00j%5B%B9%AF%E5%E7%29%01%CA%CC%80%A5%94%DE%FF%BD
2007-07-12 12:41:37 +01:00
Mathieu Lacage 086ba70562 uniformize the DefaultValues used by the Event Schedulers 2007-05-24 16:15:41 +02:00