mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 17:16:33 +08:00
Fix regression with printing of debug info
Output of debug info each second was disabled due to recent patches. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -2201,8 +2201,8 @@ void do_timer_event() {
|
||||
static int lastInfoTime;
|
||||
int e = elapsed_search_time();
|
||||
|
||||
// Print debug information every second
|
||||
if (get_system_time() - lastInfoTime >= 1000)
|
||||
// Print debug information every one second
|
||||
if (!lastInfoTime || get_system_time() - lastInfoTime >= 1000)
|
||||
{
|
||||
lastInfoTime = get_system_time();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user