X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fthread.cpp;h=d9fa9c512c53cc1a5919ebdf2926035876b793a3;hp=50412468ebb83222caf15a8b4b9835f018b7aa63;hb=831f91b859c43a5fa895ef0c955516ec8b7a8212;hpb=1258c7aabee27bed0fc48bab80a374d004012c36 diff --git a/src/thread.cpp b/src/thread.cpp index 50412468..d9fa9c51 100644 --- a/src/thread.cpp +++ b/src/thread.cpp @@ -417,7 +417,7 @@ void ThreadPool::start_searching(const Position& pos, const LimitsType& limits, const std::vector& searchMoves, StateStackPtr& states) { wait_for_search_finished(); - SearchTime.restart(); // As early as possible + SearchTime = Time::current_time(); // As early as possible Signals.stopOnPonderhit = Signals.firstRootMove = false; Signals.stop = Signals.failedLowAtRoot = false;