Module timer

Source
Expand description

Windows timers API

Structs§

NoWait
Schedules delete and exit immediately
QueueTimer
Timer that schedules callback on thread pool
TimerFlags
Describes timer flags
TimerQueue
Queue for timer
Wait
Waits for all callback functions to finish

Constants§

DEFAULT_TIMER_FLAGS
Default timer flags to only execute callback on non-IO thread
DEFAULT_TIMER_QUEUE
Default Timer queue

Traits§

CompleteEvent
Describes how to delete timer/queue

Functions§

query_performance_counter
Retrieves the current value of the performance counter, which is a high resolution (<1us) time stamp that can be used for time-interval measurements.
query_performance_frequency
Retrieves the frequency of the performance counter.

Type Aliases§

CallbackType
Raw type of callback function