From 20aa44a88c44b7751264aef992af5266782abeb6 Mon Sep 17 00:00:00 2001 From: bde Date: Sun, 13 Jul 1997 16:38:39 +0000 Subject: 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. --- usr.bin/gprof/gprof.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.bin') diff --git a/usr.bin/gprof/gprof.h b/usr.bin/gprof/gprof.h index 4dc053e..750fd2e 100644 --- a/usr.bin/gprof/gprof.h +++ b/usr.bin/gprof/gprof.h @@ -77,7 +77,7 @@ typedef int bool; long hz; #ifdef GPROF4 -typedef int32_t UNIT; +typedef int64_t UNIT; #else typedef u_short UNIT; /* unit of profiling */ #endif -- cgit v1.1