lkml.org 
[lkml]   [2017]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 4/5] PTP: add PTP_SYS_OFFSET emulation via cross timestamps infrastructure
On Fri, Jan 20, 2017 at 03:23:08PM +0100, Paolo Bonzini wrote:
> On 20/01/2017 15:02, Radim Krcmar wrote:
> > Another solution would be to do just one one read and set it to all
> > saples -- the difference between t[i] and t[i+2] would be 0. We are
> > quite sure the just one read is enough, this hack could be even better.
>
> I'd be afraid of messing up chrony's stats...

This should be ok. For the application it just looks as if the CPU and
everything else in the path of the measurements was infinitely fast. :)

--
Miroslav Lichvar

\
 
 \ /
  Last update: 2017-01-20 15:33    [W:0.027 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site