Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips/mips Make unconditional clock cycle counter di...



details:   https://anonhg.NetBSD.org/src/rev/c3cf666ecb8c
branches:  trunk
changeset: 471685:c3cf666ecb8c
user:      simonb <simonb%NetBSD.org@localhost>
date:      Wed Apr 07 23:04:34 1999 +0000

description:
Make unconditional clock cycle counter display conditional on DEBUG
being defined.

diffstat:

 sys/arch/mips/mips/mips_mcclock.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 63200aa71fd2 -r c3cf666ecb8c sys/arch/mips/mips/mips_mcclock.c
--- a/sys/arch/mips/mips/mips_mcclock.c Wed Apr 07 21:55:58 1999 +0000
+++ b/sys/arch/mips/mips/mips_mcclock.c Wed Apr 07 23:04:34 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mips_mcclock.c,v 1.5 1999/03/13 00:05:39 jonathan Exp $        */
+/*     $NetBSD: mips_mcclock.c,v 1.6 1999/04/07 23:04:34 simonb Exp $  */
 
 /*
  * Copyright (c) 1997 Jonathan Stone (hereinafter referred to as the author)
@@ -34,7 +34,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: mips_mcclock.c,v 1.5 1999/03/13 00:05:39 jonathan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mips_mcclock.c,v 1.6 1999/04/07 23:04:34 simonb Exp $");
 
 
 #include <sys/types.h>
@@ -117,7 +117,7 @@
         */
        cpu_mhz = mips_mcclock_to_mhz(iters);
 
-#if defined(DEBUG) || defined(DIAGNOSTIC) || 1
+#if defined(DEBUG)
        printf("mcclock: iters %d computed MHz %d, instrs per usec=%d\n",
               iters, cpu_mhz, cpuspeed);
 #endif



Home | Main Index | Thread Index | Old Index