This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Fix various issues in TimerImpl.
ClosedPublic

Authored by rdzhabarov on Jul 21 2021, 5:19 PM.

Details

Summary

More specifically:

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

Diff Detail

Event Timeline

rdzhabarov created this revision.Jul 21 2021, 5:19 PM
rdzhabarov requested review of this revision.Jul 21 2021, 5:19 PM
rdzhabarov edited the summary of this revision. (Show Details)
mehdi_amini accepted this revision.Jul 21 2021, 5:48 PM
This revision is now accepted and ready to land.Jul 21 2021, 5:48 PM
This revision was automatically updated to reflect the committed changes.