Classes | Public Member Functions | Protected Member Functions | Protected Attributes

Profiler Class Reference

#include <debug-profiler.h>

Inheritance diagram for Profiler:
Inheritance graph
[legend]

List of all members.

Classes

struct  profile_data

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

Detailed Description

Definition at line 43 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 61 of file debug-profiler.h.

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

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

long long Profiler::m_tmpStartVal [protected]

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


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines