PEP_COMPONENT_PERF_STATE_REQUEST structure (pepfx.h)
The PEP_COMPONENT_PERF_STATE_REQUEST structure specifies a performance state (P-state) set and a new performance level to assign to this set.
Syntax
typedef struct _PEP_COMPONENT_PERF_STATE_REQUEST {
ULONG Set;
union {
ULONG StateIndex;
ULONGLONG StateValue;
};
} PEP_COMPONENT_PERF_STATE_REQUEST, *PPEP_COMPONENT_PERF_STATE_REQUEST;
Members
Set
The index of the P-state set to which to assign the new performance level. If N is the number of P-state sets specified for this component, P-state set indexes range from 0 to N–1. The PEP previously specified the number of P-state sets in response to a PEP_DPM_QUERY_COMPONENT_PERF_CAPABILITIES notification.
StateIndex
The index of the discrete value to use as the new performance level. This member is used if the performance level for this P-state set is expressed as an index into an array of discrete values. The PEP previously supplied this array of discrete values in response to a PEP_DPM_QUERY_COMPONENT_PERF_STATES notification.
StateValue
The value to use as the new performance level. This member is used if the performance level for this P-state set is expressed as a value in a continuous range of possible values. The PEP previously supplied this range in response to a PEP_DPM_QUERY_COMPONENT_PERF_SET notification.
Remarks
The unnamed union contains a value that indicates the new performance level that has been selected for this P-state set.
The PerfRequests member of the PEP_REQUEST_COMPONENT_PERF_STATE structure is a pointer to an array of PEP_COMPONENT_PERF_STATE_REQUEST structures.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Supported starting with Windows 10. |
Header | pepfx.h (include Pep_x.h) |