Commit Graph

147 Commits

Author SHA1 Message Date
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
8ef4881f88 Make tags more robust with regard to lack of tag registration 2007-02-01 18:50:58 +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
Mathieu Lacage
0dacd8bfda do not use internal iterator void *. fix valgrind warnings 2006-12-11 19:14:38 +01:00
Mathieu Lacage
a29dd08cd0 std::map::find triggers this assert on purpose. So, the assert is wrong. 2006-12-11 19:14:24 +01:00
Mathieu Lacage
5540a3de6d do not forget to update the key arg upon sucessful return 2006-12-11 19:13:35 +01:00
Mathieu Lacage
c2a68da13e do not use internal iterator void * pointer in SchedulerList 2006-12-11 19:07:25 +01:00
Mathieu Lacage
dcd8c74ae8 fix memory leaks 2006-12-11 18:56:11 +01:00
Mathieu Lacage
7d8437b78f remove purity from virtual destructor in Header and Trailer 2006-12-05 10:08:27 +01:00
Mathieu Lacage
776392cee4 even more tests 2006-12-04 13:49:28 +01:00
Mathieu Lacage
25fa4c6c83 a bunch of tests 2006-12-04 13:45:46 +01:00
Mathieu Lacage
40c7810080 more tests for Time class 2006-12-04 13:42:31 +01:00
Mathieu Lacage
ad9f80c1c5 improve the precision of the multiplication operator 2006-12-04 13:25:51 +01:00
Mathieu Lacage
b6acf05f80 fix 128 bit to/from double conversions 2006-12-04 12:51:57 +01:00
Mathieu Lacage
5d99ccd05a fix div and mul operators 2006-12-04 11:04:49 +01:00
Mathieu Lacage
16e62faea8 implement 128 bit arithmetic with cairo's internal types 2006-12-04 10:33:02 +01:00
Mathieu Lacage
54003d6fd0 fix typo and make sure we use uint64 native type by default. 2006-12-04 10:17:53 +01:00
Mathieu Lacage
d9485fce89 split high precision implementations in different files 2006-12-04 08:39:11 +01:00
Mathieu Lacage
8e928e75e4 fix some warnings 2006-12-04 08:11:44 +01:00
Mathieu Lacage
0018ebb50b fix obvious bugs in some cairo exotic functions 2006-12-04 08:05:34 +01:00
Mathieu Lacage
04e6f0dfa0 add needed configure magic and header includes 2006-12-04 08:03:28 +01:00
Mathieu Lacage
fa04c0e0df import cairo code 2006-12-04 07:33:45 +01:00
Mathieu Lacage
ac043f3e9d rename Time::ApproximateTo methods to Time::Get 2006-11-21 15:53:32 +01:00
Mathieu Lacage
b4e41a481b make Time relative instead of Absolute 2006-11-21 15:50:09 +01:00
Mathieu Lacage
9593f026a9 more tests for Time classes 2006-11-03 11:07:24 +01:00
Mathieu Lacage
13b6868242 fix Simulator doxygen warnings 2006-11-03 10:22:55 +01:00
Mathieu Lacage
7c28f1cf7b add doxygen dox for Time classes 2006-11-03 10:22:45 +01:00
Mathieu Lacage
a0a93e6f8d implement Scalar::GetDouble 2006-11-03 09:28:29 +01:00
Mathieu Lacage
c4084caf1e add a bunch of tests for Time classes 2006-11-03 09:26:48 +01:00
Mathieu Lacage
a4b9296639 new Time implementation 2006-11-03 09:22:07 +01:00
Mathieu Lacage
3cd499c1a7 add Abs/Max/Min non-member functions 2006-11-03 09:17:13 +01:00