diff options
Diffstat (limited to 'includes/stg/Ticky.h')
-rw-r--r-- | includes/stg/Ticky.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/includes/stg/Ticky.h b/includes/stg/Ticky.h index 08517c5f3c..5143c2fd5c 100644 --- a/includes/stg/Ticky.h +++ b/includes/stg/Ticky.h @@ -11,7 +11,6 @@ * * -------------------------------------------------------------------------- */ - #ifndef TICKYCOUNTERS_H #define TICKYCOUNTERS_H @@ -180,9 +179,17 @@ EXTERN StgInt RET_OLD_ctr INIT(0); EXTERN StgInt RET_UNBOXED_TUP_ctr INIT(0); EXTERN StgInt RET_SEMI_loads_avoided INIT(0); - /* End of counter declarations. */ +/* How many bins in ticky's histograms */ +#define TICKY_BIN_COUNT 9 + +/* Histogram declarations */ +EXTERN StgInt RET_NEW_hst[TICKY_BIN_COUNT] INIT({0}); +EXTERN StgInt RET_OLD_hst[TICKY_BIN_COUNT] INIT({0}); +EXTERN StgInt RET_UNBOXED_TUP_hst[TICKY_BIN_COUNT] INIT({0}); +/* End of histogram declarations */ + /* This is ugly, but the story is: We got rid of StgTicky.h, which was previously defining these macros for the benefit of C code |