mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 19:59:05 +08:00
Port BenchTimer fix.
This commit is contained in:
parent
4ba25a8d5c
commit
6730fd9f3f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user