nico@207: nico@207:
nico@207:Public Member Functions | |
class_timers () | |
~class_timers () | |
void | start_timer_thread () |
void | resume_timer_thread () |
void | stop_timer_thread () |
void | set_timer (TIMEVAL value) |
TIMEVAL | get_elapsed_time () |
Private Member Functions | |
TIMEVAL | get_timer () const |
Static Private Member Functions | |
static DWORD WINAPI | timer_loop_thread_proc (void *arg) |
Private Attributes | |
TIMEVAL | m_last_occured_alarm_time |
volatile TIMEVAL | m_last_alarm_set_time |
HANDLE | m_timer_thread |
volatile bool | m_continue_timer_loop |
bool | m_use_hi_res_timer |
double | m_counts_per_usec |
nico@207: nico@207:
nico@207: Definition at line 94 of file timers_win32.cpp.
class_timers::class_timers | nico@207:( | nico@207:nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
nico@207: Definition at line 116 of file timers_win32.cpp. nico@207:
nico@207: References m_counts_per_usec, and m_use_hi_res_timer. nico@207:
class_timers::~class_timers | nico@207:( | nico@207:nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
nico@207: Definition at line 133 of file timers_win32.cpp. nico@207:
nico@207: References stop_timer_thread(). nico@207:
nico@207:
void class_timers::start_timer_thread | nico@207:( | nico@207:nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
nico@207: Definition at line 173 of file timers_win32.cpp. nico@207:
nico@207: References get_timer(), m_last_alarm_set_time, m_last_occured_alarm_time, m_timer_thread, timer_loop_thread_proc(), and TIMEVAL_MAX. nico@207:
void class_timers::resume_timer_thread | nico@207:( | nico@207:nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
nico@207: Definition at line 184 of file timers_win32.cpp. nico@207:
nico@207: References m_continue_timer_loop, and m_timer_thread. nico@207:
void class_timers::stop_timer_thread | nico@207:( | nico@207:nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
nico@207: Definition at line 193 of file timers_win32.cpp. nico@207:
nico@207: References m_continue_timer_loop, and m_timer_thread. nico@207:
void class_timers::set_timer | nico@207:( | nico@207:TIMEVAL | nico@207:value | nico@207:) | nico@207:nico@207: |
nico@207: nico@207:
nico@207: Definition at line 204 of file timers_win32.cpp. nico@207:
nico@207: References get_timer(), m_last_alarm_set_time, and TIMEVAL_MAX. nico@207:
TIMEVAL class_timers::get_elapsed_time | nico@207:( | nico@207:nico@207: | ) | nico@207:nico@207: |
nico@207: nico@207:
nico@207: Definition at line 210 of file timers_win32.cpp. nico@207:
nico@207: References get_timer(), and m_last_occured_alarm_time. nico@207:
TIMEVAL class_timers::get_timer | nico@207:( | nico@207:nico@207: | ) | nico@207: const [private] |
nico@207:
nico@207: nico@207:
nico@207: Definition at line 139 of file timers_win32.cpp. nico@207:
nico@207: References m_counts_per_usec, m_use_hi_res_timer, and TIMEVAL. nico@207:
DWORD WINAPI class_timers::timer_loop_thread_proc | nico@207:( | nico@207:void * | nico@207:arg | nico@207:) | nico@207: [static, private] |
nico@207:
nico@207: nico@207:
nico@207: Definition at line 151 of file timers_win32.cpp. nico@207:
nico@207: References EnterMutex(), get_timer(), LeaveMutex(), m_continue_timer_loop, m_last_alarm_set_time, m_last_occured_alarm_time, TimeDispatch(), TIMEVAL, and TIMEVAL_MAX. nico@207:
nico@207:
TIMEVAL class_timers::m_last_occured_alarm_time [private] |
nico@207:
nico@207: nico@207:
nico@207: Definition at line 108 of file timers_win32.cpp. nico@207:
volatile TIMEVAL class_timers::m_last_alarm_set_time [private] |
nico@207:
nico@207: nico@207:
nico@207: Definition at line 109 of file timers_win32.cpp. nico@207:
HANDLE class_timers::m_timer_thread [private] |
nico@207:
nico@207: nico@207:
nico@207: Definition at line 110 of file timers_win32.cpp. nico@207:
volatile bool class_timers::m_continue_timer_loop [private] |
nico@207:
nico@207: nico@207:
nico@207: Definition at line 111 of file timers_win32.cpp. nico@207:
bool class_timers::m_use_hi_res_timer [private] |
nico@207:
nico@207: nico@207:
nico@207: Definition at line 112 of file timers_win32.cpp. nico@207:
double class_timers::m_counts_per_usec [private] |
nico@207:
nico@207: nico@207:
nico@207: Definition at line 113 of file timers_win32.cpp. nico@207:
nico@207: