Changeset 7331 for code/branches/doc/src/libraries/util/Clock.cc
- Timestamp:
- Sep 3, 2010, 1:06:52 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/doc/src/libraries/util/Clock.cc
r6417 r7331 50 50 long, which will eventually overflow. But if you use the subtraction of 51 51 the current time minus the last time the timer gave us and sum these up to 52 a 64 bit integer, we get the desired result. 52 a 64 bit integer, we get the desired result. <br> 53 53 Also mind that we don't have to store the last timer's time as unsigned long 54 54 as well because (unsigned long)tickTime_ will do exactly that.
Note: See TracChangeset
for help on using the changeset viewer.