aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/gmon.h
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1997-07-13 16:38:39 +0000
committerBruce Evans <bde@FreeBSD.org>1997-07-13 16:38:39 +0000
commitffbce11feab8dc7097b528a17f102c864094b297 (patch)
treec45054fc48274a26d72dc6d82058927a62b5f415 /sys/sys/gmon.h
parented1ab0dea281d994c2e41b78b2430e3fe7b8d381 (diff)
downloadsrc-ffbce11feab8dc7097b528a17f102c864094b297.tar.gz
src-ffbce11feab8dc7097b528a17f102c864094b297.zip
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.
Notes
Notes: svn path=/head/; revision=27379
Diffstat (limited to 'sys/sys/gmon.h')
-rw-r--r--sys/sys/gmon.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/gmon.h b/sys/sys/gmon.h
index 49114d2f7c2e..474926ec6677 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