Provides time measuring functionality. More...
#include <UT_Timer.h>
Public Member Functions | |
double | end (char *message=NULL) |
char * | getDateTimeStr (void) |
void | start (void) |
UT_Timer (void) | |
virtual | ~UT_Timer (void) |
Protected Attributes | |
clock_t | clock |
struct tms | currtime |
struct tms | difftime |
long | ges_usecs |
long | iClkTck |
struct tms | lasttime |
long | secs |
clock_t | start_clock |
struct timeval | tv_end |
struct timeval | tv_start |
long | usecs |
Provides time measuring functionality.
Definition at line 39 of file UT_Timer.h.
UT_Timer::UT_Timer | ( | void | ) |
Definition at line 20 of file UT_Timer.cpp.
virtual UT_Timer::~UT_Timer | ( | void | ) | [inline, virtual] |
Definition at line 44 of file UT_Timer.h.
double UT_Timer::end | ( | char * | message = NULL | ) |
Definition at line 32 of file UT_Timer.cpp.
char* UT_Timer::getDateTimeStr | ( | void | ) | [inline] |
Definition at line 51 of file UT_Timer.h.
void UT_Timer::start | ( | void | ) | [inline] |
Definition at line 48 of file UT_Timer.h.
clock_t UT_Timer::clock [protected] |
Definition at line 67 of file UT_Timer.h.
struct tms UT_Timer::currtime [protected] |
Definition at line 63 of file UT_Timer.h.
struct tms UT_Timer::difftime [protected] |
Definition at line 65 of file UT_Timer.h.
long UT_Timer::ges_usecs [protected] |
Definition at line 59 of file UT_Timer.h.
long UT_Timer::iClkTck [protected] |
Definition at line 62 of file UT_Timer.h.
struct tms UT_Timer::lasttime [protected] |
Definition at line 64 of file UT_Timer.h.
long UT_Timer::secs [protected] |
Definition at line 58 of file UT_Timer.h.
clock_t UT_Timer::start_clock [protected] |
Definition at line 67 of file UT_Timer.h.
struct timeval UT_Timer::tv_end [protected] |
Definition at line 56 of file UT_Timer.h.
struct timeval UT_Timer::tv_start [protected] |
Definition at line 55 of file UT_Timer.h.
long UT_Timer::usecs [protected] |
Definition at line 57 of file UT_Timer.h.