# | Line 27 | Line 27 | void __cdecl DDrStartupMessage(const cha | |
---|---|---|
27 | return; | |
28 | } | |
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 | + | |
48 | int64_t DDrMachineTime_High() | |
49 | { | |
50 | // LARGE_INTEGER PerfCount; |
– | Removed lines |
+ | Added lines |
< | Changed lines (old) |
> | Changed lines (new) |