Skip to content

Commit

Permalink
README.md: about system_clock()
Browse files Browse the repository at this point in the history
  • Loading branch information
vmagnin committed Oct 28, 2021
1 parent 8007f10 commit a282404
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a282404

Please sign in to comment.