mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 01:56:58 +08:00
Print dbg counters after bench
Print last debug counters update just before to exit benchmark. Suggested by Stephane Nicolet. No functional change.
This commit is contained in:
@@ -152,6 +152,8 @@ void benchmark(const Position& current, istream& is) {
|
||||
|
||||
elapsed = Time::now() - elapsed + 1; // Ensure positivity to avoid a 'divide by zero'
|
||||
|
||||
dbg_print(); // Just before to exit
|
||||
|
||||
cerr << "\n==========================="
|
||||
<< "\nTotal time (ms) : " << elapsed
|
||||
<< "\nNodes searched : " << nodes
|
||||
|
||||
Reference in New Issue
Block a user