[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: clock(3) non-functional?



On Sun, 2014-06-29 at 22:56 +0200, Samuel Thibault wrote:
> Hello,

> > The following simple program gives unreliable results both on Linux and
> > especially Hurd:
> 
> Again, what do you mean by "unreliable"?  What did you expect?

I'd expected an elapsed time of 3 seconds with a sleep(3) in between
start and stop. That's the usage in the libsamplerate code. If it is
computer CPU time to execute the command sleep(3) the result seems
reasonable.


Reply to: