This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: ecos and gettimeofday()
- From: Richard Pennington <rich at pennware dot com>
- To: Alexander Neundorf <neundorf at kde dot org>, Andrew Lunn <andrew at lunn dot ch>, ecos-discuss at ecos dot sourceware dot org
- Date: Sun, 16 Oct 2005 07:36:03 -0500
- Subject: Re: [ECOS] ecos and gettimeofday()
- References: <200509292331.26058.neundorf@kde.org> <200510142130.57867.neundorf@kde.org> <20051016095516.GB7857@lunn.ch>
On Sunday 16 October 2005 04:55 am, Andrew Lunn wrote:
[snip]
> I suggest you add gettimeofday() to the end of time.cxx.
I agree with Andrew that gettimeofday belongs at the end of time.cxx. It is
amost identical to clock_gettime() (with ns converted to usec).
Is there something about the definition of CLOCK_REALTIME that I don't
understand that makes clock_gettime() incompatable with gettimeofday()?
-Rich
--
Richard Pennington
Email: rich@pennware.com
http://www.pennware.com ftp://ftp.pennware.com
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss