Navigation
API > API/Runtime > API/Runtime/Core
Different types of Context Switch stats
| Name | FContextSwitchStats |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMisc.h |
| Include Path | #include "GenericPlatform/GenericPlatformMisc.h" |
Syntax
struct FContextSwitchStats
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| InvoluntaryContextSwitches | uint64 | Context switches that were involuntary (e.g. quantum reached/exceeded - platform dependent) | GenericPlatform/GenericPlatformMisc.h | |
| TotalContextSwitches | uint64 | All context switch types | GenericPlatform/GenericPlatformMisc.h | |
| VoluntaryContextSwitches | uint64 | Context switches that occurred voluntarily (e.g. yield - platform dependent) | GenericPlatform/GenericPlatformMisc.h |