Open vtjnash opened 1 year ago
Our profiler relies upon timeBeginPeriod, which was replaced by CREATE_WAITABLE_TIMER_HIGH_RESOLUTION in July 2021 for processes that might call CreateWindow: https://github.com/MicrosoftDocs/sdk-api/commit/1a7909a936dbc06faa7572ed9492968bed817649
This might need some investigation or replacement for Profiling to continue to work in new versions of Windows https://randomascii.wordpress.com/2020/10/04/windows-timer-resolution-the-great-rule-change/ https://github.com/randomascii/blogstuff/blob/main/timer_interval/waitable_timer.cpp
xref:
It looks like they are all using CreateWaitableTimerExW and not calling timeBeginPeriod.
CreateWaitableTimerExW
timeBeginPeriod
Our profiler relies upon timeBeginPeriod, which was replaced by CREATE_WAITABLE_TIMER_HIGH_RESOLUTION in July 2021 for processes that might call CreateWindow: https://github.com/MicrosoftDocs/sdk-api/commit/1a7909a936dbc06faa7572ed9492968bed817649
This might need some investigation or replacement for Profiling to continue to work in new versions of Windows https://randomascii.wordpress.com/2020/10/04/windows-timer-resolution-the-great-rule-change/ https://github.com/randomascii/blogstuff/blob/main/timer_interval/waitable_timer.cpp