QueryPerformanceCounter and overflows

前端 未结 5 1524
北恋
北恋 2021-02-04 21:03

I\'m using QueryPerformanceCounter to do some timing in my application. However, after running it for a few days the application seems to stop functioning properly. If I simply

5条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-04 21:15

    Based on your comment, you probably should be using Waitable Timers instead.

    See the following examples:

    • Using Waitable Timer Objects
    • Using Waitable Timers with an Asynchronous Procedure Call

提交回复
热议问题