tlds
Transactional Operations for Linked Data Structures
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Timer Class Reference

#include <timehelper.h>

Inheritance diagram for Timer:
Collaboration diagram for Timer:

Public Member Functions

 Timer ()
 
virtual ~Timer ()
 
void Start ()
 
void Stop ()
 
void Resume ()
 
double ElapsedCpu () const
 
double ElapsedWall () const
 
std::string ToString () const
 
std::string ToSecond () const
 

Private Attributes

double m_cpuStart
 
double m_wallStart
 
double m_cpuElapse
 
double m_wallElapse
 
bool m_stopped
 

Constructor & Destructor Documentation

Timer::Timer ( )
Timer::~Timer ( )
virtual

Member Function Documentation

double Timer::ElapsedCpu ( ) const

Here is the call graph for this function:

Here is the caller graph for this function:

double Timer::ElapsedWall ( ) const

Here is the call graph for this function:

Here is the caller graph for this function:

void Timer::Resume ( )

Here is the call graph for this function:

void Timer::Start ( )

Here is the call graph for this function:

Here is the caller graph for this function:

void Timer::Stop ( )

Here is the call graph for this function:

Here is the caller graph for this function:

std::string Timer::ToSecond ( ) const

Here is the call graph for this function:

Here is the caller graph for this function:

std::string Timer::ToString ( ) const

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

double Timer::m_cpuElapse
private
double Timer::m_cpuStart
private
bool Timer::m_stopped
private
double Timer::m_wallElapse
private
double Timer::m_wallStart
private

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