編輯

共用方式為


PowerTraceSourceExtensions.UseCpuIdleStates(ITraceSource) Method

Definition

Provides data from a trace about CPU C-states.

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

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 CPU C-states.

Remarks

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

Applies to