This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Re: how to implement EDF scheduling in eCos
- From: Fabian Scheler <fabian dot scheler at gmail dot com>
- To: ecos-discuss <ecos-discuss at ecos dot sourceware dot org>
- Date: Thu, 14 Jan 2010 07:50:10 +0100
- Subject: Re: [ECOS] Re: how to implement EDF scheduling in eCos
- References: <186ad4051001080035l4467ade2y5c3b42740703af82@mail.gmail.com>
Hi Nodir,
> My approach is adding two more additional fields to thread's
> properties. Those are:
> cyg_tick_count_t wcet /*worst case execution time*/
> cyg_tick_count_t deadline /* absolute deadline thread to be finished */
is that deadline provided by the application or is it computed by the
scheduler. In the first case a relative deadline might be easier to
handle, the scheduler than needs to map that relative deadline to an
absolute one.
Ciao, Fabian
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss