From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Zijlstra Date: Fri, 4 Sep 2015 16:28:27 +0200 Subject: [Intel-wired-lan] [PATCH v3 1/4] Add correlated clocksource deriving system time from an auxiliary clocksource In-Reply-To: <20150904081122.GA4201@netboy> References: <1440183128-1384-1-git-send-email-christopher.s.hall@intel.com> <1440183128-1384-2-git-send-email-christopher.s.hall@intel.com> <20150904081122.GA4201@netboy> Message-ID: <20150904142827.GE18489@twins.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: intel-wired-lan@osuosl.org List-ID: On Fri, Sep 04, 2015 at 10:11:22AM +0200, Richard Cochran wrote: > On Thu, Sep 03, 2015 at 11:20:37PM +0000, Hall, Christopher S wrote: > > In addition to the network interface, ART will be used in the audio interface as well. > > We need to support the case where an audio co-processor will control the audio device. > > In this case, the get_ts() function supplied by the audio driver will be very slow > > (several milliseconds) and the result will be out of date by some fraction of that > > amount. > > Why does it take milliseconds to read one audio time stamp? So what I suspect, but please correct me if I'm wrong Chris, is that a DSP will buffer and process audio signals, and only later wake up the main CPU. So by the time the CPU is made aware of the data, it's 'old'.