[all-commits] [llvm/llvm-project] 1dd379: [mlir] Fix various issues in TimerImpl.

Roman Dzhabarov via All-commits all-commits at lists.llvm.org
Wed Jul 21 20:45:06 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1dd37975b56eaff210a37e078927f7ea0ffac7ad
      https://github.com/llvm/llvm-project/commit/1dd37975b56eaff210a37e078927f7ea0ffac7ad
  Author: rdzhabarov <rdzhabarov at google.com>
  Date:   2021-07-22 (Thu, 22 Jul 2021)

  Changed paths:
    M mlir/lib/Support/Timing.cpp

  Log Message:
  -----------
  [mlir] Fix various issues in TimerImpl.

More specifically:
1) Use variable after move.
2) steady_clock needs to be used for measuring time intervals, but not the system_clock.

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D106513




More information about the All-commits mailing list