From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Stultz Subject: Re: Detecting shift of CLOCK_REALTIME with clock_nanosleep (again) Date: Mon, 21 Jan 2013 18:42:41 -0800 Message-ID: <50FDFCA1.8090703@linaro.org> References: <50A55664.2090605@us.ibm.com> <50D22A41.2070503@linaro.org> <20130105040946.GA17645@netboy.at.omicron.at> <50FD9226.6020206@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Richard Cochran , linux-rt-users , Thomas Gleixner To: Scot Salmon Return-path: Received: from mail-pb0-f49.google.com ([209.85.160.49]:55958 "EHLO mail-pb0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752708Ab3AVCmp (ORCPT ); Mon, 21 Jan 2013 21:42:45 -0500 Received: by mail-pb0-f49.google.com with SMTP id un15so3680646pbc.36 for ; Mon, 21 Jan 2013 18:42:44 -0800 (PST) In-Reply-To: <50FD9226.6020206@linaro.org> Sender: linux-rt-users-owner@vger.kernel.org List-ID: On 01/21/2013 11:08 AM, John Stultz wrote: > On 01/21/2013 07:36 AM, Scot Salmon wrote: >> As a side note, Richard mentioned that the idea of a CLOCK_TAI has been >> thrown around before. I agree with him that it would be a useful >> addition >> for test & measurement applications. > Yea, I've had some CLOCK_TAI patches in my tree for awhile now. > However, its sort of half done, as I need to still integrate CLOCK_TAI > hrtimer support before it can properly be merged. I've not had the > time recently to finish this, but I'm hoping to get to it before too > long (or so I've said for the last few releases). So I figured I'd spend a few minutes and try to get some progress on this. My current tree can be found here: http://git.linaro.org/gitweb?p=people/jstultz/linux.git;a=shortlog;h=refs/heads/fortglx/3.10/time There's still some issues around notifying the hrtimer when the tai_offset changes that have to be dealt with, but if folks want to play around with it, I'd appreciate any feedback. thanks -john