12#if UE_EXTERNAL_PROFILING_ENABLED
36 UE_DEPRECATED(5.6,
"Use FActiveExternalProfilerBase::PauseActiveProfiler instead")
153 static std::atomic<bool> bIsRecording;
246 if (FActiveExternalProfilerBase::AreScopedEventsEnabled())
248 if (
FExternalProfiler* Profiler = FActiveExternalProfilerBase::GetActiveProfiler())
258 if (FActiveExternalProfilerBase::AreScopedEventsEnabled())
260 if (
FExternalProfiler* Profiler = FActiveExternalProfilerBase::GetActiveProfiler())
270 if (FActiveExternalProfilerBase::AreScopedEventsEnabled())
272 if (
FExternalProfiler* Profiler = FActiveExternalProfilerBase::GetActiveProfiler())
274 Profiler->EndScopedEvent();
280#define SCOPE_PROFILER_INCLUDER(X) FExternalProfilerIncluder ExternalProfilerIncluder_##X;
281#define SCOPE_PROFILER_EXCLUDER(X) FExternalProfilerExcluder ExternalProfilerExcluder_##X;
285#define SCOPE_PROFILER_INCLUDER(X)
286#define SCOPE_PROFILER_EXCLUDER(X)
#define UE_DEPRECATED(Version, Message)
Definition CoreMiscDefines.h:302
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define ANSI_TO_TCHAR(str)
Definition StringConv.h:1020
Definition NameTypes.h:617
Definition UnrealType.h:3087
Definition IModularFeature.h:12