Skip to content

Latest commit

 

History

History
113 lines (82 loc) · 5.1 KB

ns-pep_x-_pep_query_component_perf_set.md

File metadata and controls

113 lines (82 loc) · 5.1 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NS:pep_x._PEP_QUERY_COMPONENT_PERF_SET
_PEP_QUERY_COMPONENT_PERF_SET (pep_x.h)
Learn how the PEP_QUERY_COMPONENT_PERF_SET structure contains query information about a set of performance state values (P-state set) for a component.
kernel\pep_query_component_perf_set.htm
kernel
08/09/2022
PEP_QUERY_COMPONENT_PERF_SET structure
*PPEP_QUERY_COMPONENT_PERF_SET, PEP_QUERY_COMPONENT_PERF_SET, PEP_QUERY_COMPONENT_PERF_SET structure [Kernel-Mode Driver Architecture], PPEP_QUERY_COMPONENT_PERF_SET, PPEP_QUERY_COMPONENT_PERF_SET structure pointer [Kernel-Mode Driver Architecture], _PEP_QUERY_COMPONENT_PERF_SET, kernel.pep_query_component_perf_set, pepfx/PEP_QUERY_COMPONENT_PERF_SET, pepfx/PPEP_QUERY_COMPONENT_PERF_SET
pep_x.h
Pep_x.h
Windows
Supported starting with Windows 10.
Windows
PEP_QUERY_COMPONENT_PERF_SET, *PPEP_QUERY_COMPONENT_PERF_SET
_PEP_QUERY_COMPONENT_PERF_SET
pep_x/_PEP_QUERY_COMPONENT_PERF_SET
PPEP_QUERY_COMPONENT_PERF_SET
pep_x/PPEP_QUERY_COMPONENT_PERF_SET
PEP_QUERY_COMPONENT_PERF_SET
pep_x/PEP_QUERY_COMPONENT_PERF_SET
APIRef
kbSyntax
HeaderDef
pepfx.h
_PEP_QUERY_COMPONENT_PERF_SET
PPEP_QUERY_COMPONENT_PERF_SET
PEP_QUERY_COMPONENT_PERF_SET

_PEP_QUERY_COMPONENT_PERF_SET structure (pep_x.h)

-description

The PEP_QUERY_COMPONENT_PERF_SET structure contains query information about a set of performance state values (P-state set) for a component.

-struct-fields

-field DeviceHandle

A PEPHANDLE value that identifies the device. The PEP supplied this handle in response to a previous PEP_DPM_REGISTER_DEVICE notification.

-field Component

The index that identifies the component. This member is an index into the Components array in the PEP_DEVICE_REGISTER_V2 structure that the PEP previously supplied in response to the PEP_DPM_REGISTER_DEVICE notification for this device. If the Components array contains N elements, component indexes range from 0 to N–1.

-field Set

The index that identifies this P-state set. If this component has M P-state sets, P-state set indexes range from 0 to M–1. The PEP previously specified the number of P-state sets in response to a PEP_DPM_QUERY_COMPONENT_PERF_CAPABILITIES notification.

-field Flags

A set of input flags. No flag bits are currently defined for this member, which is always zero.

-field Unit

A PEP_PERF_STATE_UNIT enumeration value that indicates whether the values for this P-state set are expressed in hertz (frequency units) or bits per second (bandwidth units).

-field Type

A PEP_PERF_STATE_TYPE enumeration value that indicates whether the performance values for this P-state set are expressed as a list of discrete values or as a continuous range of values.

-field Discrete

Use this structure if Type == PepPerfStateTypeDiscrete.

-field Discrete.Count

The number of discrete performance values in this P-state set.

-field Range

Use this structure if Type == PepPerfStateTypeRange.

-field Range.Minimum

The minimum value in the range of performance values for this P-state set. This value is expressed in the measurement units indicated by the Unit member.

-field Range.Maximum

The maximum value in the range of performance values for this P-state set. This value is expressed in the measurement units indicated by the Unit member.

-remarks

The unnamed union represents either the number of discrete performance values in this P-state set, or the range of values in this P-state set.

This structure is used by the PEP_DPM_QUERY_COMPONENT_PERF_SET notification. The DeviceHandle, Component, Set, and Flags members contain input values that are supplied by the Windows power management framework (PoFx) when this notification is sent. The Discrete member or Range member contains an output value that the PEP writes to the structure in response to the notification.

-see-also