UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FrameProProfiler.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "FramePro/FramePro.h"
6
7#if FRAMEPRO_ENABLED
8
11{
12public:
13 static CORE_API void Initialize();
14 static CORE_API void TearDown();
15
17 static CORE_API void FrameStart();
18
20 static CORE_API void PushEvent(); // Event with no name, expected to be named at the end
21 static CORE_API void PushEvent(const TCHAR* Text);
22 static CORE_API void PushEvent(const ANSICHAR* Text);
23
25 static CORE_API void PopEvent();
26 static CORE_API void PopEvent(const TCHAR* Override);
27 static CORE_API void PopEvent(const ANSICHAR* Override);
28
30 static CORE_API FString StartFrameProRecording(const FString& FilenameRoot, int32 MinScopeTime, bool bAppendDateTime=true);
31 static CORE_API void StopFrameProRecording();
32
33 static CORE_API bool IsFrameProRecording();
34 static CORE_API bool IsThreadContextReady();
35};
36
37#endif // FRAMEPRO_ENABLED
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition Platform.h:1135
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
FPlatformTypes::ANSICHAR ANSICHAR
An ANSI character. Normally a signed type.
Definition Platform.h:1131
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127