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