Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #37516

Re: Is time an illusion?

From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Re: Is time an illusion?
Date 2017-09-30 22:57 -0400
Organization Aioe.org NNTP Server
Message-ID <oqplic$1oia$1@gioia.aioe.org> (permalink)
References (1 earlier) <oqbud2$h8k$1@dont-email.me> <oqbv8t$mp1$1@dont-email.me> <oqea94$tu8$1@dont-email.me> <oqemvu$m1f$1@dont-email.me> <oqet7m$m6m$1@jstuckle.eternal-september.org>

Show all headers | View raw


On 9/26/2017 9:00 PM, Jerry Stuckle wrote:
> The problem here is that CPU clocks, even if they are crystal 
> controlled, are not perfectly accurate.  A clock on a PC can easily be 
> off by a minute or two per week.
> 
> Here's a test you can do easily on either a Windows or Linux machine to 
> see what happens.  Synchronize the system clock with the internet. 
> Disable all synchronization for a week.  It won't matter whether the 
> computer is on or off - it's real time clock runs at the same speed.
> 
> At the end of a week, check the time against the internet (or 
> synchronize it, paying attention to how much the adjustment is).  You 
> will find a difference of at least several seconds, and possibly as much 
> as a couple of minutes.

If doing this experiment one should be aware that there are
two clocks on the system RTC and system clock.

If the system is down most of the week then the difference
will show RTC drift.

If the system is up most of the week then most commands
and tools will show drift in system clock, but hwclock
will show drift in RTC.

The application logic will most likely be based on system
clock.

Both RTC and system clock will drift, but not necessarily the
same.

Arne

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Is time an illusion? Daniele Futtorovic <da.futt.news@laposte.net> - 2017-09-25 22:30 +0200
  Re: Is time an illusion? Eric Sosman <esosman@comcast-dot-net.invalid> - 2017-09-25 18:02 -0400
    Re: Is time an illusion? Daniele Futtorovic <da.futt.news@laposte.net> - 2017-09-26 00:16 +0200
      Re: Is time an illusion? Jerry Stuckle <jstucklex@attglobal.net> - 2017-09-25 19:18 -0400
      Re: Is time an illusion? Eric Sosman <esosman@comcast-dot-net.invalid> - 2017-09-26 15:37 -0400
        Re: Is time an illusion? Daniele Futtorovic <da.futt.news@laposte.net> - 2017-09-27 01:13 +0200
          Re: Is time an illusion? Jerry Stuckle <jstucklex@attglobal.net> - 2017-09-26 21:00 -0400
            Re: Is time an illusion? Daniele Futtorovic <da.futt.news@laposte.net> - 2017-09-27 04:26 +0200
              Re: Is time an illusion? Jerry Stuckle <jstucklex@attglobal.net> - 2017-09-26 23:32 -0400
                Re: Is time an illusion? Daniele Futtorovic <da.futt.news@laposte.net> - 2017-09-28 10:58 +0200
                Re: Is time an illusion? Jerry Stuckle <jstucklex@attglobal.net> - 2017-09-28 12:50 -0400
            Re: Is time an illusion? Eric Douglas <e.d.programmer@gmail.com> - 2017-09-27 05:25 -0700
            Re: Is time an illusion? Arne Vajhøj <arne@vajhoej.dk> - 2017-09-30 22:57 -0400
  Re: Is time an illusion? Arne Vajhøj <arne@vajhoej.dk> - 2017-09-25 20:22 -0400
  Re: Is time an illusion? Marcel Mueller <news.5.maazl@spamgourmet.org> - 2017-09-26 20:18 +0200
    Re: Is time an illusion? Daniele Futtorovic <da.futt.news@laposte.net> - 2017-09-27 01:30 +0200
      Re: Is time an illusion? lewbloch@gmail.com - 2017-09-28 10:52 -0700
  Re: Is time an illusion? Eric Douglas <e.d.programmer@gmail.com> - 2017-09-26 12:59 -0700
    Re: Is time an illusion? Daniele Futtorovic <da.futt.news@laposte.net> - 2017-09-27 01:42 +0200
  Re: Is time an illusion? lewbloch@gmail.com - 2017-09-28 10:49 -0700
    Re: Is time an illusion? Robert Klemme <shortcutter@googlemail.com> - 2017-09-28 22:33 +0200

csiph-web