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

Re: [MiNT] How to measure 1 second intervals in the cleanest way?



Hello,

I use the clock() function, which is based on _hz_200 IIRC.

You can check the source code of teatime (chrono.c) which is available here:
http://arnaud.bercegeay.pagesperso-orange.fr/teatime_e.htm

Arnaud.



2012/12/30 Miro Kropáček <miro.kropacek@gmail.com>
Hi,

subject says it all. The original TOS functions for time offer only 2 seconds precision. So what if I'm interested in higher precision? Should I use _hz_200 or is there a cleaner way to do it?

Thanks for any hints.

--
MiKRO / Mystic Bytes
http://mikro.atari.org