]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Merge increased 'movecount' pruning
[stockfish] / src / search.cpp
index 426852416e0e629fad606bfa0c15d4778f4c9bc4..daed19135359406ddfde08e3c5f825b5e918803c 100644 (file)
@@ -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"