projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
3fc08f8
)
Fix regression with printing of debug info
author
Marco Costalba
<mcostalba@gmail.com>
Sat, 19 Nov 2011 13:37:26 +0000 (14:37 +0100)
committer
Marco Costalba
<mcostalba@gmail.com>
Sat, 19 Nov 2011 13:37:57 +0000 (14:37 +0100)
Output of debug info each second was disabled
due to recent patches.
No functional change.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/search.cpp
patch
|
blob
|
history
diff --git
a/src/search.cpp
b/src/search.cpp
index
061ba5e
..
74ed69f
100644
(file)
--- a/
src/search.cpp
+++ b/
src/search.cpp
@@
-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();