summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1994-10-15 13:33:09 +0000
committerdg <dg@FreeBSD.org>1994-10-15 13:33:09 +0000
commiteb282b107c81103ce42f0b37144092efdb122e34 (patch)
treeadf38595758c85a81c3a1f36384b83ab29d9da82 /sys/amd64
parent0319b110ad1e36c981ce4a85afe1348f85054c3d (diff)
downloadFreeBSD-src-eb282b107c81103ce42f0b37144092efdb122e34.zip
FreeBSD-src-eb282b107c81103ce42f0b37144092efdb122e34.tar.gz
1) Some of the counters in the vmmeter struct don't fit well into the Mach VM
scheme of things, so I've changed them to be more appropriate. page in/ous are now associated with the pager that did them. Nuked v_fault as the only fault of interest that wouldn't be already counted in v_trap is a VM fault, and this is counted seperately. 2) Implemented most of the remaining counters and corrected the counting of some that were done wrong. They are all almost correct now...just a few minor ones left to fix.
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/genassym.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/amd64/amd64/genassym.c b/sys/amd64/amd64/genassym.c
index 75836e1..eb6d9a2 100644
--- a/sys/amd64/amd64/genassym.c
+++ b/sys/amd64/amd64/genassym.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)genassym.c 5.11 (Berkeley) 5/10/91
- * $Id: genassym.c,v 1.15 1994/10/06 09:22:44 rgrimes Exp $
+ * $Id: genassym.c,v 1.16 1994/10/09 07:34:28 davidg Exp $
*/
#include <sys/param.h>
@@ -99,10 +99,6 @@ main()
printf("#define\tV_SYSCALL %d\n", &vm->v_syscall);
printf("#define\tV_INTR %d\n", &vm->v_intr);
printf("#define\tV_SOFT %d\n", &vm->v_soft);
-/* printf("#define\tV_PDMA %d\n", &vm->v_pdma); */
- printf("#define\tV_FAULTS %d\n", &vm->v_faults);
-/* printf("#define\tV_PGREC %d\n", &vm->v_pgrec); */
-/* printf("#define\tV_FASTPGREC %d\n", &vm->v_fastpgrec); */
printf("#define\tUPAGES %d\n", UPAGES);
printf("#define\tCLSIZE %d\n", CLSIZE);
printf("#define\tNBPG %d\n", NBPG);
OpenPOWER on IntegriCloud