1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-29 16:23:09 +00: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:
Marco Costalba 2010-11-20 11:48:04 +01:00
parent 24e6ed907b
commit 358ccf206b
2 changed files with 2 additions and 5 deletions

View file

@ -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;

View file

@ -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();