X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsearch.cpp;h=7d8f8e87e2e9b54f879399182ccccdb839396c88;hb=2940abdac83845aaa35592dc3450556b8b9a9c7f;hp=24230ee7fd6b4ebe4b38369d9fd0ad3d4e5252e5;hpb=fa0bffeafaa3554cb914249b4d032526e543359a;p=stockfish diff --git a/src/search.cpp b/src/search.cpp index 24230ee7..7d8f8e87 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -658,6 +658,15 @@ namespace { // searchMoves are verified, copied, scored and sorted RootMoveList rml(p, searchMoves); + // Print RootMoveList c'tor startup scoring to the standard output, + // so that we print information also for iteration 1. + std::cout << "info depth " << 1 << "\ninfo depth " << 1 + << " score " << value_to_string(rml.get_move_score(0)) + << " time " << current_search_time() + << " nodes " << nodes_searched() + << " nps " << nps() + << " pv " << rml.get_move(0) << "\n"; + // Initialize TT.new_search(); H.clear();