On Dienstag, 27. Juni 2017 00:36:47 CEST Miro Kropáček wrote: > Nobody calls fopen() in inner loops That was only an example. >clock() is a very useful alternative. clock counts cpu time, gettimeofday real time. That are different things and serve different purposes.