Ticket #2296 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

Change Kernel::Timer to use boost::timer

Reported by: Peter Peterson Owned by: Peter Peterson
Priority: minor Milestone: Iteration 27
Component: Infrastructure Keywords:
Cc: Blocked By:
Blocking: Tester: Janik Zikovsky

Description

Since boost is already a requirement and has dealt with portability issues, use it.

Change History

comment:1 Changed 10 years ago by Peter Peterson

  • Status changed from new to accepted
  • Owner set to Peter Peterson

comment:2 Changed 10 years ago by Peter Peterson

  • Status changed from accepted to verify
  • Resolution set to fixed

(In [8965]) Fixes #2296.

comment:3 Changed 10 years ago by Peter Peterson

  • Status changed from verify to reopened
  • Resolution fixed deleted

Turns out that boosts solution is not portable. On windows it gives wall-clock time, on linux it gives processor time.

comment:4 Changed 10 years ago by Peter Peterson

(In [8967]) Reverting changes. Refs #2296.

comment:5 Changed 10 years ago by Peter Peterson

(In [8968]) Added the functionality for testing leaving the original calculation of duration. Refs #2296.

comment:6 Changed 10 years ago by Peter Peterson

  • Status changed from reopened to accepted

comment:7 Changed 10 years ago by Peter Peterson

  • Status changed from accepted to verify
  • Resolution set to fixed

This is as done as it is going to get.

comment:8 Changed 10 years ago by Janik Zikovsky

  • Status changed from verify to verifying
  • Tester set to Janik Zikovsky

comment:9 Changed 10 years ago by Janik Zikovsky

  • Status changed from verifying to closed

I have used the elapsed_no_reset() function successfully in the past. Works.

comment:10 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 3143

Note: See TracTickets for help on using tickets.