]> git.sesse.net Git - stockfish/blobdiff - src/misc.cpp
Fix random moves when time < 10ms
[stockfish] / src / misc.cpp
index 28eff708852e024e7805ab86677cab05dcf3659d..5bf7bae8ede51276ac6f5263ac70781cc3f96972 100644 (file)
@@ -59,13 +59,6 @@ const string engine_info(bool to_uci) {
 }
 
 
-/// Convert system time to milliseconds. That's all we need.
-
-Time::point Time::now() {
-  sys_time_t t; system_time(&t); return time_to_msec(t);
-}
-
-
 /// Debug functions used mainly to collect run-time statistics
 
 static uint64_t hits[2], means[2];