mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-21 20:17:35 +08:00
merge
This commit is contained in:
commit
4ba25a8d5c
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user