Utility to time the execution of a block. More...
#include <klfdebug.h>
Public Member Functions | |
KLFDebugBlock (const QString &blockName) | |
KLFDebugBlock (bool printmsg, const QString &blockName) | |
virtual | ~KLFDebugBlock () |
Protected Attributes | |
QString | pBlockName |
Utility to time the execution of a block.
Prints message in constructor and in destructor to test block execution time.
Consider using the macros KLF_DEBUG_BLOCK and KLF_DEBUG_TIME_BLOCK instead.
Definition at line 45 of file klfdebug.h.
KLFDebugBlock::KLFDebugBlock | ( | const QString & | blockName | ) |
Definition at line 1066 of file klfdefs.cpp.
References pBlockName.
KLFDebugBlock::KLFDebugBlock | ( | bool | printmsg, |
const QString & | blockName | ||
) |
Definition at line 1077 of file klfdefs.cpp.
References pBlockName.
KLFDebugBlock::~KLFDebugBlock | ( | ) | [virtual] |
Definition at line 1086 of file klfdefs.cpp.
References pBlockName.
QString KLFDebugBlock::pBlockName [protected] |
Definition at line 54 of file klfdebug.h.
Referenced by KLFDebugBlock(), KLFDebugBlockTimer::KLFDebugBlockTimer(), ~KLFDebugBlock(), and KLFDebugBlockTimer::~KLFDebugBlockTimer().