| 125 | } |
| 126 | |
| 127 | double GetTime() |
| 128 | { |
| 129 | if( usePerformance ) |
| 130 | { |
| 131 | __int64 ticks; |
| 132 | QueryPerformanceCounter((LARGE_INTEGER *)&ticks); |
| 133 | |
| 134 | return double(ticks)/ticksPerSecond - timeOffset; |
| 135 | } |
| 136 | |
| 137 | return double(timeGetTime())/1000.0 - timeOffset; |
| 138 | } |
| 139 | |
| 140 | double Begin(const char *name) |
| 141 | { |
nothing calls this directly
no test coverage detected