mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 17:16:33 +08:00
Debug counters don't need to be global
No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -67,8 +67,8 @@ static const string AppTag = "";
|
|||||||
//// Variables
|
//// Variables
|
||||||
////
|
////
|
||||||
|
|
||||||
uint64_t dbg_cnt0 = 0;
|
static uint64_t dbg_cnt0 = 0;
|
||||||
uint64_t dbg_cnt1 = 0;
|
static uint64_t dbg_cnt1 = 0;
|
||||||
|
|
||||||
bool dbg_show_mean = false;
|
bool dbg_show_mean = false;
|
||||||
bool dbg_show_hit_rate = false;
|
bool dbg_show_hit_rate = false;
|
||||||
|
|||||||
@@ -59,9 +59,6 @@ extern void prefetchPawn(Key, int);
|
|||||||
extern bool dbg_show_mean;
|
extern bool dbg_show_mean;
|
||||||
extern bool dbg_show_hit_rate;
|
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(bool b);
|
||||||
extern void dbg_hit_on_c(bool c, bool b);
|
extern void dbg_hit_on_c(bool c, bool b);
|
||||||
extern void dbg_before();
|
extern void dbg_before();
|
||||||
|
|||||||
Reference in New Issue
Block a user