Port BenchTimer fix.

This commit is contained in:
Hauke Heibel 2010-02-22 11:42:58 +01:00
parent 4ba25a8d5c
commit 6730fd9f3f

View File

@ -128,7 +128,7 @@ public:
#ifdef WIN32
SYSTEMTIME st;
GetSystemTime(&st);
return (double)st.wSecond + 1.e-6 * (double)st.wMilliseconds;
return (double)st.wSecond + 1.e-3 * (double)st.wMilliseconds;
#else
struct timeval tv;
struct timezone tz;