mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-23 05:07:14 +00:00
Sync some common names
No functional change.
This commit is contained in:
+14
-14
@@ -219,7 +219,7 @@ void Search::think() {
|
||||
<< " time: " << Limits.time[RootColor]
|
||||
<< " increment: " << Limits.inc[RootColor]
|
||||
<< " moves to go: " << Limits.movestogo
|
||||
<< std::endl;
|
||||
<< "\n" << std::endl;
|
||||
}
|
||||
|
||||
// Reset the threads, still sleeping: will wake up at split time
|
||||
@@ -1342,7 +1342,7 @@ moves_loop: // When in check and at SpNode search starts from here
|
||||
|
||||
string uci_pv(const Position& pos, int depth, Value alpha, Value beta) {
|
||||
|
||||
std::stringstream s;
|
||||
std::stringstream ss;
|
||||
Time::point elapsed = Time::now() - SearchTime + 1;
|
||||
size_t uciPVSize = std::min((size_t)Options["MultiPV"], RootMoves.size());
|
||||
int selDepth = 0;
|
||||
@@ -1361,23 +1361,23 @@ moves_loop: // When in check and at SpNode search starts from here
|
||||
int d = updated ? depth : depth - 1;
|
||||
Value v = updated ? RootMoves[i].score : RootMoves[i].prevScore;
|
||||
|
||||
if (s.rdbuf()->in_avail()) // Not at first line
|
||||
s << "\n";
|
||||
if (ss.rdbuf()->in_avail()) // Not at first line
|
||||
ss << "\n";
|
||||
|
||||
s << "info depth " << d
|
||||
<< " seldepth " << selDepth
|
||||
<< " score " << (i == PVIdx ? score_to_uci(v, alpha, beta) : score_to_uci(v))
|
||||
<< " nodes " << pos.nodes_searched()
|
||||
<< " nps " << pos.nodes_searched() * 1000 / elapsed
|
||||
<< " time " << elapsed
|
||||
<< " multipv " << i + 1
|
||||
<< " pv";
|
||||
ss << "info depth " << d
|
||||
<< " seldepth " << selDepth
|
||||
<< " score " << (i == PVIdx ? score_to_uci(v, alpha, beta) : score_to_uci(v))
|
||||
<< " nodes " << pos.nodes_searched()
|
||||
<< " nps " << pos.nodes_searched() * 1000 / elapsed
|
||||
<< " time " << elapsed
|
||||
<< " multipv " << i + 1
|
||||
<< " pv";
|
||||
|
||||
for (size_t j = 0; RootMoves[i].pv[j] != MOVE_NONE; ++j)
|
||||
s << " " << move_to_uci(RootMoves[i].pv[j], pos.is_chess960());
|
||||
ss << " " << move_to_uci(RootMoves[i].pv[j], pos.is_chess960());
|
||||
}
|
||||
|
||||
return s.str();
|
||||
return ss.str();
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user