7#include "ProfilingDebugging/FormatArgsTrace.h"
8#include "Trace/Config.h"
9#include "Trace/Trace.h"
11namespace UE {
namespace Trace {
class FChannel; } }
13#if !defined(LOADTIMEPROFILERTRACE_ENABLED)
15#define LOADTIMEPROFILERTRACE_ENABLED 1
17#define LOADTIMEPROFILERTRACE_ENABLED 0
23UE_TRACE_CHANNEL_EXTERN(LoadTimeChannel, );
24UE_TRACE_CHANNEL_EXTERN(AssetLoadTimeChannel, );
26struct FLoadTimeProfilerTrace
28 struct FRequestGroupScope
30 template <
typename... Types>
31 FRequestGroupScope(
const TCHAR* InFormatString, Types... FormatArgs)
33 FormatString = InFormatString;
34 FormatArgsSize = FFormatArgsTrace::EncodeArguments(FormatArgsBuffer, FormatArgs...);
38 ~FRequestGroupScope();
43 const TCHAR* FormatString =
nullptr;
44 uint16 FormatArgsSize = 0;
45 uint8 FormatArgsBuffer[1024];
49#define TRACE_LOADTIME_REQUEST_GROUP_SCOPE(Format, ...)
50 FLoadTimeProfilerTrace::FRequestGroupScope __LoadTimeTraceRequestGroupScope(Format, ##__VA_ARGS__);
53#define TRACE_LOADTIME_REQUEST_GROUP_SCOPE(...)
#define UE_BUILD_SHIPPING
#define LOADTIMEPROFILERTRACE_ENABLED