1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-07-11 19:49:14 +00: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:
Marco Costalba 2014-03-11 22:19:14 +01:00
parent d2a8ba3299
commit ca0804dfe4

View file

@ -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