This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: ecos and gettimeofday()
On Sun, Oct 16, 2005 at 07:36:03AM -0500, Richard Pennington wrote:
> 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()?
What do you mean by incompatable? I don't understand the question.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss