How to setup timer resolution to 0.5 ms?

前端 未结 5 1541
北荒
北荒 2021-01-03 03:44

I want to set a machine timer resolution to 0.5ms.

Sysinternal utility reports that the min clock resolution is 0.5ms so it can be done.

P.S. I know how to

5条回答
  •  半阙折子戏
    2021-01-03 04:24

    The best you can get out the Win32 API is one millisecond with timeBeginPeriod and timeSetEvent. Maybe your HAL can do better but that's academic, you cannot write device driver code in C#.

提交回复
热议问题