UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FContextSwitchStats Struct Reference

#include <GenericPlatformMisc.h>

Public Attributes

uint64 VoluntaryContextSwitches = 0
 
uint64 InvoluntaryContextSwitches = 0
 
uint64 TotalContextSwitches = 0
 

Detailed Description

Different types of Context Switch stats

Member Data Documentation

◆ InvoluntaryContextSwitches

uint64 FContextSwitchStats::InvoluntaryContextSwitches = 0

Context switches that were involuntary (e.g. quantum reached/exceeded - platform dependent)

◆ TotalContextSwitches

uint64 FContextSwitchStats::TotalContextSwitches = 0

All context switch types

◆ VoluntaryContextSwitches

uint64 FContextSwitchStats::VoluntaryContextSwitches = 0

Context switches that occurred voluntarily (e.g. yield - platform dependent)


The documentation for this struct was generated from the following file: