| FRunnable
|
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/HAL/ThreadHeartBeat.h |
Include |
#include "HAL/ThreadHeartBeat.h" |
class FThreadHeartBeat : public FRunnable
Thread heartbeat check class. Used by crash handling code to check for hangs.
No constructors are accessible with public or protected access.
No destructors are accessible with public or protected access.
Name | Description | ||
---|---|---|---|
|
CheckCheckpointHeartBeat ( |
Called by a supervising thread to check all checkpoints forward progress |
|
|
CheckFunctionHeartBeat ( |
Called by a supervising thread to check all function calls' being monitored health |
|
|
CheckHeartBeat ( |
Called by a supervising thread to check the threads' health |
|
|
FThreadHeart... |
Get() |
Gets the heartbeat singleton |
|
double |
GetHangDuration() |
Get hang duration threshold. |
|
GetLastHungThreadId() |
Get the Id of the last thread to trigger the hang detector. |
|
|
GetLastStuckThreadId() |
Get the Id of the last thread to pass the stuck thread time. |
|
|
FThreadHeart... |
GetNoInit() |
Gets the heartbeat singleton |
|
FOnThreadStu... |
GetOnThreadStuck() |
Get delegate for callback on stuck or unstuck thread. |
|
FOnThreadUns... |
GetOnThreadUnstuck() |
|
|
HeartBeat ( |
Called from a thread once per frame to update the heartbeat time |
|
|
IsBeating() |
Returns true/false if this thread is currently performing heartbeat monitoring |
|
|
KillHeartBeat() |
Called by a thread when it's no longer expecting to be ticked |
|
|
MonitorCheckpointEnd ( |
Called from a thread when a checkpoint has ended |
|
|
MonitorCheckpointStart ( |
Called from a thread to register a checkpoint to be monitored |
|
|
MonitorFunctionEnd() |
Called by a thread when a function has completed and no longer needs to be monitored |
|
|
MonitorFunctionStart() |
Called from a thread once on entry to a function to be monitored |
|
|
PresentFrame() |
Called from the rendering or RHI thread when the platform RHI presents a frame (supported platforms only). |
|
|
ResumeHeartBeat ( |
Resume heartbeat measuring for the current thread |
|
|
SetDurationMultiplier ( |
Sets a multiplier to the hang duration (>= 1.0). |
|
|
Start() |
Begin measuring heartbeat |
|
|
SuspendHeartBeat ( |
Suspend heartbeat measuring for the current thread if the thread has already had a heartbeat |
Name |
Description |
|
---|---|---|
|
EConstants |
Name |
Description |
---|---|
Singleton |