The package `ticker' implements a timer. Timer can be activated or can be stopped. The timer accumulates execution time only when it is in active state. The interface part of the package is file `ticker.h'. The implementation part is file `ticker.cpp'. The interface contains the following external definitions and macros:
describes a timer. This type is simply synonym of `class ticker'.
Timers are objects of this class. The class has the following members:
creates new timer. The state of the timer is active.
stops given timer.
`void ticker_off (void)'
activates given timer.
`void ticker_on (void)'
returns time in seconds as double float value in which the timer given as the function parameter was active.
`double active_time (ticker_t ticker)'
returns string representation of time in seconds in which the timer given as the function parameter was active. Remember that this function must be the single in a C++ expression because the string is stored in a static variable of the function.
`const char *active_time_string (ticker_t ticker)'