Navigation
API > API/Runtime > API/Runtime/Core
This is thread-private information about the thread idle stats, which we always collect, even in final builds
| Name | FThreadIdleStats |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Stats/ThreadIdleStats.h |
| Include Path | #include "Stats/ThreadIdleStats.h" |
Syntax
class FThreadIdleStats : public TThreadSingleton< FThreadIdleStats >
Inheritance Hierarchy
- FTlsAutoCleanup → TThreadSingleton → FThreadIdleStats
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FThreadIdleStats() |
Stats/ThreadIdleStats.h |
Structs
| Name | Remarks |
|---|---|
| FScopeIdle | |
| FScopeNonCriticalPath |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bInIdleScope | bool | Stats/ThreadIdleStats.h | ||
| IsCriticalPathCounter | int | Stats/ThreadIdleStats.h | ||
| Waits | uint32 | Total cycles we waited for sleep or event. | Stats/ThreadIdleStats.h | |
| WaitsCriticalPath | uint32 | Total cycles we waited for sleep or event on the critical path. | Stats/ThreadIdleStats.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsCriticalPath() |
Stats/ThreadIdleStats.h | ||
void Reset() |
Stats/ThreadIdleStats.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void BeginCriticalPath() |
Stats/ThreadIdleStats.h | ||
static void EndCriticalPath() |
Stats/ThreadIdleStats.h |