Navigation
API > API/Runtime > API/Runtime/Core
Scoped guard that excludes a body of code in the external profiler's captured session, by calling SetActiveProfilerRecording(false)_ in its constructor, and then SetActiveProfilerRecording(true)_ in its destructor.
It can safely be embedded within another [FExternalProfilerExcluder](API\Runtime\Core\FExternalProfilerExcluder)_ or Includer_. However, FActiveProfilerBase::SetActiveProfilerRecording_ should not be called from within an Includer_ scope, because the Includer_ and Excluder_ mechanisms cannot record changes to the active profiler state once they're in scopeyou should choose to use one mechanism or the other, but not both.
| Name | FExternalProfilerExcluder |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/ProfilingDebugging/ExternalProfiler.h |
| Include Path | #include "ProfilingDebugging/ExternalProfiler.h" |
Syntax
class FExternalProfilerExcluder : public FScopedExternalProfilerBase
Inheritance Hierarchy
- FActiveExternalProfilerBase → FScopedExternalProfilerBase → FExternalProfilerExcluder
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FExternalProfilerExcluder() |
Constructor | ProfilingDebugging/ExternalProfiler.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FExternalProfilerExcluder() |
Destructor | ProfilingDebugging/ExternalProfiler.h |