From owner-cvs-all Tue Apr 2 16:40:42 2002 Delivered-To: cvs-all@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id D275D37B41E; Tue, 2 Apr 2002 16:40:36 -0800 (PST) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id D28EA78313; Wed, 3 Apr 2002 10:10:34 +0930 (CST) Date: Wed, 3 Apr 2002 10:10:34 +0930 From: Greg 'groggy' Lehey To: Dag-Erling Smorgrav Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys _mutex.h src/sys/kern kern_mutex.c Message-ID: <20020403101034.T26122@wantadilla.lemis.com> References: <200204021442.g32Eg3M18654@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200204021442.g32Eg3M18654@freefall.freebsd.org> User-Agent: Mutt/1.3.23i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tuesday, 2 April 2002 at 6:42:01 -0800, Dag-Erling Smorgrav wrote: > des 2002/04/02 06:42:01 PST > > Modified files: > sys/sys _mutex.h > sys/kern kern_mutex.c > Log: > Instead of get_cyclecount(9), use nanotime(9) to record acquisition and > release times. Measurements are made and stored in nanoseconds but > presented in microseconds, which should be sufficient for the locks for > which we actually want this (those that are held long and / or > often). Great! Greg -- See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message