mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-23 21:27:14 +00:00
Merge commit 'abd835dcbc3a28481224f6253b00b7420d062513' into cluster
This is the last commit before there are more conflicts.
This commit is contained in:
+1
-8
@@ -345,16 +345,9 @@ void UCIEngine::benchmark(std::istream& args) {
|
||||
|
||||
Search::LimitsType limits = parse_limits(is);
|
||||
|
||||
TimePoint elapsed = now();
|
||||
|
||||
// Run with silenced network verification
|
||||
engine.go(limits);
|
||||
engine.wait_for_search_finished();
|
||||
|
||||
totalTime += now() - elapsed;
|
||||
|
||||
nodes += nodesSearched;
|
||||
nodesSearched = 0;
|
||||
}
|
||||
else if (token == "position")
|
||||
position(is);
|
||||
@@ -402,6 +395,7 @@ void UCIEngine::benchmark(std::istream& args) {
|
||||
|
||||
Search::LimitsType limits = parse_limits(is);
|
||||
|
||||
nodesSearched = 0;
|
||||
TimePoint elapsed = now();
|
||||
|
||||
// Run with silenced network verification
|
||||
@@ -413,7 +407,6 @@ void UCIEngine::benchmark(std::istream& args) {
|
||||
updateHashfullReadings();
|
||||
|
||||
nodes += nodesSearched;
|
||||
nodesSearched = 0;
|
||||
}
|
||||
else if (token == "position")
|
||||
position(is);
|
||||
|
||||
Reference in New Issue
Block a user