/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMisc.h
Different types of Context Switch stats
struct FContextSwitchStats
uint64
InvoluntaryContextSwitches
Context switches that were involuntary (e.g. quantum reached/exceeded - platform dependent)
uint64
TotalContextSwitches
All context switch types
uint64
VoluntaryContextSwitches
Context switches that occurred voluntarily (e.g. yield - platform dependent)