]> git.sesse.net Git - stockfish/commitdiff
Rewrite time measurement code
authorMarco Costalba <mcostalba@gmail.com>
Sat, 3 Mar 2012 08:35:56 +0000 (09:35 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 3 Mar 2012 17:01:39 +0000 (18:01 +0100)
Introduce and use a new Time class designed after
QTime, from Qt framework. Should be a more clear and
self documented code.

As an added benefit we now use 64 bits internally to get
millisecs from system time. This avoids to wrap around
to 0 every 2^32 milliseconds, which is 49.71 days.

No functional change.

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

No differences found