diff options
author | 2003-07-29 12:13:32 +0000 | |
---|---|---|
committer | 2003-07-29 12:13:32 +0000 | |
commit | 6f1407490a0811119dd3e39f00932983c4af22f6 (patch) | |
tree | 282716df2d39b0be6864552b7f729ad4b606375d | |
parent | Bye bye GNU zforce(1), welcome BSD zforce(1). (diff) | |
download | wireguard-openbsd-6f1407490a0811119dd3e39f00932983c4af22f6.tar.xz wireguard-openbsd-6f1407490a0811119dd3e39f00932983c4af22f6.zip |
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.
-rw-r--r-- | sys/arch/macppc/macppc/clock.c | 6 |
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))) |