From: rahnds Date: Fri, 31 Mar 2000 04:14:18 +0000 (+0000) Subject: Count clock interrupts. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=6594508db2e7ca4b6c022e68682ebfdd36869c28;p=openbsd Count clock interrupts. --- diff --git a/sys/arch/powerpc/powerpc/clock.c b/sys/arch/powerpc/powerpc/clock.c index 8ce5d57b888..a447e764dc4 100644 --- a/sys/arch/powerpc/powerpc/clock.c +++ b/sys/arch/powerpc/powerpc/clock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clock.c,v 1.6 2000/03/23 04:12:48 rahnds Exp $ */ +/* $OpenBSD: clock.c,v 1.7 2000/03/31 04:14:18 rahnds Exp $ */ /* $NetBSD: clock.c,v 1.1 1996/09/30 16:34:40 ws Exp $ */ /* @@ -36,6 +36,7 @@ #include #include +#include #if 0 #include @@ -186,6 +187,8 @@ decr_intr(frame) if (!ticks_per_intr) return; + intrcnt[PPC_CLK_IRQ]++; + /* * Based on the actual time delay since the last decrementer reload, * we arrange for earlier interrupt next time.