[flang-commits] [flang] [Flang][runtime] Distinguish CPU time and elapsed time for cpu_time and system_clock (PR #96652)
Michael Klemm via flang-commits
flang-commits at lists.llvm.org
Mon Jul 15 08:59:14 PDT 2024
mjklemm wrote:
> Is there a particular reason to go in favor of `std::timespec_get` over POSIX function `clock_gettime`?
> I posted PR #98915 to fix the build breakage on AIX because of it. @mjklemm
`clock_gettime` is still there. Before this PR, the code used the wrong entry point and did not return time, but returned CPU time, which was not correct for what the Fortran intrinsic was supposed to return. I'll comment in your PR also.
https://github.com/llvm/llvm-project/pull/96652
More information about the flang-commits
mailing list