Re: Apparent backward time travel in timestamps on file creation

From: David Howells
Date: Thu Mar 30 2017 - 15:35:35 EST


Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> 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