Anasazi Version of the Day
Public Member Functions
TSQR::TrivialTimer Class Reference

Satisfies TimerType concept trivially. More...

#include <Tsqr_TrivialTimer.hpp>

List of all members.

Public Member Functions

 TrivialTimer (const std::string &theName, bool doStart=false)
void start (bool reset=false)
double stop ()
bool isRunning () const

Detailed Description

Satisfies TimerType concept trivially.

Definition at line 13 of file Tsqr_TrivialTimer.hpp.

Constructor & Destructor Documentation

TSQR::TrivialTimer::TrivialTimer ( const std::string &  theName,
bool  doStart = false 


name[in] Timer label
doStart[in] Whether to start timer on instantiation

Definition at line 9 of file Tsqr_TrivialTimer.cpp.

Member Function Documentation

void TSQR::TrivialTimer::start ( bool  reset = false)

Start the timer (this implementation doesn't actually do anything).

Definition at line 23 of file Tsqr_TrivialTimer.cpp.

double TSQR::TrivialTimer::stop ( )

Stop the timer and return elapsed time (this implementation doesn't actually do anything).

Definition at line 29 of file Tsqr_TrivialTimer.cpp.

bool TSQR::TrivialTimer::isRunning ( ) const [inline]

Whether this timer is running

Definition at line 33 of file Tsqr_TrivialTimer.hpp.

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