Zen
A cross-platform functional programming language
|
Rudimentary function timer. More...
#include <zbl.hpp>
Public Member Functions | |
counter (counted &fn) | |
Default constructor. | |
~counter () | |
Destructor. | |
Public Attributes | |
QTime | tmr |
The timer. | |
counted & | _fn |
The counter. |
Default constructor.
Starts the timer
fn | Function counter |
~counter | ( | ) | [inline] |
Destructor.
Stops the timer and adds time spent to the accumulator.