Commit Graph

242 Commits

Author SHA1 Message Date
Mathieu Lacage
42ea8aabe0 add API doc 2007-02-13 10:23:47 +01:00
Mathieu Lacage
b2c8866cbf make sure tha NS3_DEBUG_ENABLE is defined by doxygen preprocessor 2007-02-13 10:23:31 +01:00
Mathieu Lacage
310f67b835 avoid warning in optimized builds 2007-02-13 10:23:10 +01:00
Mathieu Lacage
cb102a5d0b improve assert brekapoint function 2007-02-13 10:22:49 +01:00
Mathieu Lacage
f5fee4c7af really trigger segfault when needed 2007-02-13 09:52:42 +01:00
Mathieu Lacage
bd19595461 add NS3_ASSERT and NS3_ASSERT_MSG 2007-02-13 09:45:32 +01:00
Mathieu Lacage
7abd854183 test and debug the debug support 2007-02-07 08:49:54 +01:00
Mathieu Lacage
95778d9453 define NS3_DEBBUG_ENABLE when needed 2007-02-07 08:29:01 +01:00
Mathieu Lacage
8cfa657d89 remove EnableEnvVar function 2007-02-06 21:42:31 +01:00
Mathieu Lacage
84bdfa4ac5 add debugging support 2007-02-06 20:40:38 +01:00
Mathieu Lacage
7de56dad44 remove compiler warning about unused variable when asserts are disabled. 2007-02-06 19:59:28 +01:00
Mathieu Lacage
02d1e1f2e9 merge from trunnk 2007-02-06 15:50:20 +01:00
Mathieu Lacage
1cc14d25dc avoid unused variable compiler warnings 2007-02-06 15:49:42 +01:00
Mathieu Lacage
392e51924b merge with ns-3-ptr branch 2007-02-06 08:57:44 +01:00
Mathieu Lacage
4094a5bb2c handle correctly nanosecond input 2007-02-05 12:42:32 +01:00
Mathieu Lacage
9df3f18084 use the new CallbackTracerBase::CheckCallbackType method to ensure proper type matching when invoking TraceContainer::SetCallback 2007-02-05 12:42:16 +01:00
Mathieu Lacage
bcad837abd add CallbackTracerBase and CallbackTracerBase::CheckCallbackType method to check the runtime type of a CallbackTracer 2007-02-05 12:41:36 +01:00
Mathieu Lacage
37b5380332 add CallbackBase and CallbackImplBase to allow the implementation of the runtime type checking method Callback::ChekType 2007-02-05 12:39:51 +01:00
Mathieu Lacage
d876bcc5ec constify 2007-02-05 12:38:52 +01:00
Unknown
a32774f7c9 Raj test commit 2007-02-02 14:41:28 -05:00
Mathieu Lacage
fe5bf44c65 add implementation comment 2007-02-02 20:02:34 +01:00
Mathieu Lacage
2e4ee67fea optimize Time::Get methods 2007-02-02 19:40:03 +01:00
Mathieu Lacage
48ae43c61e optimize Time arithmetic operations. 2007-02-02 19:37:16 +01:00
Mathieu Lacage
57b398139b fix trace output 2007-02-02 19:29:55 +01:00
Mathieu Lacage
548b20f75a added useless Time::Seconds method when doing testing for the removal of the Seconds class. Remove it. 2007-02-02 19:14:16 +01:00
Mathieu Lacage
99848bfcd9 add a few more tests for the Time class 2007-02-02 15:39:47 +01:00
Tom Henderson
9665e33445 Initial simple.tcl file 2007-02-02 00:04:48 -08:00
Mathieu Lacage
19e32b1d0c fix EventId::IsExpired and Simulator::IsExpired, add EventId::IsRunning, add relevant tests, replace Seconds, MilliSeconds, MicroSeconds, and, NanoSeconds classes by functions named similarly 2007-02-01 18:52:55 +01:00
Mathieu Lacage
8ef4881f88 Make tags more robust with regard to lack of tag registration 2007-02-01 18:50:58 +01:00
Mathieu Lacage
6bb4175d83 allow you to specify extra link flags for each module 2007-02-01 18:50:19 +01:00
Mathieu Lacage
041fcd1752 add ns3::Ptr<T>::operator * with a few tests 2007-01-31 20:14:23 +01:00
Mathieu Lacage
b37a9d44e8 add smart pointer sample code 2006-12-22 09:03:09 +01:00
Mathieu Lacage
735a076eb3 more tests, fix bugs uncovered by tests 2006-12-18 14:25:33 +01:00
Mathieu Lacage
3a88bb5f32 smart pointer tests. no bugs for now 2006-12-18 13:28:29 +01:00
Mathieu Lacage
4c0c225a19 initial go at smart pointer implementation 2006-12-18 13:17:08 +01:00
Mathieu Lacage
8138e1f91c make Heap scheduler remove operation first perform a linear search to find the target location and then perform a correct remove through a top-down heapification 2006-12-18 11:39:48 +01:00
Mathieu Lacage
05852215dc make sure we reset the simulator configuration for each run 2006-12-15 13:51:56 +01:00
Mathieu Lacage
311c6ce026 add command-line options to simulator benchmark 2006-12-15 10:19:49 +01:00
Mathieu Lacage
fb50c9bf5e remove now unused internal iterator from EventImpl class 2006-12-15 10:08:22 +01:00
Mathieu Lacage
a9e5c1ee3a remove empty tests 2006-12-15 10:06:55 +01:00
Mathieu Lacage
e28e55aea8 make the event replay code actually work. Stop using deques and use std::vector instead. plus a bunch of other fixes to deal correctly with removes 2006-12-15 10:05:28 +01:00
Mathieu Lacage
6aa35066f2 We need to make sure that the uid of the first event generated is different from the uid of the simulator when no events have yet been run. 2006-12-15 10:01:23 +01:00
Mathieu Lacage
3cab375630 allow the user to specify microseconds and nanoseconds in 64bit units. 2006-12-13 15:20:03 +01:00
Mathieu Lacage
9052010557 Log format is defined in units of nano seconds rather than seconds. 2006-12-13 15:19:06 +01:00
Mathieu Lacage
bdc613c1df fix the Simulation event replayer: make it build 2006-12-12 14:59:13 +01:00
Mathieu Lacage
262d09de55 optmize std::map comparison 2006-12-12 14:41:52 +01:00
Mathieu Lacage
6e0bc0ef9b optmize binary heap comparison 2006-12-12 14:41:39 +01:00
Mathieu Lacage
873367522a optimize other all comparison operators 2006-12-12 14:31:16 +01:00
Mathieu Lacage
cd7c70b0a1 optimize Binary Heap comparison operator 2006-12-12 14:30:44 +01:00
Mathieu Lacage
671b1cdf4e fix warnings for optimized build 2006-12-12 14:17:00 +01:00