CompactContextSwitchEvent.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Create(TraceTimestamp, Int32, Int32, Int32, KernelWaitReason, TimeSpan) | |
Create(TraceTimestamp, Int32, Int32, Int32, ThreadState, TimeSpan) |
Create(TraceTimestamp, Int32, Int32, Int32, KernelWaitReason, TimeSpan)
public static Microsoft.Windows.EventTracing.Cpu.CompactContextSwitchEvent Create (Microsoft.Windows.EventTracing.TraceTimestamp timestamp, int processor, int switchOutThreadId, int switchOutThreadPriority, Microsoft.Windows.EventTracing.Cpu.KernelWaitReason switchOutThreadWaitReason, TimeSpan switchInThreadWaitTime);
static member Create : Microsoft.Windows.EventTracing.TraceTimestamp * int * int * int * Microsoft.Windows.EventTracing.Cpu.KernelWaitReason * TimeSpan -> Microsoft.Windows.EventTracing.Cpu.CompactContextSwitchEvent
Public Shared Function Create (timestamp As TraceTimestamp, processor As Integer, switchOutThreadId As Integer, switchOutThreadPriority As Integer, switchOutThreadWaitReason As KernelWaitReason, switchInThreadWaitTime As TimeSpan) As CompactContextSwitchEvent
Parameters
- timestamp
- TraceTimestamp
- processor
- Int32
- switchOutThreadId
- Int32
- switchOutThreadPriority
- Int32
- switchOutThreadWaitReason
- KernelWaitReason
- switchInThreadWaitTime
- TimeSpan
Returns
Applies to
Create(TraceTimestamp, Int32, Int32, Int32, ThreadState, TimeSpan)
public static Microsoft.Windows.EventTracing.Cpu.CompactContextSwitchEvent Create (Microsoft.Windows.EventTracing.TraceTimestamp timestamp, int processor, int switchOutThreadId, int switchOutThreadPriority, Microsoft.Windows.EventTracing.Cpu.ThreadState switchOutThreadState, TimeSpan switchInThreadWaitTime);
static member Create : Microsoft.Windows.EventTracing.TraceTimestamp * int * int * int * Microsoft.Windows.EventTracing.Cpu.ThreadState * TimeSpan -> Microsoft.Windows.EventTracing.Cpu.CompactContextSwitchEvent
Public Shared Function Create (timestamp As TraceTimestamp, processor As Integer, switchOutThreadId As Integer, switchOutThreadPriority As Integer, switchOutThreadState As ThreadState, switchInThreadWaitTime As TimeSpan) As CompactContextSwitchEvent
Parameters
- timestamp
- TraceTimestamp
- processor
- Int32
- switchOutThreadId
- Int32
- switchOutThreadPriority
- Int32
- switchOutThreadState
- ThreadState
- switchInThreadWaitTime
- TimeSpan