Use 64 bits for debug counters
Has happened 32 bits were not enough for some test. Signed-off-by: Marco Costalba <mcostalba@gmail.com>sf_2.3.1_base
parent
980124c609
commit
78eecbf6d7
|
@ -81,8 +81,8 @@ static const string AppTag = "";
|
|||
//// Variables
|
||||
////
|
||||
|
||||
long dbg_cnt0 = 0;
|
||||
long dbg_cnt1 = 0;
|
||||
uint64_t dbg_cnt0 = 0;
|
||||
uint64_t dbg_cnt1 = 0;
|
||||
|
||||
bool dbg_show_mean = false;
|
||||
bool dbg_show_hit_rate = false;
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
#include <string>
|
||||
|
||||
#include "application.h"
|
||||
#include "types.h"
|
||||
|
||||
////
|
||||
//// Macros
|
||||
|
@ -56,8 +57,8 @@ extern int Bioskey();
|
|||
extern bool dbg_show_mean;
|
||||
extern bool dbg_show_hit_rate;
|
||||
|
||||
extern long dbg_cnt0;
|
||||
extern long dbg_cnt1;
|
||||
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);
|
||||
|
|
Loading…
Reference in New Issue