> I am having problems with the clock() function which I am using for a delay
> routine. Under Window (sorry for the foul language) the clock function
> returns the number of clock ticks. This results in a millisecond result.
Well that's because Windows is not POSIX compliant. clock should
return its in usec.
> the Gumstics I also get the value expressed in milliseconds, but it is only
> updated every second. For example if I have a loop like this
milliseconds? This looks like useconds to me with a millisecond
Anyway to get number of seconds do clock() / CLOCKS_PER_SEC (all
defined in <time.h>).
Get latest updates about Open Source Projects, Conferences and News.