On Sunday 16 October 2005 07:44 am, Andrew Lunn wrote: > 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
All I meant was that CLOCK_REALTIME increments just like the (implicit) gettimeofday() clock. I'm learning the posix interfaces and wasn't sure if I missed some magical meaning. My main point was that gettimeofday() is virtually identical to clock_gettime() except for the units. -Rich -- Richard Pennington Email: [EMAIL PROTECTED] 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
