1
0
Fork 0

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
Marco Costalba 2009-05-10 13:21:45 +02:00
parent 980124c609
commit 78eecbf6d7
2 changed files with 5 additions and 4 deletions

View File

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

View File

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