Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/arch/mips/mips Pull up rev 1.6 from trunk:



details:   https://anonhg.NetBSD.org/src/rev/1ace43987639
branches:  netbsd-1-4
changeset: 468114:1ace43987639
user:      simonb <simonb%NetBSD.org@localhost>
date:      Wed Apr 07 23:50:58 1999 +0000

description:
Pull up rev 1.6 from trunk:
        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 d4c59b7f780b -r 1ace43987639 sys/arch/mips/mips/mips_mcclock.c
--- a/sys/arch/mips/mips/mips_mcclock.c Wed Apr 07 23:39:53 1999 +0000
+++ b/sys/arch/mips/mips/mips_mcclock.c Wed Apr 07 23:50:58 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.5.2.1 1999/04/07 23:50:58 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.5.2.1 1999/04/07 23:50:58 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