projects
/
stockfish
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33bb830
)
Fix dbg_mean_of() to enable statistics when called
author
Marco Costalba
<mcostalba@gmail.com>
Tue, 30 Dec 2008 11:54:21 +0000
(12:54 +0100)
committer
Marco Costalba
<mcostalba@gmail.com>
Tue, 30 Dec 2008 11:54:21 +0000
(12:54 +0100)
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/misc.cpp
patch
|
blob
|
history
diff --git
a/src/misc.cpp
b/src/misc.cpp
index 49a17dcb8661c889f176e990a9aa3453a9c1d922..68f6103c651b0d467072edcd15812939fead7f44 100644
(file)
--- a/
src/misc.cpp
+++ b/
src/misc.cpp
@@
-96,6
+96,7
@@
void dbg_after() {
void dbg_mean_of(int v) {
assert(!dbg_show_hit_rate);
+ dbg_show_mean = true;
dbg_cnt0++;
dbg_cnt1 += v;
}