From owner-cvs-usrbin Tue Jul 30 12:00:20 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA28809 for cvs-usrbin-outgoing; Tue, 30 Jul 1996 12:00:20 -0700 (PDT) Received: (from jdp@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA28793; Tue, 30 Jul 1996 12:00:14 -0700 (PDT) Date: Tue, 30 Jul 1996 12:00:14 -0700 (PDT) From: John Polstra Message-Id: <199607301900.MAA28793@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/time time.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jdp 96/07/30 12:00:13 Modified: usr.bin/time time.c Log: Fix a bug under time's "-l" option. The values reported for average shared memory size, average unshared data size, and average unshared stack size were too high by a factor of 128/100, because the program used a hard-coded hz value of 100. The correct value is the frequency of the statistics clock, currently 128. The program now uses sysctl to get the stathz value from the kernel. Discussed with: bde@freebsd.org (Bruce Evans) Revision Changes Path 1.3 +24 -1 src/usr.bin/time/time.c