diff options
Diffstat (limited to 'runtime/stat.h')
-rw-r--r-- | runtime/stat.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/runtime/stat.h b/runtime/stat.h index 95872758..4357abb4 100644 --- a/runtime/stat.h +++ b/runtime/stat.h @@ -15,6 +15,15 @@ #define NEED_STAT_LOCKS 0 #endif +/* maximum buckets for a linear histogram */ +#ifndef STP_MAX_BUCKETS +#define STP_MAX_BUCKETS 128 +#endif + +/* buckets for log histogram. */ +#define HIST_LOG_BUCKETS 128 +#define HIST_LOG_BUCKET0 64 + /** histogram type */ enum histtype { HIST_NONE, HIST_LOG, HIST_LINEAR }; |