PEP_PPM_PLATFORM_STATE_RESIDENCIES structure (pepfx.h)

The PEP_PPM_PLATFORM_STATE_RESIDENCIES structure contains the accumulated residency times and transition counts for the idle states that are supported by the hardware platform.

Syntax

typedef struct _PEP_PPM_PLATFORM_STATE_RESIDENCIES {
  [in] ULONG                             Count;
  [in] PPEP_PPM_PLATFORM_STATE_RESIDENCY States;
} PEP_PPM_PLATFORM_STATE_RESIDENCIES, *PPEP_PPM_PLATFORM_STATE_RESIDENCIES;

Members

[in] Count

The number of elements in the array pointed to by the States member. The number of array elements equals the number of platform idle states that the PEP previously provided in response to a PEP_NOTIFY_PPM_QUERY_PLATFORM_STATES notification.

[in] States

A pointer to an output buffer to which the PEP writes an array of PEP_PPM_PLATFORM_STATE_RESIDENCY structures. Each structure contains the accumulated residency and transition count information for a particular platform idle state. This buffer is guaranteed to be large enough to contain the number of array elements specified by the Count member. Each idle state is identified by its array index. If the array contains N elements, idle state indexes range from 0 to N-1.

Remarks

This structure is used by the PEP_NOTIFY_PPM_QUERY_PLATFORM_STATE_RESIDENCIES notification. Both members of the structure contain input values that the Windows power management framework (PoFx) supplies when this notification is sent to the PEP. PoFx allocates the output buffer pointed to by the States member, and the PEP writes to this buffer.

Requirements

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

See also

PEP_NOTIFY_PPM_QUERY_PLATFORM_STATES

PEP_NOTIFY_PPM_QUERY_PLATFORM_STATE_RESIDENCIES

PEP_PPM_PLATFORM_STATE_RESIDENCY