編輯

共用方式為


CpuTraceSourceExtensions.UseLastBranchRecordData(ITraceSource) Method

Definition

Provides data about processor last branch record (LBR) activity during a trace.

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

Parameters

trace
ITraceSource

The trace from which to access the data.

Returns

A pending result that, after the trace is processed, provides data about processor last branch record (LBR) activity during the trace.

Remarks

Windows Performance Analyzer provides this data via the Latest Branch Records table.

Applies to