TaskTimer Class Reference

#include <timer.h>

Inheritance diagram for TaskTimer:

Inheritance graph
[legend]
Collaboration diagram for TaskTimer:

Collaboration graph
[legend]

List of all members.

Classes

struct  SelfIncl

Public Member Functions

 TaskTimer (const char *name)
TaskTimersetTask (const char *task)
double stop ()

Static Public Member Functions

static void pushTask (const char *task)
static void popTask ()
static void printStats ()

Protected Types

typedef std::list< TaskTimerTaskList
typedef std::map< const char
*, SelfIncl
CharDoubleMap

Protected Member Functions

void printStats (int indent, double total, CharDoubleMap &flatProfile)

Protected Attributes

const char * name
TaskList subtasks
TaskList::iterator currentTask


Detailed Description

Definition at line 70 of file timer.h.


Member Typedef Documentation

typedef std::map<const char *, SelfIncl> TaskTimer::CharDoubleMap [protected]

Definition at line 88 of file timer.h.

typedef std::list<TaskTimer> TaskTimer::TaskList [protected]

Definition at line 82 of file timer.h.


Constructor & Destructor Documentation

TaskTimer::TaskTimer ( const char *  name  ) 

Definition at line 110 of file timer.cpp.


Member Function Documentation

void TaskTimer::popTask (  )  [static]

void TaskTimer::printStats ( int  indent,
double  total,
CharDoubleMap flatProfile 
) [protected]

Definition at line 285 of file timer.cpp.

void TaskTimer::printStats (  )  [static]

Definition at line 288 of file timer.cpp.

Referenced by VSView::summary().

void TaskTimer::pushTask ( const char *  task  )  [static]

TaskTimer * TaskTimer::setTask ( const char *  task  ) 

Definition at line 284 of file timer.cpp.

double TaskTimer::stop (  ) 

Reimplemented from Timer.

Definition at line 283 of file timer.cpp.


Member Data Documentation

TaskList::iterator TaskTimer::currentTask [protected]

Definition at line 96 of file timer.h.

const char* TaskTimer::name [protected]

Definition at line 92 of file timer.h.

Definition at line 95 of file timer.h.


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

Generated on Tue Mar 30 15:53:26 2010 for Polyora by  doxygen 1.5.9