X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsearch.cpp;h=f303b57684cc545be1a3e83cb3355a1008c4bb10;hb=37c91aa94ca80f75ca59dd479e6b203480b6e8c7;hp=dfd2d3ba05bbcf580f7c521afabedf253ba15e2f;hpb=43f67eab5f55508e07e4e3d7cec885dc4e82036f;p=stockfish diff --git a/src/search.cpp b/src/search.cpp index dfd2d3ba..f303b576 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -264,6 +264,10 @@ void Search::think() { finalize: + // When search is stopped this info is not printed + sync_cout << "info nodes " << RootPos.nodes_searched() + << " time " << Time::now() - SearchTime + 1 << sync_endl; + // When we reach max depth we arrive here even without Signals.stop is raised, // but if we are pondering or in infinite search, according to UCI protocol, // we shouldn't print the best move before the GUI sends a "stop" or "ponderhit"