diff options
-rw-r--r-- | sys/sys/gmon.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/sys/gmon.h b/sys/sys/gmon.h index ac405ab..1fb8507 100644 --- a/sys/sys/gmon.h +++ b/sys/sys/gmon.h @@ -200,13 +200,14 @@ extern struct gmonparam _gmonparam; #ifdef _KERNEL -#ifdef GUPROF - -#define CALIB_SCALE 1000 #define KCOUNT(p,index) \ ((p)->kcount[(index) / (HISTFRACTION * sizeof(HISTCOUNTER))]) #define PC_TO_I(p, pc) ((uintfptr_t)(pc) - (uintfptr_t)(p)->lowpc) +#ifdef GUPROF + +#define CALIB_SCALE 1000 + extern int cputime_bias; int cputime(void); |