Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/sparc add per-cpu event counters for lev10 an...



details:   https://anonhg.NetBSD.org/src/rev/5403c6bee6db
branches:  trunk
changeset: 750192:5403c6bee6db
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Dec 20 03:38:59 2009 +0000

description:
add per-cpu event counters for lev10 and lev14 interrupts.

diffstat:

 sys/arch/sparc/sparc/cpuvar.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 1b8c0057185b -r 5403c6bee6db sys/arch/sparc/sparc/cpuvar.h
--- a/sys/arch/sparc/sparc/cpuvar.h     Sun Dec 20 02:16:40 2009 +0000
+++ b/sys/arch/sparc/sparc/cpuvar.h     Sun Dec 20 03:38:59 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpuvar.h,v 1.79 2009/05/31 20:09:44 mrg Exp $ */
+/*     $NetBSD: cpuvar.h,v 1.80 2009/12/20 03:38:59 mrg Exp $ */
 
 /*
  *  Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -331,6 +331,10 @@
         * in this region that aren't part of the cpu_info to uvm.
         */
        vaddr_t ci_free_sva1, ci_free_eva1, ci_free_sva2, ci_free_eva2;
+
+       char ci_cpuname[8];     /* "cpu/0", etc. */
+       struct evcnt ci_lev10;
+       struct evcnt ci_lev14;
 };
 
 /*



Home | Main Index | Thread Index | Old Index