Profiler Class Reference

#include <debug-profiler.h>

Inheritance diagram for Profiler:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 Profiler ()
virtual ~Profiler ()
void startProfile (const QString &descr)
void stopProfile (const QString &descr)
void printData ()

Protected Member Functions

virtual long long getCounter () const =0
void stopInternalCounter ()
void startInternalCounter ()

Protected Attributes

long long m_internalCounter
long long m_tmpStartVal
QMap< QString, profile_datam_ProfileData

Classes

struct  profile_data

Detailed Description

Definition at line 42 of file debug-profiler.h.


Constructor & Destructor Documentation

Profiler::Profiler (  ) 

virtual Profiler::~Profiler (  )  [virtual]


Member Function Documentation

virtual long long Profiler::getCounter (  )  const [protected, pure virtual]

Implemented in TimeProfiler, and MemProfiler.

void Profiler::printData (  ) 

void Profiler::startInternalCounter (  )  [protected]

void Profiler::startProfile ( const QString &  descr  ) 

void Profiler::stopInternalCounter (  )  [protected]

void Profiler::stopProfile ( const QString &  descr  ) 


Member Data Documentation

long long Profiler::m_internalCounter [protected]

Definition at line 60 of file debug-profiler.h.

QMap<QString, profile_data> Profiler::m_ProfileData [protected]

Definition at line 75 of file debug-profiler.h.

long long Profiler::m_tmpStartVal [protected]

Definition at line 61 of file debug-profiler.h.


The documentation for this class was generated from the following file:
Generated on Fri Jan 28 16:42:32 2011 for kradio by  doxygen 1.4.7