"Fast" way to measure code execution time
this will help system_clock is likely significantly cheaper than cpu_time,
and has much better precision. For GFortran on Linux, I vaguely recall I
once tested by calling it in a loop, and system_clock took on the order of
50 ns per call.
Date : October 14 2020, 02:21 PM , By : jqbeginner