Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm add new uvmexp fields for uvmexp_print().



details:   https://anonhg.NetBSD.org/src/rev/616fe12fd4cf
branches:  trunk
changeset: 499882:616fe12fd4cf
user:      chs <chs%NetBSD.org@localhost>
date:      Fri Dec 01 09:48:56 2000 +0000

description:
add new uvmexp fields for uvmexp_print().

diffstat:

 sys/uvm/uvm_stat.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 79391aee0aa9 -r 616fe12fd4cf sys/uvm/uvm_stat.c
--- a/sys/uvm/uvm_stat.c        Fri Dec 01 08:59:02 2000 +0000
+++ b/sys/uvm/uvm_stat.c        Fri Dec 01 09:48:56 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_stat.c,v 1.15 2000/11/24 07:25:52 chs Exp $         */
+/*     $NetBSD: uvm_stat.c,v 1.16 2000/12/01 09:48:56 chs Exp $         */
 
 /*
  *
@@ -215,6 +215,8 @@
        (*pr)("  %d VM pages: %d active, %d inactive, %d wired, %d free\n",
            uvmexp.npages, uvmexp.active, uvmexp.inactive, uvmexp.wired,
            uvmexp.free);
+       (*pr)("    %d anon, %d vnode, %d vtext\n",
+           uvmexp.anonpages, uvmexp.vnodepages, uvmexp.vtextpages);
        (*pr)("  freemin=%d, free-target=%d, inactive-target=%d, "
            "wired-max=%d\n", uvmexp.freemin, uvmexp.freetarg, uvmexp.inactarg,
            uvmexp.wiredmax);



Home | Main Index | Thread Index | Old Index