From owner-freebsd-current@FreeBSD.ORG Fri Jul 10 05:58:31 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 F2E05106564A for ; Fri, 10 Jul 2009 05:58:31 +0000 (UTC) (envelope-from avg@freebsd.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id CC1978FC12 for ; Fri, 10 Jul 2009 05:58:23 +0000 (UTC) (envelope-from avg@freebsd.org) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id IAA25564 for ; Fri, 10 Jul 2009 08:58:21 +0300 (EEST) (envelope-from avg@freebsd.org) Received: from localhost.topspin.kiev.ua ([127.0.0.1] helo=edge.pp.kiev.ua) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1MP97l-000Kjq-7y for freebsd-current@freebsd.org; Fri, 10 Jul 2009 08:58:21 +0300 Message-ID: <4A56D87B.6000202@freebsd.org> Date: Fri, 10 Jul 2009 08:58:19 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.21 (X11/20090406) MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <4A562960.3010801@freebsd.org> <4A563A57.8090907@freebsd.org> <4A56AD55.2010201@freebsd.org> <4A56D6B7.8050100@freebsd.org> In-Reply-To: <4A56D6B7.8050100@freebsd.org> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 05:58:32 -0000 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. -- Andriy Gapon