[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: [rtl] RT_TICKS_PER_SEC



On Wed, Sep 16, 1998 at 06:48:43PM -0400, Karin C. Margot wrote:
> 
> Hi,
> 
> This is a basic question about the rt-linux time unit.  The header files define
> a number of time ticks per second (RT_TICKS_PER_SEC).  I assume that this number
> is not independent of the computer clock frequency.   

It is independent: this is the frequency used by the 8354 timer in most PCs.
The frequency comes from the ISA bus clock frequency! Believe it or not.
In the 2.1 versions, we will have more access to the APIC timers
which do depend on processor clock frequency. Unfortunately, APIC
timers are disabled in hardware on most single processor systems.

> 
> Can anybody recommend an accurate and convenient way to measure the 
> RT_TICKS_PER_SEC value appropriate for my computer?
> 
> Thanks in advance.
> 
> Karin
> 
> 
> 
> --- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail majordomo@rtlinux.cs.nmt.edu OR
> echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.cs.nmt.edu
> ----
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/~rtlinux/

-- 

---------------------------------
Victor Yodaiken
Department of Computer Science
New Mexico Institute of Mining and Technology
Socorro NM 87801
Homepage		http://www.cs.nmt.edu/~yodaiken
PowerPC Linux page	http://linuxppc.cs.nmt.edu
Real-Time Page		http://rtlinux.org

--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.cs.nmt.edu OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.cs.nmt.edu
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/