mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
merge
This commit is contained in:
@@ -126,8 +126,9 @@ public:
|
|||||||
inline double getRealTime()
|
inline double getRealTime()
|
||||||
{
|
{
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
// TODO
|
SYSTEMTIME st;
|
||||||
return getCputime;
|
GetSystemTime(&st);
|
||||||
|
return (double)st.wSecond + 1.e-6 * (double)st.wMilliseconds;
|
||||||
#else
|
#else
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
struct timezone tz;
|
struct timezone tz;
|
||||||
|
|||||||
Reference in New Issue
Block a user