Navigation
API > API/Runtime > API/Runtime/Core
| Name | FActiveExternalProfilerBase |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/ProfilingDebugging/ExternalProfiler.h |
| Include Path | #include "ProfilingDebugging/ExternalProfiler.h" |
Syntax
class FActiveExternalProfilerBase
Derived Classes
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| ActiveProfiler | FExternalProfiler * | Static: Active profiler instance that we're using | ProfilingDebugging/ExternalProfiler.h |
| bDidInitialize | bool | Static: True if we've tried to initialize a profiler already | ProfilingDebugging/ExternalProfiler.h |
| bEnableScopedEvents | std::atomic< bool > | Static: Whether StartScopedEvent and EndScopedEvent should be called. Defaults to true. | ProfilingDebugging/ExternalProfiler.h |
| bIsRecording | std::atomic< bool > | Static: Whether the active profiler is recording events, to our knowledge. | ProfilingDebugging/ExternalProfiler.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool AreScopedEventsEnabled() |
Returns true if scoped events are enabled by the active profiler. | ProfilingDebugging/ExternalProfiler.h | |
static void EnableScopedEvents
(
bool bEnable |
Static: Enables or disables calls to the active profiler's StartScopedEvent and EndScopedEvent functions. | ProfilingDebugging/ExternalProfiler.h | |
static FExternalProfiler * GetActiveProfiler() |
ProfilingDebugging/ExternalProfiler.h | ||
static FExternalProfiler * InitActiveProfiler () |
Attach an external profiler, selected depending on configuration. | ProfilingDebugging/ExternalProfiler.h | |
static bool IsActiveProfilerRecording() |
ProfilingDebugging/ExternalProfiler.h | ||
static bool SetActiveProfilerRecording
(
bool bRecording |
Pauses or resumes the active profiler. | ProfilingDebugging/ExternalProfiler.h |