編輯

共用方式為


CpuTraceSourceExtensions.UseReadyThreadData Method

Definition

Overloads

UseReadyThreadData(ITraceSource)

Provides data from a trace about ready thread events.

UseReadyThreadData(ITraceSource, Boolean)

Provides data from a trace about ready thread events.

UseReadyThreadData(ITraceSource)

Provides data from a trace about ready thread events.

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

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 ready thread events.

Remarks

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

Applies to

UseReadyThreadData(ITraceSource, Boolean)

Provides data from a trace about ready thread events.

public static Microsoft.Windows.EventTracing.IPendingResult<Microsoft.Windows.EventTracing.Cpu.IReadyThreadDataSource> UseReadyThreadData (this Microsoft.Windows.EventTracing.ITraceSource trace, bool useLegacyImplementation = false);
static member UseReadyThreadData : Microsoft.Windows.EventTracing.ITraceSource * bool -> Microsoft.Windows.EventTracing.IPendingResult<Microsoft.Windows.EventTracing.Cpu.IReadyThreadDataSource>
<Extension()>
Public Function UseReadyThreadData (trace As ITraceSource, Optional useLegacyImplementation As Boolean = false) As IPendingResult(Of IReadyThreadDataSource)

Parameters

trace
ITraceSource

The trace from which to access the data.

useLegacyImplementation
Boolean

Whether to use a legacy implementation to retrieve this data.

Returns

A pending result that, after the trace is processed, provides data from the trace about ready thread events.

Remarks

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

Applies to