[flang-commits] [PATCH] D111281: [flang] More work on SYSTEM_CLOCK runtime API and implementation

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Fri Oct 8 10:10:58 PDT 2021


klausler added inline comments.


================
Comment at: flang/runtime/time-intrinsic.cpp:78
   if (clock_gettime(CLOCKID, &tspec) == 0) {
     return tspec.tv_nsec * 1.0e-9 + tspec.tv_sec;
   }
----------------
rovka wrote:
> Actually I think this one needs -1 too :) 
I don't understand.  The math seems straightforward and correct to me.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D111281/new/

https://reviews.llvm.org/D111281



More information about the flang-commits mailing list