Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932169AbVLLTbw (ORCPT ); Mon, 12 Dec 2005 14:31:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932170AbVLLTbw (ORCPT ); Mon, 12 Dec 2005 14:31:52 -0500 Received: from e4.ny.us.ibm.com ([32.97.182.144]:65491 "EHLO e4.ny.us.ibm.com") by vger.kernel.org with ESMTP id S932169AbVLLTbv (ORCPT ); Mon, 12 Dec 2005 14:31:51 -0500 Message-ID: <439DD01A.2060803@watson.ibm.com> Date: Mon, 12 Dec 2005 19:31:38 +0000 From: Shailabh Nagar User-Agent: Debian Thunderbird 1.0.2 (X11/20051002) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Christoph Lameter CC: linux-kernel , elsa-devel , lse-tech@lists.sourceforge.net, ckrm-tech , Guillaume Thouvenin , Jay Lan , Jens Axboe , John Stultz Subject: Re: [Lse-tech] [RFC][Patch 1/5] nanosecond timestamps and diffs References: <43975D45.3080801@watson.ibm.com> <43975E6D.9000301@watson.ibm.com> In-Reply-To: Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 729 Lines: 24 Christoph Lameter wrote: > On Wed, 7 Dec 2005, Shailabh Nagar wrote: > > >>+void getnstimestamp(struct timespec *ts) > > > There is already getnstimeofday in the kernel. > > Yes, and that function is being used within the getnstimestamp() being proposed. However, John Stultz had advised that getnstimeofday could get affected by calls to settimeofday and had recommended adjusting the getnstimeofday value with wall_to_monotonic. John, could you elaborate ? Thanks, Shailabh - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/