I use "system_clock" as I find it to be much more accurate than "cpu_time". If I am not mistaken, that should be portable, as it is standard F95 and later (according to the gfortran manual, anyway).
--------------------------------------
Background: Chemical engineer, familiar mostly with MATLAB, but now branching out into real programming.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.