Modifier

Partager via


CpuTraceSourceExtensions.UseCpuSchedulingData(ITraceSource) Method

Definition

Provides data from a trace about CPU thread scheduling, including context switches and ready thread events.

public static Microsoft.Windows.EventTracing.IPendingResult<Microsoft.Windows.EventTracing.Cpu.ICpuSchedulingDataSource> UseCpuSchedulingData (this Microsoft.Windows.EventTracing.ITraceSource trace);
static member UseCpuSchedulingData : Microsoft.Windows.EventTracing.ITraceSource -> Microsoft.Windows.EventTracing.IPendingResult<Microsoft.Windows.EventTracing.Cpu.ICpuSchedulingDataSource>
<Extension()>
Public Function UseCpuSchedulingData (trace As ITraceSource) As IPendingResult(Of ICpuSchedulingDataSource)

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 thread scheduling, including context switches and ready thread events.

Remarks

Windows Performance Analyzer provides this data via the CPU Usage (Precise) table.

Applies to