nico@215: nico@215:
nico@215: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@215: nico@215:
nico@215: Definition at line 94 of file timers_win32.cpp.
class_timers::class_timers | nico@215:( | nico@215:nico@215: | ) | nico@215:nico@215: |
nico@215: nico@215:
nico@215: Definition at line 116 of file timers_win32.cpp. nico@215:
nico@215: References m_counts_per_usec, and m_use_hi_res_timer. nico@215:
class_timers::~class_timers | nico@215:( | nico@215:nico@215: | ) | nico@215:nico@215: |
nico@215: nico@215:
nico@215: Definition at line 133 of file timers_win32.cpp. nico@215:
nico@215: References stop_timer_thread(). nico@215:
etisserant@240: Here is the call graph for this function:
nico@215:
void class_timers::start_timer_thread | nico@215:( | nico@215:nico@215: | ) | nico@215:nico@215: |
nico@215: nico@215:
nico@215: Definition at line 173 of file timers_win32.cpp. nico@215:
nico@215: References get_timer(), m_last_alarm_set_time, m_last_occured_alarm_time, m_timer_thread, timer_loop_thread_proc(), and TIMEVAL_MAX. nico@215:
nico@215: Referenced by StartTimerLoop(). nico@215:
etisserant@240: Here is the call graph for this function:
void class_timers::resume_timer_thread | nico@215:( | nico@215:nico@215: | ) | nico@215:nico@215: |
nico@215: nico@215:
nico@215: Definition at line 184 of file timers_win32.cpp. nico@215:
nico@215: References m_continue_timer_loop, and m_timer_thread. nico@215:
nico@215: Referenced by StartTimerLoop(). nico@215:
void class_timers::stop_timer_thread | nico@215:( | nico@215:nico@215: | ) | nico@215:nico@215: |
nico@215: nico@215:
nico@215: Definition at line 193 of file timers_win32.cpp. nico@215:
nico@215: References m_continue_timer_loop, and m_timer_thread. nico@215:
nico@215: Referenced by StopTimerLoop(), and ~class_timers(). nico@215:
void class_timers::set_timer | nico@215:( | nico@215:TIMEVAL | nico@215:value | nico@215:) | nico@215:nico@215: |
nico@215: nico@215:
nico@215: Definition at line 204 of file timers_win32.cpp. nico@215:
nico@215: References get_timer(), m_last_alarm_set_time, and TIMEVAL_MAX. nico@215:
nico@215: Referenced by setTimer(). nico@215:
etisserant@240: Here is the call graph for this function:
TIMEVAL class_timers::get_elapsed_time | nico@215:( | nico@215:nico@215: | ) | nico@215:nico@215: |
nico@215: nico@215:
nico@215: Definition at line 210 of file timers_win32.cpp. nico@215:
nico@215: References get_timer(), and m_last_occured_alarm_time. nico@215:
nico@215: Referenced by getElapsedTime(). nico@215:
etisserant@240: Here is the call graph for this function:
TIMEVAL class_timers::get_timer | nico@215:( | nico@215:nico@215: | ) | nico@215: const [private] |
nico@215:
nico@215: nico@215:
nico@215: Definition at line 139 of file timers_win32.cpp. nico@215:
nico@215: References m_counts_per_usec, m_use_hi_res_timer, and TIMEVAL. nico@215:
nico@215: Referenced by get_elapsed_time(), set_timer(), start_timer_thread(), and timer_loop_thread_proc(). nico@215:
DWORD WINAPI class_timers::timer_loop_thread_proc | nico@215:( | nico@215:void * | nico@215:arg | nico@215:) | nico@215: [static, private] |
nico@215:
nico@215: nico@215:
nico@215: Definition at line 151 of file timers_win32.cpp. nico@215:
nico@215: 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@215:
nico@215: Referenced by start_timer_thread(). nico@215:
etisserant@240: Here is the call graph for this function:
nico@215:
TIMEVAL class_timers::m_last_occured_alarm_time [private] |
nico@215:
nico@215: nico@215:
nico@215: Definition at line 108 of file timers_win32.cpp. nico@215:
nico@215: Referenced by get_elapsed_time(), start_timer_thread(), and timer_loop_thread_proc(). nico@215:
etisserant@240: etisserant@240:
volatile TIMEVAL class_timers::m_last_alarm_set_time [private] |
nico@215:
nico@215: nico@215:
nico@215: Definition at line 109 of file timers_win32.cpp. nico@215:
nico@215: Referenced by set_timer(), start_timer_thread(), and timer_loop_thread_proc(). nico@215:
etisserant@240: etisserant@240:
HANDLE class_timers::m_timer_thread [private] |
nico@215:
nico@215: nico@215:
nico@215: Definition at line 110 of file timers_win32.cpp. nico@215:
nico@215: Referenced by resume_timer_thread(), start_timer_thread(), and stop_timer_thread(). nico@215:
etisserant@240: etisserant@240:
volatile bool class_timers::m_continue_timer_loop [private] |
nico@215:
nico@215: nico@215:
nico@215: Definition at line 111 of file timers_win32.cpp. nico@215:
nico@215: Referenced by resume_timer_thread(), stop_timer_thread(), and timer_loop_thread_proc(). nico@215:
etisserant@240: etisserant@240:
bool class_timers::m_use_hi_res_timer [private] |
nico@215:
nico@215: nico@215:
nico@215: Definition at line 112 of file timers_win32.cpp. nico@215:
nico@215: Referenced by class_timers(), and get_timer(). nico@215:
etisserant@240: etisserant@240:
double class_timers::m_counts_per_usec [private] |
nico@215:
nico@215: nico@215:
nico@215: Definition at line 113 of file timers_win32.cpp. nico@215:
nico@215: Referenced by class_timers(), and get_timer(). nico@215:
nico@215: