Bewerken

Delen via


PEP_PROCESSOR_IDLE_CONSTRAINTS structure (pep_x.h)

The PEP_PROCESSOR_IDLE_CONSTRAINTS structure specifies a set of constraints that the PEP uses to select a processor idle state.

Syntax

typedef struct _PEP_PROCESSOR_IDLE_CONSTRAINTS {
  ULONGLONG               IdleDuration;
  BOOLEAN                 Interruptible;
  PEP_PROCESSOR_IDLE_TYPE Type;
} PEP_PROCESSOR_IDLE_CONSTRAINTS, *PPEP_PROCESSOR_IDLE_CONSTRAINTS;

Members

IdleDuration

The length of time, in 100-nanosecond units, for which the processor is expected to stay in the selected idle state. This is the operating system's current best estimate and might vary over time without further notification.

Interruptible

Whether the processor must be able to respond to interrupts in the selected idle state. A value of TRUE indicates that the processor must be interruptible in this idle state. A value of FALSE indicates that the processor is not required to be interruptible in this idle state.

Type

A PEP_PROCESSOR_IDLE_TYPE enumeration value that indicates whether these idle constraints apply to just the current processor (Type = PepIdleTypeProcessor) or to all processors in the hardware platform (Type = PepIdleTypePlatform).

Remarks

The Constraints member of the PEP_PPM_IDLE_SELECT structure is a pointer to a PEP_PROCESSOR_IDLE_CONSTRAINTS structure.

Requirements

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

See also

PEP_PPM_IDLE_SELECT

PEP_PROCESSOR_IDLE_TYPE