Newsgroups: comp.os.linux.development.system
From: Bob Hauck <postmas...@localhost.localdomain>
Date: Tue, 14 Nov 2006 18:16:05 -0500
Local: Wed, Nov 15 2006 10:16 am
Subject: Re: Getting "absolute time" in Linux
On Tue, 14 Nov 2006 14:30:57 -0500, Boris Benenson
<boris.benen...@marconi.com> wrote: clock_gettime (CLOCK_MONOTONIC, tp): > 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? That will get a guaranteed-monotonic time regardless of settimeofday() I don't know of a way to get the absolute time that will work across a NTP might do some of what you want, but if the goal is to have the time -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||