Skip to content

Use Windows WaitableTimer with high resolution if available #16

@shumpohl

Description

@shumpohl

Windows introduced a flag to create a "high resolution" timer in Windows 10, version 1803. On my system I can get 500µs resolution with it without fiddling with timeBeginPeriod.

https://docs.microsoft.com/en-us/windows/win32/api/synchapi/nf-synchapi-createwaitabletimerexw

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions