提交 66522046 编写于 作者: D dongdaxiang

remove clock time in WIN32 mode

test=develop
上级 f2b92d77
...@@ -39,7 +39,7 @@ inline double current_realtime() { ...@@ -39,7 +39,7 @@ inline double current_realtime() {
clock_gettime(CLOCK_REALTIME, &tp); clock_gettime(CLOCK_REALTIME, &tp);
return tp.tv_sec + tp.tv_nsec * 1e-9; return tp.tv_sec + tp.tv_nsec * 1e-9;
#else #else
return 0.0; return 0;
#endif #endif
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册