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:45
Module Name: basesrc
Committed By: lukem
Date: Sun Jun 30 05:47:45 UTC 2002
Modified Files:
basesrc/usr.bin/vmstat [netbsd-1-6]: dkstats.h
Log Message:
Pull up revision 1.5 (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.4 -r1.4.2.1 basesrc/usr.bin/vmstat/dkstats.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.