#define RT_TICKS_PER_SEC 1193180LL

Is the clock tick for the intel 8254 timer chip, that is used by most of
legacy software, including Linux 2.0.x and older versions of RT Linux to
set timer alarms. The newer SMP versions apparently use the APIC timer,
which can run at the core CPU frequency. That should make it possible to
schedule with 15ns granularity as you need :)


> 
> #define RT_TICKS_PER_SEC 1193180LL
> 
> Is this encoded in some way? If my machine is a 66 MHz, I would naively
> expect 66,000,000 ticks per second of thereabouts (each having a duration
> of about 15 ns). However, if I create a task to use the RTC interrupt and 
> set it to, say, 2 Hz there appear to be (about) 520000 RTIME ticks between
> each task wake up i.e. the timestamps agree with 520k being half of 1193180.
> This suggests that the minimum (useful) time is 840 ns and not some small
> multiple of 15! Or can I schedule RT tasks with fractional periods? (Not tried 
> this, I must admit).
> 

--- [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