Try to get a more precise bench time (#2211)
authorJörg Oster <osterj165@googlemail.com>
Sun, 30 Jun 2019 13:16:20 +0000 (15:16 +0200)
committerMarco Costalba <mcostalba@users.noreply.github.com>
Sun, 30 Jun 2019 13:16:20 +0000 (15:16 +0200)
commitc9d73d1aa5cf609b626776a112cd699339fefb67
treeca55de8c878a9060b48a7c8eb441ac98482ea0a3
parentd889bb47185e33012b45cab63359952247bc86e2
Try to get a more precise bench time (#2211)

Initialization of larger hash sizes can take some time.
Don't include this time in the bench by resetting the timer after Search::clear().
Also move 'ucinewgame' command down in the list, so that it is processed
after the configuration of Threads and Hash size.

No functional change.
src/benchmark.cpp
src/uci.cpp