Page MenuHomePhabricator

[mlir] Fix various issues in TimerImpl.
ClosedPublic

Authored by rdzhabarov on Wed, Jul 21, 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.Wed, Jul 21, 5:19 PM
rdzhabarov requested review of this revision.Wed, Jul 21, 5:19 PM
rdzhabarov edited the summary of this revision. (Show Details)
mehdi_amini accepted this revision.Wed, Jul 21, 5:48 PM
This revision is now accepted and ready to land.Wed, Jul 21, 5:48 PM
This revision was automatically updated to reflect the committed changes.