diff options
author | bde <bde@FreeBSD.org> | 1997-07-13 16:38:39 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-07-13 16:38:39 +0000 |
commit | 20aa44a88c44b7751264aef992af5266782abeb6 (patch) | |
tree | 44e5c5634123b927847bff3e702e6072e870cce9 /sys/sys/gmon.h | |
parent | 1771415dae25d76aa7af7d72f0484445b7b69d4d (diff) | |
download | FreeBSD-src-20aa44a88c44b7751264aef992af5266782abeb6.zip FreeBSD-src-20aa44a88c44b7751264aef992af5266782abeb6.tar.gz |
32-bit counters aren't large enough for 100+MHz clocks. Use 64-bit
counters. `4' in GPROF4 and gprof4 now means 8. gprof4 needs to be
recompiled to match the kernel.
Diffstat (limited to 'sys/sys/gmon.h')
-rw-r--r-- | sys/sys/gmon.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/gmon.h b/sys/sys/gmon.h index 49114d2..474926e 100644 --- a/sys/sys/gmon.h +++ b/sys/sys/gmon.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)gmon.h 8.2 (Berkeley) 1/4/94 - * $Id$ + * $Id: gmon.h,v 1.12 1997/02/22 09:45:17 peter Exp $ */ #ifndef _SYS_GMON_H_ @@ -57,7 +57,7 @@ struct gmonhdr { * Type of histogram counters used in the kernel. */ #ifdef GPROF4 -#define HISTCOUNTER int +#define HISTCOUNTER int64_t #else #define HISTCOUNTER unsigned short #endif |