[all-commits] [llvm/llvm-project] 7359ed: [Flang][runtime] Distinguish CPU time and elapsed ...

Michael Klemm via All-commits all-commits at lists.llvm.org
Tue Jul 2 09:37:54 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7359edbc0981280e029701aa1ddee7ed313126dc
      https://github.com/llvm/llvm-project/commit/7359edbc0981280e029701aa1ddee7ed313126dc
  Author: Michael Klemm <michael.klemm at amd.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M flang/runtime/time-intrinsic.cpp
    M flang/test/Runtime/no-cpp-dep.c

  Log Message:
  -----------
  [Flang][runtime] Distinguish CPU time and elapsed time for cpu_time and system_clock (#96652)

The current implementation for `system_clock()` returns the CPU time
instead of elapsed wallclock time. This PR fixes the issue and makes
`system_clock()` correctly return elapsed time.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list