From owner-freebsd-current@FreeBSD.ORG Fri Jul 10 11:12:38 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CC1610656FD; Fri, 10 Jul 2009 11:12:38 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 75EA18FC27; Fri, 10 Jul 2009 11:12:38 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id 1139D46B46; Fri, 10 Jul 2009 07:12:38 -0400 (EDT) Date: Fri, 10 Jul 2009 12:12:37 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Andriy Gapon In-Reply-To: <4A56D87B.6000202@freebsd.org> Message-ID: References: <4A562960.3010801@freebsd.org> <4A563A57.8090907@freebsd.org> <4A56AD55.2010201@freebsd.org> <4A56D6B7.8050100@freebsd.org> <4A56D87B.6000202@freebsd.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org Subject: Re: dtrace users opinion solicited (timestamps) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jul 2009 11:12:39 -0000 On Fri, 10 Jul 2009, Andriy Gapon wrote: > Thinking aloud - maybe we could always use one value of tsc_freq (or > something like max_tsc_freq). This wouldn't give us correct timestamps when > TSC frequency is changing, but it would give us something that is always > proportional to TSC value and thus has its properties - monotonicity in the > first place. And, of course, there is no problem when TSC frequency is > constant. Just a point from a user perspective: I find it useful (important even) to be able to compare timing between runs on the same box, and while that means I need to control for the frequency changing in an experimental sense, in as much as timestamp measurements in dtrace can be normalized, that would be helpful. Robert N M Watson Computer Laboratory University of Cambridge