![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ThreadHeartBeat.h>
Inheritance diagram for FThreadHeartBeat:Public Types | |
| enum | EConstants { InvalidThreadId = (uint32)-1 , PresentThreadId = (uint32)-2 } |
Static Public Member Functions | |
| static CORE_API FThreadHeartBeat & | Get () |
| static CORE_API FThreadHeartBeat * | GetNoInit () |
Thread heartbeat check class. Used by crash handling code to check for hangs.
Called by a supervising thread to check all function calls' being monitored health
Called by a supervising thread to check the threads' health
|
static |
Gets the heartbeat singleton
|
inline |
|
inline |
|
inline |
|
static |
|
inline |
|
inline |
|
inline |
| void FThreadHeartBeat::HeartBeat | ( | ) |
| void FThreadHeartBeat::InitSettings | ( | ) |
Update settings from command line or ini
| bool FThreadHeartBeat::IsBeating | ( | ) |
Returns true/false if this thread is currently performing heartbeat monitoring
| void FThreadHeartBeat::KillHeartBeat | ( | ) |
Called by a thread when it's no longer expecting to be ticked
| void FThreadHeartBeat::MonitorFunctionEnd | ( | ) |
Called by a thread when a function has completed and no longer needs to be monitored
| void FThreadHeartBeat::MonitorFunctionStart | ( | ) |
Called from a thread once on entry to a function to be monitored
| void FThreadHeartBeat::PresentFrame | ( | ) |
Resume heartbeat measuring for the current thread
| bAllThreads | If true, resumes heartbeat for all threads, not only the current one |
|
virtual |
Sets a multiplier to the hang duration (>= 1.0). Can be used to extend the duration during loading screens etc.
| void FThreadHeartBeat::Start | ( | ) |
Begin measuring heartbeat
Suspend heartbeat measuring for the current thread if the thread has already had a heartbeat
| bAllThreads | If true, suspends heartbeat for all threads, not only the current one |
| FThreadHeartBeat::UE_DEPRECATED | ( | 5. | 7, |
| "HeartBeat(bool bReadConfig) is | deprecated, | ||
| please use HeartBeat() instead." | |||
| ) |
Called from a thread once per frame to update the heartbeat time