This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Tuning the clock Tick Time


On Tue, 2005-12-20 at 01:12 +0530, R Vamshi Krishna wrote:
> Hello,
> 
> I am using a Pentium IV as my target system and since the system is fast 
> enough, I want to see to how small can I make the "tick" time be and still 
> manage my applications.
> 
> To that end can anyone tell how can I decrease the tick time (say in 
> micro-seconds range).
> 
> Actually we have an application that runs on RTLinux. I want to see if we 
> can do that in eCos. RTlinux provides very small latencies (micro-seconds 
> range). Hence I want to check if eCos can also do that.

eCos can definitely provide micro-second event latencies.  This is not
related to how fast the clock runs though - a well designed system does
not rely on a clock/timer to make things happen.

> 
> RTLinux also has a small test that prints all the latencies. Is something 
> like that available for eCos.

Look at CYGVAR_KERNEL_COUNTERS_CLOCK_LATENCY and CYGVAR_KERNEL_COUNTERS_CLOCK_DSR_LATENCY
in the kernel package.  These can be enabled and the 'tm_basic' program
will use them, providing a simple measure of clock/timer ISR and DSR
latencies.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]