POWER_THROTTLING_PROCESS_IGNORE_TIMER_RESOLUTION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTPSAPI_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)

/**
 * The POWER_THROTTLING_PROCESS_IGNORE_TIMER_RESOLUTION flag controls whether calls made by the
 * process to adjust the system timer resolution (such as timeBeginPeriod or NtSetTimerResolution)
 * are honored. When this flag is enabled, such requests are ignored.
 *
 * This behavior is part of Windows power-throttling mechanism introduced in Windows 11 and is
 * enabled by default for all processes. Changes to the system timer resolution can alter the
 * behavior of system timers, wait timeouts, and sleep durations, often causing unintended
 * side effects in applications. Higher-precision timer resolutions also negatively impact
 * battery life and overall system performance.
 *
 * \note Enabled by default since Windows 11. This may cause performance issues for legacy
 *       applications and games that rely on modifying the system tick resolution.
 */
#define POWER_THROTTLING_PROCESS_IGNORE_TIMER_RESOLUTION 0x4 // since WIN11

#endif
#endif

View code on GitHub

NtDoc

No description available.