Changeset 276 for Daodan/src/Daodan_Utility.c
- Timestamp:
- Mar 18, 2009, 8:48:30 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Daodan/src/Daodan_Utility.c
r275 r276 28 28 } 29 29 30 int64_t DDrMachineTime_Sixtieths() 31 { 32 static int64_t LastTime, Time; 33 int64_t Current; 34 35 Current = LastTime + GetTickCount(); 36 37 if (Current > Time) 38 { 39 LastTime += 1; 40 Current += 1; 41 } 42 43 Time = Current; 44 45 return (Time * 3) / 50; 46 } 47 30 48 int64_t DDrMachineTime_High() 31 49 {
Note:
See TracChangeset
for help on using the changeset viewer.