ContextSwitchEvent Struct
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.
Represents a context switch.
public struct ContextSwitchEvent
type ContextSwitchEvent = struct
Public Structure ContextSwitchEvent
- Inheritance
-
ContextSwitchEvent
Properties
PreviousCState |
Gets the last C-State the processor went into when it was in the idle loop. |
Processor |
Gets the index of the processor on which the context switch is occurring. |
SwitchInThreadId |
Gets the ID of the thread currently planned to be switched in. |
SwitchInThreadPriority |
Gets the priority of the thread currently planned to be switched in. |
SwitchInThreadPriorityDecrement | |
SwitchInThreadQualityOfService |
Gets the quality of service level for the thread currently planned to be switched in. |
SwitchInThreadQuantum |
Gets the quantum for the thread currently planned to be switched in. |
SwitchInThreadWaitTime |
Gets the wait time for the thread currently planned to be switched in. |
SwitchOutThreadId |
Gets the ID of the thread switching out. |
SwitchOutThreadIdealProcessor |
Gets the index of the preferred processor for the thread switching out. |
SwitchOutThreadIsUserMode |
Gets a value indicating whether the thread switching out is a user mode thread. |
SwitchOutThreadPriority |
Gets the priority of the thread switching out. |
SwitchOutThreadQualityOfService |
Gets the quality of service level for the thread switching out. |
SwitchOutThreadQuantum |
Gets the quantum for the thread switching out. |
SwitchOutThreadRank |
Gets the rank for the thread switching out. |
SwitchOutThreadRemainingQuantum |
Gets the remaining quantum for the thread switching out. |
SwitchOutThreadState |
Gets the state of the thread switching out. |
SwitchOutThreadWaitReason |
Gets the reason the thread switching out is in the Waiting state. |
Timestamp |
Gets the timestamp at which the syscall enter event was logged in the trace. |