Ticket #1222 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

Make Algorithm timing consistent

Reported by: Russell Taylor Owned by: Russell Taylor
Priority: major Milestone: Iteration 23
Component: Keywords:
Cc: Blocked By:
Blocking: Tester:

Description

At the moment the duration of algorithms is calculated using the clock() function. This function gives wall clock time on Windows, but processor time on Linux - which can give particularly misleading numbers when multi-threaded.

Change History

comment:1 Changed 10 years ago by Russell Taylor

(In [4376]) Add a timing utility class and use this to calculate algorithm durations. Re #1222.

comment:2 Changed 10 years ago by Russell Taylor

  • Status changed from new to accepted

comment:3 Changed 10 years ago by Russell Taylor

(In [4377]) Fix Windows build. Re #1222.

comment:4 Changed 10 years ago by Russell Taylor

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

comment:5 Changed 10 years ago by Sofia Antony

  • Status changed from testing to closed

comment:6 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 2069

Note: See TracTickets for help on using tickets.