[Freemint-list] [MiNT] MiNTlib timing related functions behavior/performance (Thorsten Otto)

Miro Kropáček miro.kropacek at gmail.com
Tue Jun 27 02:36:47 MSD 2017


On 27 June 2017 at 08:22, Thorsten Otto <admin at tho-otto.de> wrote:

> It is also slow compared to other functions.
>
Nobody calls fopen() in inner loops but plenty of people do call
gettimeofday() for synchronisation purposes (game 'ticks').


> The compiler shouldn't warn about usage of functions, when it can't
> provide alternatives.
>
clock() is a very useful alternative.



-- 
MiKRO / Mystic Bytes
http://mikro.atari.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.atariforge.org/pipermail/freemint-list/attachments/20170627/4e1fa83a/attachment.html 


More information about the Freemint-list mailing list