Edit

Share via


ContextSwitchEvent.CreateIdleSwitchOut Method

Definition

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

Parameters

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

Returns

Applies to