Navigation
API > API/Runtime > API/Runtime/Core
Enables named events when profiling. Increments/decrements GCycleStatsShouldEmitNamedEvents based on bIsProfiling. Functionality is controlled by stats.AutoEnableNamedEventsWhenProfiling.
| Name | FAutoNamedEventsToggler |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/CoreMisc.h |
| Include Path | #include "Misc/CoreMisc.h" |
Syntax
class FAutoNamedEventsToggler
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bSetNamedEventsEnabled | bool | Misc/CoreMisc.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Update
(
bool bIsProfiling |
Misc/CoreMisc.h |