Edit

Share via


LastBranchRecordEvent Constructor

Definition

Initializes a new instance of the LastBranchRecordEvent structure.

public LastBranchRecordEvent (Microsoft.Windows.EventTracing.ITraceTimestampContext timestampContext, Microsoft.Windows.EventTracing.TraceTimestampValue timestamp, Microsoft.Windows.EventTracing.TraceTimestampValue traceTimestamp, int processId, int threadId, Microsoft.Windows.EventTracing.Cpu.LastBranchRecordJumpReadOnlySpan jumps);
new Microsoft.Windows.EventTracing.Cpu.LastBranchRecordEvent : Microsoft.Windows.EventTracing.ITraceTimestampContext * Microsoft.Windows.EventTracing.TraceTimestampValue * Microsoft.Windows.EventTracing.TraceTimestampValue * int * int * Microsoft.Windows.EventTracing.Cpu.LastBranchRecordJumpReadOnlySpan -> Microsoft.Windows.EventTracing.Cpu.LastBranchRecordEvent
Public Sub New (timestampContext As ITraceTimestampContext, timestamp As TraceTimestampValue, traceTimestamp As TraceTimestampValue, processId As Integer, threadId As Integer, jumps As LastBranchRecordJumpReadOnlySpan)

Parameters

timestampContext
ITraceTimestampContext

The timestamp context for the trace.

timestamp
TraceTimestampValue

The value of the timestamp at which the LBR data was originally captured.

traceTimestamp
TraceTimestampValue

The value of the timestamp at which the LBR event was logged in the trace.

processId
Int32

The ID of the process executing when the snapshot was captured.

threadId
Int32

The ID of the thread executing when the snapshot was captured.

jumps
LastBranchRecordJumpReadOnlySpan

The jumps captured by the event.

Applies to