]> git.sesse.net Git - stockfish/commitdiff
Try hard not to lose on time
authorMarco Costalba <mcostalba@gmail.com>
Mon, 2 Jan 2012 22:40:14 +0000 (23:40 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Fri, 6 Jan 2012 00:41:45 +0000 (01:41 +0100)
We try hard not to lose on time even under extreme
time pressure. We achieve this through 3 different but
coordinated steps:

    1) Increase max frequency of timer events

    2) Quickly return after a stop signal

    3) Take in account timer resolution

With these SF played under LittleBlitzer at 1"+0.02 and 3"+0
without losing on time even one game.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>

No differences found