#include <ThreadHeartBeat.h>
◆ EConstants
| Enumerator |
|---|
| InvalidThreadId | Invalid thread Id used by CheckHeartBeat
|
◆ 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()
| bool FGameThreadHitchHeartBeatThreaded::Init |
( |
void |
| ) |
|
|
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 |
( |
| ) |
|
Update settings from command line or ini
◆ IsStartedSuspended()
| bool FGameThreadHitchHeartBeatThreaded::IsStartedSuspended |
( |
| ) |
|
Check if started suspended.
◆ PostFork()
| void FGameThreadHitchHeartBeatThreaded::PostFork |
( |
| ) |
|
|
inline |
◆ Restart()
| void FGameThreadHitchHeartBeatThreaded::Restart |
( |
| ) |
|
|
inline |
◆ ResumeHeartBeat()
| void FGameThreadHitchHeartBeatThreaded::ResumeHeartBeat |
( |
| ) |
|
Resume heartbeat hitch detection. Call only after first calling SuspendHeartBeat.
◆ Run()
| uint32 FGameThreadHitchHeartBeatThreaded::Run |
( |
| ) |
|
|
virtual |
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()
| void FGameThreadHitchHeartBeatThreaded::Stop |
( |
void |
| ) |
|
|
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.
The documentation for this class was generated from the following files: