Modifier

Partager via


PowerTraceSourceExtensions.UseTargetCpuIdleStates(ITraceSource) Method

Definition

Provides data from a trace about target CPU C-states.

public static Microsoft.Windows.EventTracing.IPendingResult<Microsoft.Windows.EventTracing.Power.ITargetCpuIdleStateDataSource> UseTargetCpuIdleStates (this Microsoft.Windows.EventTracing.ITraceSource trace);
static member UseTargetCpuIdleStates : Microsoft.Windows.EventTracing.ITraceSource -> Microsoft.Windows.EventTracing.IPendingResult<Microsoft.Windows.EventTracing.Power.ITargetCpuIdleStateDataSource>
<Extension()>
Public Function UseTargetCpuIdleStates (trace As ITraceSource) As IPendingResult(Of ITargetCpuIdleStateDataSource)

Parameters

trace
ITraceSource

The trace from which to access the data.

Returns

A pending result that, after the trace is processed, provides data from the trace about target CPU C-states.

Remarks

Target CPU Idle states are decided by the operating system software, while actual CPU Idle states are determined by hardware, and the two values may not always match.

Windows Performance Analyzer provides this data via the CPU Idle States table (when Type is Target).

Applies to