This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Add new class to the scheduler file
- From: John Dallaway <john at dallaway dot org dot uk>
- To: Nodir Kodirov <nodir dot qodirov at gmail dot com>
- Cc: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Wed, 12 May 2010 10:00:46 +0100
- Subject: [ECOS] Re: Add new class to the scheduler file
- References: <t2x186ad4051004200230r1adb154fo9815a8c6909ef633@mail.gmail.com>
Hi Nodir
Nodir Kodirov wrote:
> I think regular members of the community already know that I am
> working on EDF scheduler for eCos. I have some positive results far
> now, but still they are far from being complete. This time I need to
> add new class to my EDF scheduler source code. I faced application
> compile & link problem on this, below is the description of what I
> did.
>
> My aim is to store "millisecond per system tick" as a static member of
> some "general info class".
You really should not be concerned with time except at the level of the
system tick within the kernel. Any time-related scheduling constraints
should be expressed in ticks. Why do you need to know time in milliseconds?
Apologies for not replying sooner. I missed your e-mail for some reason.
John Dallaway
eCos maintainer
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss