Hi All,

I have a question regarding the clocks maintained by RTLinux 3.1.
I couldn't find a proper description of what these clocks really
represent, which makes it hard for a newbie to find out which
clock to use for some purpose. I've searched the archive but 
couldn't find a satisfying answer.

In GettingStarted.html I read CLOCK_REALTIME is currently same
as CLOCK_MONOTONIC. Whereas in RELEASENOTE it says CLOCK_REALTIME
is same as CLOCK_RTL_SCHED. From the sources I see the latter case
is true. In the manpage of clock_get[hr]time() I read the REALTIME
clock represents the time since the epoch (the 1/1/1970 epoch?),
but what I get is the time since system boot. I couldn't try 
CLOCK_GPOS since somehow it is undef-ed in my rtl_conf.h.

I understand the definition of CLOCK_MONOTONIC and CLOCK_GPOS.
But could someone tell me what CLOCK_REALTIME really represents 
or what it should represent? What is the difference between the 
monotonic and realtime clock? Do these clocks all use the same 
timestamp resolution?

Thanks in advance.

Theo Veenker
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/

Reply via email to