Re: Getting "absolute" time in Linux



On 2006-11-14, Boris Benenson <boris.benenson@xxxxxxxxxxx> wrote:

Is there a way in either standard or Real-time Linux to get "absolute
number of ticks (or seconds) since the Epoc (or some other configurable
starting point), regardless of the kernel clock resets via
settimeofday() and the RTC resets via hwclock set and regardless of the
system reboots?

Use a different clock.

What qualities does the time value you want to get need?

--

Bye.
Jasen
.



Relevant Pages

  • Re: Getting "absolute time" in Linux
    ... regardless of the kernel clock resets ... via settimeofday() and the RTC resets via hwclock set and regardless ... specific (for instance stock Linux 2.4 kernels do not have it, ...
    (comp.os.linux.development.system)
  • Re: Getting "absolute" time in Linux
    ... regardless of the kernel clock resets via ... settimeofday() and the RTC resets via hwclock set and regardless of the ... I don't know what you mean by regardless of kernel clock restets via ...
    (comp.os.linux.networking)
  • Re: Getting "absolute" time in Linux
    ... number of ticks since the Epoc (or some other configurable ... regardless of the kernel clock resets via ... settimeofday() and the RTC resets via hwclock set and regardless of the ...
    (comp.os.linux.networking)
  • Re: Getting "absolute" time in Linux
    ... settimeofdayand the RTC resets via hwclock set and regardless of the ... gettimeofdaycomes closest to "absolute number of ticks since the epoch", ... but then you said "regardless of kernel clock resets via settimeofday"; ... The only way to get "absolute time" is to ask a trusted source. ...
    (comp.os.linux.development.apps)
  • Re: Getting "absolute" time in Linux
    ... regardless of the kernel clock resets ... via settimeofdayand the RTC resets via hwclock set and regardless ... "Absolute" relative to what? ... general relativity etc omitted:) ...
    (comp.os.linux.networking)