| 119 | } |
| 120 | |
| 121 | double Plat_FloatTime() |
| 122 | { |
| 123 | // We subtract off the tick base to keep the diff as small |
| 124 | // as possible so that our conversion math is more accurate. |
| 125 | uint64 Ticks = Plat_RelativeTicks(); // NOTE: inits globals |
| 126 | return ((double)(int64)(Ticks - g_TickBase)) / g_TickFrequencyDouble; |
| 127 | } |
| 128 | |
| 129 | uint64 Plat_USTime() |
| 130 | { |
nothing calls this directly
no test coverage detected