PO_FX_PERF_STATE structure (wdm.h)

The PO_FX_PERF_STATE structure represents a performance state for a single component within a device.

Syntax

typedef struct _PO_FX_PERF_STATE {
  ULONGLONG Value;
  PVOID     Context;
} PO_FX_PERF_STATE, *PPO_FX_PERF_STATE;

Members

Value

The value of this performance state. The units are specified by the Unit member of the PO_FX_COMPONENT_PERF_SET that contains this performance state. For example, if Value is 100000000 and the Unit member of the PO_FX_COMPONENT_PERF_SET is PoFxPerfStateUnitFrequency, this performance state represents 100 MHz.

Context

A pointer to additional context for the performance state that cannot be presented by the Value member. This data can be shared between the driver and the platform extension plug-in (PEP).

Using the Context member can hinder the visualization of performance states in Windows Performance Analyzer.

Remarks

The States member of the PO_FX_COMPONENT_PERF_SET structure contains an array of PO_FX_PERF_STATE elements.

Requirements

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

See also

Device Performance State Management

PO_FX_COMPONENT_PERF_SET

PO_FX_PERF_STATE_UNIT

PoFxRegisterComponentPerfStates