This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Where is the scheduler's timer implemented?
- From: "Roy E Richardson" <eng_at_play at cox dot net>
- To: "Santanu Chatterjee" <thisissantanu at gmail dot com>,<ecos-discuss at ecos dot sourceware dot org>
- Date: Sat, 1 Oct 2005 21:18:00 -0700
- Subject: Re: [ECOS] Where is the scheduler's timer implemented?
- References: <42b9a27d0509302313k7d9f26csef3af4aa310a685d@mail.gmail.com>
The common source is in '\packages\kernel\current\src\common\clock.cxx'
By default the "timed" processes are "alarms", granularity of ticks, 10 Ms
There are also references to RTC timing granularities, but I have no
experience
with their usage - see CYGVAR_KERNEL_COUNTERS_CLOCK, etc.
PS. For alarms, it is my personal opinion that the config option,
CYGIMP_KERNEL_COUNTERS_SORT_LIST,
should be enabled for best optimization of alarm processing,
although that opinion is contrary to the provided default.
----- Original Message -----
From: "Santanu Chatterjee" <thisissantanu@gmail.com>
To: <ecos-discuss@ecos.sourceware.org>
Sent: Friday, September 30, 2005 11:13 PM
Subject: [ECOS] Where is the scheduler's timer implemented?
Hi all,
Could you please tell me which file contains the implementation of the
timer that is used by the scheduler in eCos? I don't think it
is the RTC that is being used by the scheduler. The scheduler's
timer must be of much higher resolution I think.
What I actually wish to understand is how exactly the scheduler is
invoked at the scheduling instants.
Thanks in advance for your time.
Regards,
Santanu Chatterjee
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss