30#define RMTIMER(class, func) RMTimer localRMTimer = RMTimer(class, func);
32#define RMTIMER(class, func)
71 RMTimer(
const char *newClass,
const char *newFunc,
118 unsigned short running;
Module: raslib.
Definition rmdebug.hh:68
int getTime()
Time spent is the time since construction or last start() excluding the times between pause() and res...
RMTimer(const char *newClass, const char *newFunc, int newBmLevel=4)
constructor, initializes members and starts timer.
void stop()
Also switches output to RMInit::bmOut on again.
void pause()
If newOutoutput is FALSE no output is created on RMInit::bmOut on the following calls to stop() and ~...
void setOutput(int newOutput)
switch output on RMInit::bmOut on and off.
void start()
resets timer.
void resume()
resumes timer.
~RMTimer()
The parameters newClass and newFunc have to be string literals.