Encapsulate timer handling

Issue #146 resolved
dreadnaut created an issue

Originally reported on Google Code with ID 146

Page and query timers repeat a few lines of code and define 3-4 variables every time.

Attached is a small patch that defines a MicroTimer class to encapsulate the behaviour,
requires only one variable per timer, and I think makes output easier :)

Fran

Reported by dreadnaut on 2012-11-20 14:11:04

<hr> * Attachment: microtimer.txt

Comments (4)

  1. Christopher Kramer
    Thanks. I like it. Feel free to commit it yourself.
    

    Reported by crazy4chrissi on 2012-11-20 21:53:25 - Status changed: Started

  2. dreadnaut reporter
    Uploaded as rev 297 and 298.
    

    Reported by dreadnaut on 2012-11-21 14:13:52 - Status changed: Fixed

  3. Log in to comment