]> git.sesse.net Git - stockfish/commit - src/timeman.cpp
Check clock more often
authorJoost VandeVondele <Joost.VandeVondele@gmail.com>
Sat, 22 Jul 2023 07:41:55 +0000 (09:41 +0200)
committerStéphane Nicolet <cassio@free.fr>
Sun, 23 Jul 2023 23:56:20 +0000 (01:56 +0200)
commit4b2979760f3862700c6a0b8d3ab0f6a6e0a638c0
tree75089756e5196ce10da44bc5ca2fb61dfc495f19
parent5ea1cbc778508a9a7b720becaf22dd96a4472826
Check clock more often

This patch changes the frequency with which the time is checked, changing
frequency from every 1024 counted nodes to every 512 counted nodes. The
master value was tuned for the old classical eval, the patch takes the
roughly 2x slowdown in nps with SFNNUEv7 into account. This could reduce
a bit the losses on time on fishtest, but they are probably unrelated.

passed STC:
https://tests.stockfishchess.org/tests/view/64bb8ae5dc56e1650abb1b11
LLR: 2.95 (-2.94,2.94) <-1.75,0.25>
Total: 76576 W: 19677 L: 19501 D: 37398
Ptnml(0-2): 274, 8592, 20396, 8736, 290

closes https://github.com/official-stockfish/Stockfish/pull/4704

No functional change
src/search.cpp
src/timeman.cpp