From owner-cvs-share Sun Jun 29 15:47:48 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA20488 for cvs-share-outgoing; Sun, 29 Jun 1997 15:47:48 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA20409; Sun, 29 Jun 1997 15:44:45 -0700 (PDT) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA10135; Sun, 29 Jun 1997 15:43:03 -0700 (PDT) Date: Sun, 29 Jun 1997 15:43:03 -0700 (PDT) Message-Id: <199706292243.PAA10135@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-share@FreeBSD.ORG Subject: cvs commit: src/share/examples/perfmon perfmon.c Sender: owner-cvs-share@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1997/06/29 15:43:03 PDT Modified files: share/examples/perfmon perfmon.c Log: Implemented `-c command'. Fixed bitrot (__dead went away; EOF is now wrong for the getopt failure value). Moved sleep command to the end of the main loop to avoid mismatch between main loop and the report loop. There is an extra iteration that could be used to calibrate the loop overhead, but was used to report wrong results. Fixed usage message. Revision Changes Path 1.4 +15 -7 src/share/examples/perfmon/perfmon.c