#include <ThreadHeartBeat.h>
Definition at line 334 of file ThreadHeartBeat.h.
◆ EConstants
Enumerator |
---|
InvalidThreadId | Invalid thread Id used by CheckHeartBeat
|
Definition at line 372 of file ThreadHeartBeat.h.
◆ FGameThreadHitchHeartBeatThreaded()
FGameThreadHitchHeartBeatThreaded::FGameThreadHitchHeartBeatThreaded |
( |
| ) |
|
|
private |
◆ FrameStart()
void FGameThreadHitchHeartBeatThreaded::FrameStart |
( |
bool | bSkipThisFrame = false | ) |
|
Called at the start of a frame to register the time we are looking to detect a hitch
◆ Get()
Gets the heartbeat singleton
◆ GetCurrentTime()
double FGameThreadHitchHeartBeatThreaded::GetCurrentTime |
( |
| ) |
|
◆ GetFrameStartTime()
double FGameThreadHitchHeartBeatThreaded::GetFrameStartTime |
( |
| ) |
|
◆ GetNoInit()
◆ Init()
virtual bool FGameThreadHitchHeartBeatThreaded::Init |
( |
| ) |
|
|
virtual |
Initializes the runnable object.
This method is called in the context of the thread object that aggregates this, not the thread that passes this runnable to a new thread.
- Returns
- True if initialization was successful, false otherwise
- See also
- Run, Stop, Exit
Reimplemented from FRunnable.
◆ InitSettings()
void FGameThreadHitchHeartBeatThreaded::InitSettings |
( |
| ) |
|
|
private |
◆ Restart()
void FGameThreadHitchHeartBeatThreaded::Restart |
( |
| ) |
|
|
inline |
◆ ResumeHeartBeat()
void FGameThreadHitchHeartBeatThreaded::ResumeHeartBeat |
( |
| ) |
|
Resume heartbeat hitch detection. Call only after first calling SuspendHeartBeat.
◆ Run()
Runs the runnable object.
This is where all per object thread work is done. This is only called if the initialization was successful.
- Returns
- The exit code of the runnable object
- See also
- Init, Stop, Exit
Implements FRunnable.
◆ Stop()
virtual void FGameThreadHitchHeartBeatThreaded::Stop |
( |
| ) |
|
|
virtual |
Stops the runnable object.
This is called if a thread is requested to terminate early.
- See also
- Init, Run, Exit
Reimplemented from FRunnable.
◆ SuspendHeartBeat()
void FGameThreadHitchHeartBeatThreaded::SuspendHeartBeat |
( |
| ) |
|
Suspend heartbeat hitch detection. Must call ResumeHeartBeat later to resume.
◆ ~FGameThreadHitchHeartBeatThreaded()
virtual FGameThreadHitchHeartBeatThreaded::~FGameThreadHitchHeartBeatThreaded |
( |
| ) |
|
|
privatevirtual |
◆ Clock
◆ HeartBeatCritical
◆ Singleton
◆ StopTaskCounter
◆ Thread
The documentation for this class was generated from the following file:
- C:/Users/lachl/Downloads/ArkServerAPI_NEW/ASA/AsaApi/AsaApi/Core/Public/API/UE/HAL/ThreadHeartBeat.h