summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorcgd <cgd@NetBSD.org>1994-05-14 06:31:10 +0000
committercgd <cgd@NetBSD.org>1994-05-14 06:31:10 +0000
commit41006bd47b6d2dd8b7113e40dc405e2ebe67e471 (patch)
tree48142d0827a388f707e94db3968a6966d9ddc3cf /lib/libc
parent22a356d3b5e5b3c2f3356517b6e4886ea07a71b9 (diff)
rcsids. also, avoid floating point when picking scale value. doesn't
cost much, only done once.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gmon/Makefile.inc3
-rw-r--r--lib/libc/gmon/gmon.c5
-rw-r--r--lib/libc/gmon/mcount.c3
-rw-r--r--lib/libc/gmon/moncontrol.33
4 files changed, 9 insertions, 5 deletions
diff --git a/lib/libc/gmon/Makefile.inc b/lib/libc/gmon/Makefile.inc
index 959c3fbd003..7d66bfdd6f1 100644
--- a/lib/libc/gmon/Makefile.inc
+++ b/lib/libc/gmon/Makefile.inc
@@ -1,4 +1,5 @@
-# @(#)Makefile.inc 8.1 (Berkeley) 6/4/93
+# from: @(#)Makefile.inc 8.1 (Berkeley) 6/4/93
+# $Id: Makefile.inc,v 1.2 1994/05/14 06:31:10 cgd Exp $
# gmon sources
.PATH: ${.CURDIR}/gmon
diff --git a/lib/libc/gmon/gmon.c b/lib/libc/gmon/gmon.c
index 022ffb56412..1315535c23c 100644
--- a/lib/libc/gmon/gmon.c
+++ b/lib/libc/gmon/gmon.c
@@ -32,7 +32,8 @@
*/
#if !defined(lint) && defined(LIBC_SCCS)
-static char sccsid[] = "@(#)gmon.c 8.1 (Berkeley) 6/4/93";
+/* from: static char sccsid[] = "@(#)gmon.c 8.1 (Berkeley) 6/4/93"; */
+static char *rcsid = "$Id: gmon.c,v 1.2 1994/05/14 06:31:15 cgd Exp $";
#endif
#include <sys/param.h>
@@ -102,7 +103,7 @@ monstartup(lowpc, highpc)
o = p->highpc - p->lowpc;
if (p->kcountsize < o) {
-#ifndef hp300
+#ifndef notdef
s_scale = ((float)p->kcountsize / o ) * SCALE_1_TO_1;
#else /* avoid floating point */
int quot = o / p->kcountsize;
diff --git a/lib/libc/gmon/mcount.c b/lib/libc/gmon/mcount.c
index 523217d1d2d..0c0a3a2be6b 100644
--- a/lib/libc/gmon/mcount.c
+++ b/lib/libc/gmon/mcount.c
@@ -32,7 +32,8 @@
*/
#if !defined(lint) && !defined(KERNEL) && defined(LIBC_SCCS)
-static char sccsid[] = "@(#)mcount.c 8.1 (Berkeley) 6/4/93";
+/* from: static char sccsid[] = "@(#)mcount.c 8.1 (Berkeley) 6/4/93"; */
+static char *rcsid = "$Id: mcount.c,v 1.2 1994/05/14 06:31:17 cgd Exp $";
#endif
#include <sys/param.h>
diff --git a/lib/libc/gmon/moncontrol.3 b/lib/libc/gmon/moncontrol.3
index 9b01f2b55ac..f667ac8c723 100644
--- a/lib/libc/gmon/moncontrol.3
+++ b/lib/libc/gmon/moncontrol.3
@@ -29,7 +29,8 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" @(#)moncontrol.3 8.1 (Berkeley) 6/4/93
+.\" from: @(#)moncontrol.3 8.1 (Berkeley) 6/4/93
+.\" $Id: moncontrol.3,v 1.2 1994/05/14 06:31:19 cgd Exp $
.\"
.Dd June 4, 1993
.Dt MONCONTROL 3