Hello Michael,

One more question about the CLOCK_RTL_SCHED. I just can't find any characteristics about this clock, except it's the clock used by the scheduler for task scheduling. I would like to know a little bit more about it, especially in terms of precision.

Thank you

Sebastien

Michael Barabanov wrote:
[EMAIL PROTECTED]">
S?bastien Gaume ([EMAIL PROTECTED]) wrote:
Hi !

I'm starting progamming rtlinux and I have questions about the different
clocks that can be used :

- while using the "gethrtime();" instruction, where does the value
returned come from ? the CPU ? an other clock ?

gethrtime() uses the CPU clock.

- when I write : 
rtl_setclockmode(rtl_getschedclock(),RTL_CLOCK_MODE_ONESHOT)); which
clock is used ? Man-pages say : rtl_getschedclock returns the clock id
of the clock that the realtime scheduler uses on the local CPU, but what
is that clock ?

This is CLOCK_RTL_SCHED.

Michael.

-- ! [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/rtlinux/






Reply via email to