From a2824047b926467d5d301cf107924473db4eafe6 Mon Sep 17 00:00:00 2001 From: vmagnin Date: Thu, 28 Oct 2021 14:28:32 +0200 Subject: [PATCH] README.md: about system_clock() --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 33b34b6..ae2ac1e 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,7 @@ https://github.com/fortran-lang/stdlib/blob/master/STYLE_GUIDE.md * Introduced by Fortran 90: * [SYSTEM_CLOCK()](https://gcc.gnu.org/onlinedocs/gfortran/SYSTEM_005fCLOCK.html) + * My first idea was to use `cpu_time()` but I soon realised that the process was idle while the `read(*, '(a1)') key` was waiting for an input! That’s why I finally used `system_clock()`. * Introduced by Fortran 2003: * [COMMAND_ARGUMENT_COUNT()](https://gcc.gnu.org/onlinedocs/gfortran/COMMAND_005fARGUMENT_005fCOUNT.html)