X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fthread.cpp;h=8d522fa2bed9638b8375a859a18e9705ce1b45b6;hb=6008f6538e9c3912c88e89d77ef3e3d3351a6e55;hp=50412468ebb83222caf15a8b4b9835f018b7aa63;hpb=8dcb4bc3cce1f487cfac65ed20d21378d0f39b2e;p=stockfish diff --git a/src/thread.cpp b/src/thread.cpp index 50412468..8d522fa2 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::now(); // As early as possible Signals.stopOnPonderhit = Signals.firstRootMove = false; Signals.stop = Signals.failedLowAtRoot = false;