|
Operator Console
|
a timer class for getting the elapsed time between events More...
#include <Timer.h>
Public Member Functions | |
| Timer (void) | |
| virtual | ~Timer (void) |
| void | Start () |
| void | Stop () |
| void | Get (long long *ms) |
| gets the elapsed time in milliseconds More... | |
| void | Get (double *sec) |
| gets the elapsed time in seconds More... | |
| void | Get (CString *str) |
| gets the elapsed time in a formatted string More... | |
| Timer (void) | |
| virtual | ~Timer (void) |
| void | Start () |
| void | Stop () |
| void | Get (long long *ms) |
| void | Get (double *sec) |
| void | Get (CString *str) |
Protected Member Functions | |
| void | Elapsed () |
| calculates elapsed time in milliseconds More... | |
| void | Elapsed () |
Protected Attributes | |
| struct _timeb | m_start |
| struct _timeb | m_stop |
| long long | m_elapsed |
| elapsed time in ms More... | |
a timer class for getting the elapsed time between events
| Timer::Timer | ( | void | ) |
|
virtual |
|
protected |
|
protected |
| void Timer::Get | ( | long long * | ms | ) |
| void Timer::Get | ( | long long * | ms | ) |
gets the elapsed time in milliseconds
References m_elapsed.
Referenced by ImageTest::ThreadProc().
| void Timer::Get | ( | double * | sec | ) |
| void Timer::Get | ( | double * | sec | ) |
| void Timer::Get | ( | CString * | str | ) |
| void Timer::Get | ( | CString * | str | ) |
| void Timer::Start | ( | ) |
| void Timer::Start | ( | ) |
References m_start.
Referenced by ImageTest::ThreadProc().
| void Timer::Stop | ( | ) |
| void Timer::Stop | ( | ) |
References Elapsed(), and m_stop.
Referenced by ImageTest::ThreadProc().
|
protected |
1.8.6