On 2014-03-07 19:51, Tobias Bocanegra wrote:
Hi,

On Thu, Mar 6, 2014 at 11:08 PM, Julian Reschke <[email protected]> wrote:
On 2014-03-06 23:30, Tobias Bocanegra wrote:
I think you need to use a higher clock-drift interval. IIUC, you
currently use 1 second. but on some machines, the
System.getTimeMillis() can be as inaccurate than 2 seconds.
Such as?
right - this was the file timestamp that is only 2 seconds accurate on
some systems that I had in mind :-)
but anyways, System.getTimeMillis() can have a granularity of up to
15ms on Windows XP. see [0]

[0] https://code.google.com/p/javasimon/wiki/SystemTimersGranularity

Yes.

Best regards, Julian

Reply via email to