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

#include <timehelper.h>

Inheritance diagram for ScopedTimer:
Collaboration diagram for ScopedTimer:

Public Member Functions

 ScopedTimer (bool showSec=false)
 
 ScopedTimer (const std::string &tag, bool showSec=false)
 
virtual ~ScopedTimer ()
 
- Public Member Functions inherited from Timer
 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

bool m_showSec
 
std::string m_tag
 

Constructor & Destructor Documentation

ScopedTimer::ScopedTimer ( bool  showSec = false)

Here is the call graph for this function:

ScopedTimer::ScopedTimer ( const std::string &  tag,
bool  showSec = false 
)

Here is the call graph for this function:

ScopedTimer::~ScopedTimer ( )
virtual

Here is the call graph for this function:

Member Data Documentation

bool ScopedTimer::m_showSec
private
std::string ScopedTimer::m_tag
private

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