X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=daed19135359406ddfde08e3c5f825b5e918803c;hp=426852416e0e629fad606bfa0c15d4778f4c9bc4;hb=7f4c7cd785fed40b4c778c1b21f1cc99621bab32;hpb=11d30b629814a2de446bb1e92b58276556cef29e diff --git a/src/search.cpp b/src/search.cpp index 42685241..daed1913 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"