X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=common%2Fos_win32.cpp;h=199ae5a7e4a656be9b41c24d8c53090acabe0360;hb=ddbf8c0065ce1b7502e3e127a846add476ab7a4c;hp=7b35ccf8cacf322338fa1107fffc3af40cc6affa;hpb=c76aab3ab2c6fbd3a0354906a2829640935d64e9;p=apitrace diff --git a/common/os_win32.cpp b/common/os_win32.cpp index 7b35ccf..199ae5a 100644 --- a/common/os_win32.cpp +++ b/common/os_win32.cpp @@ -213,16 +213,7 @@ log(const char *format, ...) #endif } -long long -getTime(void) -{ - static LARGE_INTEGER frequency; - LARGE_INTEGER counter; - if (!frequency.QuadPart) - QueryPerformanceFrequency(&frequency); - QueryPerformanceCounter(&counter); - return counter.QuadPart*1000000LL/frequency.QuadPart; -} +long long timeFrequency = 0LL; void abort(void)