summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2003-07-29 12:13:33 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2003-07-29 12:13:33 +0000
commitde7170b7620ac1597b8a90ea7c49c691559d13b2 (patch)
treeed27153d3c96b5605ec343909f853474bc9f524f /sys/arch
parentfe4652d602195a243c03b709d40366398b3dc00c (diff)
Remove a diagnostic print which was left in the code to determine how
bad integer division is for calculation of the tick timer. Turns out that the typical error on most machines is < .005% just a few seconds per week. Not enough to bother with at this time.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/macppc/macppc/clock.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/macppc/macppc/clock.c b/sys/arch/macppc/macppc/clock.c
index f89cba9f989..0aeabf8e1a2 100644
--- a/sys/arch/macppc/macppc/clock.c
+++ b/sys/arch/macppc/macppc/clock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clock.c,v 1.9 2003/07/14 18:56:12 drahn Exp $ */
+/* $OpenBSD: clock.c,v 1.10 2003/07/29 12:13:32 drahn Exp $ */
/* $NetBSD: clock.c,v 1.1 1996/09/30 16:34:40 ws Exp $ */
/*
@@ -371,10 +371,6 @@ calc_delayconst(void)
ns_per_tick = 1000000000 / ticks_per_sec;
ticks_per_intr = ticks_per_sec / hz;
ppc_intr_enable(s);
- printf("clock error tick %x tick/sec %x hz %x err %x\n",
- ticks_per_intr, ticks_per_sec, hz,
- ticks_per_sec - ticks_per_intr * hz);
-
break;
}
if ((phandle = OF_child(qhandle)))