Skip to content

Commit ca0804d

Browse files
committed
Print dbg counters after bench
Print last debug counters update just before to exit benchmark. Suggested by Stephane Nicolet. No functional change.
1 parent d2a8ba3 commit ca0804d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/benchmark.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ void benchmark(const Position& current, istream& is) {
152152

153153
elapsed = Time::now() - elapsed + 1; // Ensure positivity to avoid a 'divide by zero'
154154

155+
dbg_print(); // Just before to exit
156+
155157
cerr << "\n==========================="
156158
<< "\nTotal time (ms) : " << elapsed
157159
<< "\nNodes searched : " << nodes

0 commit comments

Comments
 (0)