PEP_PERF_STATE structure (pepfx.h)
The PEP_PERF_STATE structure describes a performance state (P-state) in a P-state set in which the P-states are specified as a list of one or more discrete values.
Syntax
typedef struct _PEP_PERF_STATE {
ULONGLONG Value;
PVOID Context;
} PEP_PERF_STATE, *PPEP_PERF_STATE;
Members
Value
The discrete value represented by this P-state. For more information, see Remarks.
Context
A pointer to PEP-defined context data. The PEP uses this context to contain additional information about the discrete performance level that cannot be expressed in the Value member. This context is opaque to the Windows power management framework (PoFx). The Context member is optional and can be set to NULL.
Remarks
The Discrete.States member of the PEP_COMPONENT_PERF_SET structure is a pointer to an array of PEP_PERF_STATE structures. The Unit member of the PEP_COMPONENT_PERF_SET structure specifies the units in which the Value member in each array element is expressed. Component performance can be expressed in hertz (frequency) or in bits per second (bandwidth). For example, if Value = 100,000,000 and Unit = PepPerfStateUnitFrequency, this performance state represents a frequency of 100 megahertz.
Device drivers use the PO_FX_PERF_STATE structure, which is similar to the PEP_PERF_STATE structure.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Supported starting with Windows 10. |
Header | pepfx.h (include Pep_x.h) |