[KLF Backend][KLF Tools][KLF Home]
KLatexFormula Project
Public Member Functions | Protected Attributes | List of all members
KLFDebugBlock Class Reference

Utility to time the execution of a block. More...

#include <klfdebug.h>

Inheritance diagram for KLFDebugBlock:
Inheritance graph
[legend]
Collaboration diagram for KLFDebugBlock:
Collaboration graph
[legend]

Public Member Functions

 KLFDebugBlock (const QString &blockName)
 
 KLFDebugBlock (bool printmsg, const QString &blockName)
 
virtual ~KLFDebugBlock ()
 

Protected Attributes

QString pBlockName
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ KLFDebugBlock() [1/2]

KLFDebugBlock::KLFDebugBlock ( const QString blockName)

Definition at line 1066 of file klfdefs.cpp.

References pBlockName.

◆ KLFDebugBlock() [2/2]

KLFDebugBlock::KLFDebugBlock ( bool  printmsg,
const QString blockName 
)

Definition at line 1077 of file klfdefs.cpp.

References pBlockName.

◆ ~KLFDebugBlock()

KLFDebugBlock::~KLFDebugBlock ( )
virtual

Definition at line 1086 of file klfdefs.cpp.

References pBlockName.

Member Data Documentation

◆ pBlockName

QString KLFDebugBlock::pBlockName
protected

The documentation for this class was generated from the following files:

Generated by doxygen 1.8.13