Subject: CVS commit: [netbsd-1-6] basesrc/usr.bin/vmstat
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 06/30/2002 08:47:35
Module Name:	basesrc
Committed By:	lukem
Date:		Sun Jun 30 05:47:35 UTC 2002

Modified Files:
	basesrc/usr.bin/vmstat [netbsd-1-6]: dkstats.c

Log Message:
Pull up revision 1.16 (requested by sommerfeld in ticket #406):
Since the KERN_CP_TIME sysctl reports total clock ticks across all
cpus and hz is measured in ticks per cpu, divide tick count by ncpu to
determine elapsed time since last sample.
Fixes I/O rate deflation observed on multiprocessors.


To generate a diff of this commit:
cvs rdiff -r1.15 -r1.15.2.1 basesrc/usr.bin/vmstat/dkstats.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.