Edit

Share via


ContextSwitchEvent.CreateLegacyIdleSwitchOut Method

Definition

Overloads

CreateLegacyIdleSwitchOut(TraceTimestamp, Int32, Int32, KernelWaitReason, Boolean, ThreadState, Int32, Int64, Int32, Int32, Int32, TimeSpan, Int32)
CreateLegacyIdleSwitchOut(TraceTimestamp, Int32, Int32, KernelWaitReason, Boolean, Boolean, ThreadState, Int32, Int64, Int32, Int32, Int32, TimeSpan, Boolean, Byte)

CreateLegacyIdleSwitchOut(TraceTimestamp, Int32, Int32, KernelWaitReason, Boolean, ThreadState, Int32, Int64, Int32, Int32, Int32, TimeSpan, Int32)

public static Microsoft.Windows.EventTracing.Cpu.ContextSwitchEvent CreateLegacyIdleSwitchOut (Microsoft.Windows.EventTracing.TraceTimestamp timestamp, int processor, int switchOutThreadPriority, Microsoft.Windows.EventTracing.Cpu.KernelWaitReason switchOutThreadWaitReason, bool switchOutThreadIsUserMode, Microsoft.Windows.EventTracing.Cpu.ThreadState switchOutThreadState, int switchOutThreadIdealProcessor, long switchOutThreadRemainingQuantum, int switchInThreadId, int switchInThreadPriority, int switchInThreadPriorityDecrement, TimeSpan switchInThreadWaitTime, int previousCState);
static member CreateLegacyIdleSwitchOut : Microsoft.Windows.EventTracing.TraceTimestamp * int * int * Microsoft.Windows.EventTracing.Cpu.KernelWaitReason * bool * Microsoft.Windows.EventTracing.Cpu.ThreadState * int * int64 * int * int * int * TimeSpan * int -> Microsoft.Windows.EventTracing.Cpu.ContextSwitchEvent
Public Shared Function CreateLegacyIdleSwitchOut (timestamp As TraceTimestamp, processor As Integer, switchOutThreadPriority As Integer, switchOutThreadWaitReason As KernelWaitReason, switchOutThreadIsUserMode As Boolean, switchOutThreadState As ThreadState, switchOutThreadIdealProcessor As Integer, switchOutThreadRemainingQuantum As Long, switchInThreadId As Integer, switchInThreadPriority As Integer, switchInThreadPriorityDecrement As Integer, switchInThreadWaitTime As TimeSpan, previousCState As Integer) As ContextSwitchEvent

Parameters

timestamp
TraceTimestamp
processor
Int32
switchOutThreadPriority
Int32
switchOutThreadWaitReason
KernelWaitReason
switchOutThreadIsUserMode
Boolean
switchOutThreadState
ThreadState
switchOutThreadIdealProcessor
Int32
switchOutThreadRemainingQuantum
Int64
switchInThreadId
Int32
switchInThreadPriority
Int32
switchInThreadPriorityDecrement
Int32
switchInThreadWaitTime
TimeSpan
previousCState
Int32

Returns

Applies to

CreateLegacyIdleSwitchOut(TraceTimestamp, Int32, Int32, KernelWaitReason, Boolean, Boolean, ThreadState, Int32, Int64, Int32, Int32, Int32, TimeSpan, Boolean, Byte)

public static Microsoft.Windows.EventTracing.Cpu.ContextSwitchEvent CreateLegacyIdleSwitchOut (Microsoft.Windows.EventTracing.TraceTimestamp timestamp, int processor, int switchOutThreadPriority, Microsoft.Windows.EventTracing.Cpu.KernelWaitReason switchOutThreadWaitReason, bool switchOutThreadIsUserMode, bool switchOutThreadIsHighQualityOfService, Microsoft.Windows.EventTracing.Cpu.ThreadState switchOutThreadState, int switchOutThreadIdealProcessor, long switchOutThreadRemainingQuantum, int switchInThreadId, int switchInThreadPriority, int switchInThreadPriorityDecrement, TimeSpan switchInThreadWaitTime, bool switchInThreadIsHighQualityOfService, byte previousCState);
static member CreateLegacyIdleSwitchOut : Microsoft.Windows.EventTracing.TraceTimestamp * int * int * Microsoft.Windows.EventTracing.Cpu.KernelWaitReason * bool * bool * Microsoft.Windows.EventTracing.Cpu.ThreadState * int * int64 * int * int * int * TimeSpan * bool * byte -> Microsoft.Windows.EventTracing.Cpu.ContextSwitchEvent
Public Shared Function CreateLegacyIdleSwitchOut (timestamp As TraceTimestamp, processor As Integer, switchOutThreadPriority As Integer, switchOutThreadWaitReason As KernelWaitReason, switchOutThreadIsUserMode As Boolean, switchOutThreadIsHighQualityOfService As Boolean, switchOutThreadState As ThreadState, switchOutThreadIdealProcessor As Integer, switchOutThreadRemainingQuantum As Long, switchInThreadId As Integer, switchInThreadPriority As Integer, switchInThreadPriorityDecrement As Integer, switchInThreadWaitTime As TimeSpan, switchInThreadIsHighQualityOfService As Boolean, previousCState As Byte) As ContextSwitchEvent

Parameters

timestamp
TraceTimestamp
processor
Int32
switchOutThreadPriority
Int32
switchOutThreadWaitReason
KernelWaitReason
switchOutThreadIsUserMode
Boolean
switchOutThreadIsHighQualityOfService
Boolean
switchOutThreadState
ThreadState
switchOutThreadIdealProcessor
Int32
switchOutThreadRemainingQuantum
Int64
switchInThreadId
Int32
switchInThreadPriority
Int32
switchInThreadPriorityDecrement
Int32
switchInThreadWaitTime
TimeSpan
switchInThreadIsHighQualityOfService
Boolean
previousCState
Byte

Returns

Applies to