mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 00:33: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:
parent
24e6ed907b
commit
358ccf206b
2 changed files with 2 additions and 5 deletions
|
@ -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();
|
||||||
|
|
Loading…
Add table
Reference in a new issue