|
|
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
A class to time the different parts of the registration. More...
#include <elxTimer.h>


Public Types | |
| typedef SmartPointer< const Self > | ConstPointer |
| typedef SmartPointer< Self > | Pointer |
| typedef Timer | Self |
| typedef Object | Superclass |
| typedef std::vector < std::vcl_size_t > | TimeDHMSType |
Public Member Functions | |
| int | ElapsedClockAndTime (void) |
| virtual const char * | GetClassName () const |
| virtual double | GetElapsedClock () const |
| virtual double | GetElapsedClockSec () const |
| virtual time_t | GetElapsedTime () const |
| virtual std::vcl_size_t | GetElapsedTimeSec () const |
| virtual time_t | GetStartTime () const |
| virtual time_t | GetStopTime () const |
| const std::string & | PrintElapsedClock (void) |
| const std::string & | PrintElapsedClockSec (void) |
| const std::string & | PrintElapsedTimeDHMS (void) |
| const std::string & | PrintElapsedTimeSec (void) |
| const std::string & | PrintStartTime (void) |
| const std::string & | PrintStopTime (void) |
| void | StartTimer (void) |
| int | StopTimer (void) |
Static Public Member Functions | |
| static Pointer | New () |
Protected Member Functions | |
| Timer () | |
| virtual | ~Timer () |
Protected Attributes | |
| clock_t | m_ElapsedClock |
| double | m_ElapsedClockSec |
| std::string | m_ElapsedClockSecString |
| std::string | m_ElapsedClockString |
| double | m_ElapsedTime |
| TimeDHMSType | m_ElapsedTimeDHMS |
| std::string | m_ElapsedTimeDHMSString |
| std::vcl_size_t | m_ElapsedTimeSec |
| std::string | m_ElapsedTimeSecString |
| clock_t | m_StartClock |
| time_t | m_StartTime |
| std::string | m_StartTimeString |
| clock_t | m_StopClock |
| time_t | m_StopTime |
| std::string | m_StopTimeString |
Private Member Functions | |
| void | operator= (const Self &) |
| Timer (const Self &) | |
A class to time the different parts of the registration.
This class is a wrap around ctime.h. It is used to time the registration, to get the time per iteration, or whatever.
Definition at line 58 of file elxTimer.h.
| typedef SmartPointer<const Self> tmr::Timer::ConstPointer |
Definition at line 65 of file elxTimer.h.
| typedef SmartPointer<Self> tmr::Timer::Pointer |
Definition at line 64 of file elxTimer.h.
| typedef Timer tmr::Timer::Self |
Standard ITK-stuff.
Definition at line 62 of file elxTimer.h.
| typedef Object tmr::Timer::Superclass |
Definition at line 63 of file elxTimer.h.
| typedef std::vector<std::vcl_size_t> tmr::Timer::TimeDHMSType |
My typedef's.
Definition at line 71 of file elxTimer.h.
| tmr::Timer::Timer | ( | ) | [protected] |
| virtual tmr::Timer::~Timer | ( | ) | [inline, protected, virtual] |
Definition at line 103 of file elxTimer.h.
| tmr::Timer::Timer | ( | const Self & | ) | [private] |
| int tmr::Timer::ElapsedClockAndTime | ( | void | ) |
| virtual const char* tmr::Timer::GetClassName | ( | ) | const [virtual] |
Run-time type information (and related methods).
| virtual double tmr::Timer::GetElapsedClock | ( | ) | const [virtual] |
| virtual double tmr::Timer::GetElapsedClockSec | ( | ) | const [virtual] |
| virtual time_t tmr::Timer::GetElapsedTime | ( | ) | const [virtual] |
| virtual std:: vcl_size_t tmr::Timer::GetElapsedTimeSec | ( | ) | const [virtual] |
| virtual time_t tmr::Timer::GetStartTime | ( | ) | const [virtual] |
Communication with outside world.
| virtual time_t tmr::Timer::GetStopTime | ( | ) | const [virtual] |
| static Pointer tmr::Timer::New | ( | ) | [static] |
Method for creation through the object factory.
| void tmr::Timer::operator= | ( | const Self & | ) | [private] |
| const std::string& tmr::Timer::PrintElapsedClock | ( | void | ) |
| const std::string& tmr::Timer::PrintElapsedClockSec | ( | void | ) |
| const std::string& tmr::Timer::PrintElapsedTimeDHMS | ( | void | ) |
| const std::string& tmr::Timer::PrintElapsedTimeSec | ( | void | ) |
| const std::string& tmr::Timer::PrintStartTime | ( | void | ) |
Formatted Output Functions (return the time as a string, with comments)
| const std::string& tmr::Timer::PrintStopTime | ( | void | ) |
| void tmr::Timer::StartTimer | ( | void | ) |
Member functions.
| int tmr::Timer::StopTimer | ( | void | ) |
clock_t tmr::Timer::m_ElapsedClock [protected] |
Definition at line 111 of file elxTimer.h.
double tmr::Timer::m_ElapsedClockSec [protected] |
Definition at line 114 of file elxTimer.h.
std::string tmr::Timer::m_ElapsedClockSecString [protected] |
Definition at line 122 of file elxTimer.h.
std::string tmr::Timer::m_ElapsedClockString [protected] |
Definition at line 121 of file elxTimer.h.
double tmr::Timer::m_ElapsedTime [protected] |
Definition at line 110 of file elxTimer.h.
TimeDHMSType tmr::Timer::m_ElapsedTimeDHMS [protected] |
Definition at line 112 of file elxTimer.h.
std::string tmr::Timer::m_ElapsedTimeDHMSString [protected] |
Definition at line 119 of file elxTimer.h.
std::vcl_size_t tmr::Timer::m_ElapsedTimeSec [protected] |
Definition at line 113 of file elxTimer.h.
std::string tmr::Timer::m_ElapsedTimeSecString [protected] |
Definition at line 120 of file elxTimer.h.
clock_t tmr::Timer::m_StartClock [protected] |
Definition at line 107 of file elxTimer.h.
time_t tmr::Timer::m_StartTime [protected] |
Variables that store program arguments.
Definition at line 103 of file elxTimer.h.
std::string tmr::Timer::m_StartTimeString [protected] |
Strings that serve as output of the Formatted Output Functions
Definition at line 117 of file elxTimer.h.
clock_t tmr::Timer::m_StopClock [protected] |
Definition at line 109 of file elxTimer.h.
time_t tmr::Timer::m_StopTime [protected] |
Definition at line 108 of file elxTimer.h.
std::string tmr::Timer::m_StopTimeString [protected] |
Definition at line 118 of file elxTimer.h.
Generated on 11-05-2011 for elastix by 1.7.4 |