This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Tuning the clock Tick Time
- From: Gary Thomas <gary at mlbassoc dot com>
- To: R Vamshi Krishna <vamshi at cse dot iitb dot ac dot in>
- Cc: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Mon, 19 Dec 2005 12:56:00 -0700
- Subject: Re: [ECOS] Tuning the clock Tick Time
- References: <Pine.LNX.4.61.0512200105130.30113@mars.cse.iitb.ac.in>
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