Commit Graph

136 Commits

Author SHA1 Message Date
Mathieu Lacage
80247a993d uniformize the DefaultValues used by the Event Schedulers 2007-05-24 16:15:41 +02:00
Mathieu Lacage
25c6350a88 fix bug 24 2007-05-24 16:08:03 +02:00
Mathieu Lacage
9b4e7f4cfc add DefaultValue support for TimeStepPrecision 2007-05-24 09:34:58 +02:00
Mathieu Lacage
cd0c502986 more dox improvements 2007-05-24 09:22:48 +02:00
Mathieu Lacage
7436c51592 improve dox 2007-05-24 09:18:42 +02:00
Mathieu Lacage
95863b81a3 add reference to Emmanuelle in Authors/Copyright 2007-05-24 09:11:46 +02:00
Mathieu Lacage
49fbbec138 avoid cyclic dependency between Simulator and Time code 2007-05-24 09:08:24 +02:00
Mathieu Lacage
cc2d1399ab fix small typos 2007-05-24 09:04:19 +02:00
Mathieu Lacage
fcf02a427c namespace the precision values properly 2007-05-24 09:02:17 +02:00
Emmanuelle Laprise
73a66e5b1a Fixed the problems that were found by Mathieu Lacage in the first
implementation. Biggest change is to not allow any conversions to
double with the GetXxxSeconds and XxxSeconds functions. (see Bug 22
for more information)
2007-05-21 22:14:09 -05:00
Emmanuelle Laprise
23ab5ba436 The header file ns3/cairo-wideint-private.h was added since the type int32_t was used. 2007-05-17 12:12:44 -05:00
Raj Bhattacharjea
37aa2a4bd2 Fixed a gcc3.4.6 error for optimized builds 2007-05-16 13:37:39 -04:00
Gustavo J. A. M. Carneiro
ca2416f431 WAF: simplify wscripts using the new chained uselib_local dependencies feature of WAF SVN; now build all samples and examples; add --disable-rpath configure option; add WAF build instructions. 2007-05-13 12:46:18 +01:00
Gustavo J. A. M. Carneiro
b2a87732c9 Add support for building with WAF 2007-05-07 12:01:51 +01:00
Mathieu Lacage
5461e0a056 fix doxygen doc error 2007-05-09 17:07:50 +02:00
Mathieu Lacage
ccd6f5b640 merge with HEAD 2007-05-04 14:03:12 +02:00
Mathieu Lacage
3cc6ff972b a singleton template class to simplify the implementation of a few classes 2007-05-02 13:43:41 +02:00
Mathieu Lacage
0c235e8edd improve debugger output for time variables when we do not need the 128 bit statistics 2007-05-02 11:22:27 +02:00
Mathieu Lacage
b7ad24cea9 make sure that Simulator::Cancel deals correctly with events which were already scheduled 2007-05-02 10:20:44 +02:00
Raj Bhattacharjea
327c365a41 Incorporated defaults and command-line arguments 2007-04-26 11:36:05 -04:00
Unknown
be28cb56ff Added back corrected version of TimeUnit(string) 2007-03-25 13:11:20 -04:00
Tom Henderson
f62c2ad8e5 Revert Raj's time unit patch-- causing compilation errors 2007-03-25 06:43:34 -07:00
Raj Bhattacharjea
ad941f038c Added TimeUnit<1>::TimeUnit<1>(const std::string&) 2007-03-23 13:47:22 -04:00
Tom Henderson
327949573d move channel.cc channel.h to node directory; merge ns-3-tracing from mathieu 2007-03-18 14:06:51 -07:00
Mathieu Lacage
31adc9851a make TimeUnit<1>.GetSeconds() work, and similar for scalars. Patch by Gustavo Carneiro. 2007-03-13 17:44:36 +01:00
Mathieu Lacage
7d3e9538f0 add consistency checks. Based on patch by Gustavo Carneiro 2007-03-06 18:38:51 +01:00
Mathieu Lacage
d9318db068 convert use of <cassert> to "ns3/assert.h" 2007-02-16 09:56:21 +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
1cc14d25dc avoid unused variable compiler warnings 2007-02-06 15:49:42 +01: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
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
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
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
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
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
Mathieu Lacage
3fb6ed332a add empty binary heap test 2006-12-11 19:43:46 +01:00
Mathieu Lacage
2fe5076375 remove now-unimplemented IsValid method 2006-12-11 19:37:53 +01:00
Mathieu Lacage
394c26b05b make SchedulerHeap not use the internal iterator void * 2006-12-11 19:36:48 +01:00