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:
parent
d2a8ba3299
commit
ca0804dfe4
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue