This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: ecos and gettimeofday()
- From: Peter Korsgaard <jacmet at sunsite dot dk>
- To: neundorf at kde dot org
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Fri, 30 Sep 2005 07:36:01 +0200
- Subject: Re: [ECOS] ecos and gettimeofday()
- References: <200509292331.26058.neundorf@kde.org>
>>>>> "Alexander" == Alexander Neundorf <neundorf@kde.org> writes:
Hi,
Alexander> If this is not the right approach, what do you suggest
Alexander> instead ?
Johanthan's reply to my patch was pretty clear about that. Basically
you need to add a include line to the isoinfra package which can be
set in CDL, and add the include file to the posix package.
I unfortunately haven't had time to do this - if anyone wants to step
up to the task, please do!
Another item related to this is using HAL_CLOCK_READ in gettimeofday
so we can get sub-timer tick accuracy.
--
Bye, Peter Korsgaard
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss