This commit is contained in:
Gael Guennebaud 2010-02-22 11:30:36 +01:00
commit 4ba25a8d5c

View File

@ -126,8 +126,9 @@ public:
inline double getRealTime()
{
#ifdef WIN32
// TODO
return getCputime;
SYSTEMTIME st;
GetSystemTime(&st);
return (double)st.wSecond + 1.e-6 * (double)st.wMilliseconds;
#else
struct timeval tv;
struct timezone tz;