lkml.org 
[lkml]   [2017]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Apparent backward time travel in timestamps on file creation
Date
Linus Torvalds <torvalds@linux-foundation.org> wrote:

> The difference can be quite noticeable - basically the
> "gettimeofday()" time will interpolate within timer ticks, while
> "xtime" is just the truncated "time at timer tick" value _without_ the
> correction.

Is there any way to determine the error bar, do you know? Or do I just make
up a fudge factor?

Obviously the filesystem truncation would need to be taken into account (and
this can be different for different timestamps within the same filesystem).

David

\
 
 \ /
  Last update: 2017-03-30 21:36    [W:0.108 / U:0.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site