PROCESSOR_POWER_POLICY_INFO structure (winnt.h)
Contains information about processor C-state policy settings. This structure is part of the PROCESSOR_POWER_POLICY structure.
Syntax
typedef struct _PROCESSOR_POWER_POLICY_INFO {
DWORD TimeCheck;
DWORD DemoteLimit;
DWORD PromoteLimit;
BYTE DemotePercent;
BYTE PromotePercent;
BYTE Spare[2];
DWORD AllowDemotion : 1;
DWORD AllowPromotion : 1;
DWORD Reserved : 30;
} PROCESSOR_POWER_POLICY_INFO, *PPROCESSOR_POWER_POLICY_INFO;
Members
TimeCheck
The time that must expire before promotion or demotion is considered, in microseconds.
DemoteLimit
The minimum amount of time that must be spent in the idle loop to avoid demotion, in microseconds.
PromoteLimit
The time that must be exceeded to cause promotion to a deeper idle state, in microseconds.
DemotePercent
The value that scales the threshold at which the power policy manager decreases the performance of the processor, expressed as a percentage.
PromotePercent
The value that scales the threshold at which the power policy manager increases the performance of the processor, expressed as a percentage.
Spare[2]
Reserved.
AllowDemotion
When set, allows the kernel power policy manager to demote from the current state.
AllowPromotion
When set, allows the kernel power policy manager to promote from the current state.
Reserved
Reserved.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | winnt.h (include Windows.h) |