Bewerken

Delen via


PO_FX_COMPONENT_PERF_INFO structure (wdm.h)

The PO_FX_COMPONENT_PERF_INFO structure describes all the sets of performance states for a single component within a device.

Syntax

typedef struct _PO_FX_COMPONENT_PERF_INFO {
  ULONG                    PerfStateSetsCount;
  PO_FX_COMPONENT_PERF_SET PerfStateSets[ANYSIZE_ARRAY];
} PO_FX_COMPONENT_PERF_INFO, *PPO_FX_COMPONENT_PERF_INFO;

Members

PerfStateSetsCount

The number of elements in the array PerfStateSets array.

PerfStateSets[ANYSIZE_ARRAY]

This member is the first element in an array of one or more PO_FX_COMPONENT_PERF_SET elements. Each PO_FX_COMPONENT_PERF_SET represents one set of supported performance states for a component. If the array contains more than one element, the additional elements immediately follow the first element.

Remarks

When a device driver calls the PoFxRegisterComponentPerfStates routine to register a component for performance state support with the power management framework (PoFx), the driver can supply a PO_FX_COMPONENT_PERF_INFO structure that describes the sets of the performance states supported by the component. The PerfStateSets member of the PO_FX_COMPONENT_PERF_INFO structure contains an array of PO_FX_COMPONENT_PERF_SET structures that represent the supported performance states.

Most drivers are expected to define a single set of performance states per component. For example, a driver might define one set of performance states to control the clock frequency for a component. However, some drivers may need to define more than one performance state set to control multiple dimensions of performance states for a component. For example, a driver might define two sets of performance states to control the clock frequency and bus bandwidth.

Requirements

Requirement Value
Minimum supported client Supported starting with Windows 10.
Header wdm.h (include Wudfwdm.h)

See also

Component-Level Performance State Management

PO_FX_COMPONENT_PERF_SET

PoFxRegisterComponentPerfStates