Navigation
API > API/Runtime > API/Runtime/Core
Base class for FScoped*Timer and FScoped*Excluder
| Name | FScopedExternalProfilerBase |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/ProfilingDebugging/ExternalProfiler.h |
| Include Path | #include "ProfilingDebugging/ExternalProfiler.h" |
Syntax
class FScopedExternalProfilerBase : public FActiveExternalProfilerBase
Inheritance Hierarchy
- FActiveExternalProfilerBase → FScopedExternalProfilerBase
Derived Classes
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bWasRecording | bool | Stores the previous 'Paused' state of the current active external profiler before this scope started | ProfilingDebugging/ExternalProfiler.h |
Functions
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void StartScopedTimer
(
const bool bWantPause |
Pauses or resumes profiler and keeps track of the prior state so it can be restored later. | ProfilingDebugging/ExternalProfiler.h | |
void StopScopedTimer() |
Stops the scoped timer and restores profiler to its prior state | ProfilingDebugging/ExternalProfiler.h |