From: Marco Costalba Date: Sat, 20 Nov 2010 10:48:04 +0000 (+0100) Subject: Debug counters don't need to be global X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=358ccf206ba142a68c7b5b3622a79cc309107f6d;hp=24e6ed907b9896ab12b85896732ec422a6b7f8b7 Debug counters don't need to be global No functional change. Signed-off-by: Marco Costalba --- diff --git a/src/misc.cpp b/src/misc.cpp index 2e1060d5..e04dfb2c 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -67,8 +67,8 @@ static const string AppTag = ""; //// Variables //// -uint64_t dbg_cnt0 = 0; -uint64_t dbg_cnt1 = 0; +static uint64_t dbg_cnt0 = 0; +static uint64_t dbg_cnt1 = 0; bool dbg_show_mean = false; bool dbg_show_hit_rate = false; diff --git a/src/misc.h b/src/misc.h index 5f6166ed..1f10905f 100644 --- a/src/misc.h +++ b/src/misc.h @@ -59,9 +59,6 @@ extern void prefetchPawn(Key, int); extern bool dbg_show_mean; extern bool dbg_show_hit_rate; -extern uint64_t dbg_cnt0; -extern uint64_t dbg_cnt1; - extern void dbg_hit_on(bool b); extern void dbg_hit_on_c(bool c, bool b); extern void dbg_before();