Commit Graph
48 Commits
Author SHA1 Message Date
Mathieu Lacage 624b741c2f add Value support to Time 2008-02-08 00:52:32 +01:00
Mathieu Lacage 9e4d713cb4 MaxSeconds -> Simulator::GetMaximumSimulationTime 2007-11-29 15:59:31 +01:00
Mathieu Lacage 80984a9994 merge with HEAD 2007-11-15 10:18:17 +01:00
Mathieu Lacage 23cc737df6 check for Time bounds 2007-11-15 10:15:16 +01:00
Mathieu Lacage 05cfb1d5f3 timestep is a signed quantity. 2007-11-14 14:16:42 +01:00
Mathieu Lacage a15c9047ea add a ns3::MaxSeconds function 2007-11-14 13:45:17 +01:00
Mathieu Lacage b7700e016c remove 'All rights reserved' mention 2007-10-08 15:54:36 +02:00
Mathieu Lacage 5a15701fca rename Bind to DefaultValue::Bind. fix bug 62 2007-08-08 16:41:59 +02:00
Mathieu Lacage d7cfb6d338 append correct unit when printing Time objects 2007-07-02 19:44:18 +02:00
Mathieu Lacage 3234c95744 add DefaultValue support for TimeStepPrecision 2007-05-24 09:34:58 +02:00
Mathieu Lacage f3244d0908 add reference to Emmanuelle in Authors/Copyright 2007-05-24 09:11:46 +02:00
Mathieu Lacage 1987bcd5d1 avoid cyclic dependency between Simulator and Time code 2007-05-24 09:08:24 +02:00
Mathieu Lacage f5c0fbd0d5 fix small typos 2007-05-24 09:04:19 +02:00
Mathieu Lacage 3b4e78c380 namespace the precision values properly 2007-05-24 09:02:17 +02:00
Emmanuelle Laprise 93fad84881 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 9bfd1b0c8e 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@rajib-bhattacharjeas-computer.local 5a715608c5 Added back corrected version of TimeUnit(string) 2007-03-25 13:11:20 -04:00
Tom Henderson 01cb7b174b Revert Raj's time unit patch-- causing compilation errors 2007-03-25 06:43:34 -07:00
Raj Bhattacharjea 7c94b9ca9f Added TimeUnit<1>::TimeUnit<1>(const std::string&) 2007-03-23 13:47:22 -04:00
Mathieu Lacage 813fb972db make TimeUnit<1>.GetSeconds() work, and similar for scalars. Patch by Gustavo Carneiro. 2007-03-13 17:44:36 +01:00
Mathieu Lacage cdd54b98f4 avoid unused variable compiler warnings 2007-02-06 15:49:42 +01:00
Mathieu Lacage f9030af5e2 optimize Time::Get methods 2007-02-02 19:40:03 +01:00
Mathieu Lacage 29c1bbdde3 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 ec65cc9890 add a few more tests for the Time class 2007-02-02 15:39:47 +01:00
Mathieu Lacage ebe99a4afb 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 bae3db8549 allow the user to specify microseconds and nanoseconds in 64bit units. 2006-12-13 15:20:03 +01:00
Mathieu Lacage 95b0106bdf more tests for Time class 2006-12-04 13:42:31 +01:00
Mathieu Lacage e3e7faa63b implement 128 bit arithmetic with cairo's internal types 2006-12-04 10:33:02 +01:00
Mathieu Lacage f784fee81d rename Time::ApproximateTo methods to Time::Get 2006-11-21 15:53:32 +01:00
Mathieu Lacage 538c9a5bea more tests for Time classes 2006-11-03 11:07:24 +01:00
Mathieu Lacage 843c828107 implement Scalar::GetDouble 2006-11-03 09:28:29 +01:00
Mathieu Lacage 4635748922 add a bunch of tests for Time classes 2006-11-03 09:26:48 +01:00
Mathieu Lacage 124978b531 new Time implementation 2006-11-03 09:22:07 +01:00
Mathieu Lacage 972b4f44da add Scale/Min/Max/Abs non-member functions 2006-11-01 13:27:32 +01:00
Mathieu Lacage 881f3bc03c fix coding style 2006-11-01 13:11:30 +01:00
Mathieu Lacage b7e4b7567d fix Time::ApproximateTo* return type 2006-10-28 21:21:48 +02:00
Mathieu Lacage c877a34562 new Time implementation 2006-10-28 21:21:34 +02:00
Mathieu Lacage 061e6cd99c change emacs mode to new NS3 elisp mode 2006-10-20 14:17:03 +02:00
Mathieu Lacage 30c4e8edaa fix coding style 2006-10-06 13:37:25 +02:00
Mathieu Lacage 89582dbb42 fix emacs tab mode (reported by george) 2006-10-02 14:34:53 +02:00
Mathieu Lacage d7c6831b80 remove unused code 2006-09-06 14:08:19 +02:00
Mathieu Lacage 3bc3407e31 change indent to be 4 spaces 2006-09-05 13:18:11 +02:00
Mathieu Lacage 35a8340aeb variable/method/function coding style update 2006-09-05 13:13:39 +02:00
Mathieu Lacage e342f33d50 member variables coding style change 2006-09-05 12:54:53 +02:00
Mathieu Lacage f03e4dcd7f add comment on unused code 2006-09-04 13:19:07 +02:00
Mathieu Lacage 9b061dd6aa fix us/ns handling 2006-09-04 13:18:16 +02:00
Mathieu Lacage a14c6c58e9 use ns as internal time and export time as ns. 2006-09-04 13:11:34 +02:00
Mathieu Lacage f9f703a85a first cut at george's ideas on api 2006-09-03 12:24:04 +02:00