11#if (!UE_BUILD_SHIPPING && 1)
12#define ENABLE_SPAWNACTORTIMER 1
14#define ENABLE_SPAWNACTORTIMER 0
17#if ENABLE_SPAWNACTORTIMER
41 : bIsRecordingSpawnActorTimes(
false)
64 void OutputSpawnTimings();
67 bool bIsRecordingSpawnActorTimes;
94 double ElapsedTime =
StopTime - StartTime;
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
ESpawnActorTimingType
Definition SpawnActorTimer.h:30
Definition NameTypes.h:617
Definition SpawnActorTimer.h:81
void SetActorName(FName InActorName)
Definition SpawnActorTimer.h:98
FScopedSpawnActorTimer(FName InClassName, ESpawnActorTimingType InSpawnActorType)
Definition SpawnActorTimer.h:83
~FScopedSpawnActorTimer()
Definition SpawnActorTimer.h:91
Definition SpawnActorTimer.h:38
static FSpawnActorTimer & Get()
void ReportSpawnActor(FName ClassName, FName ActorName, double SpawnTime, ESpawnActorTimingType SpawnActorType)
static void SpawnActorTimerCmdFunc(const TArray< FString > &Args)
void IncrementFrameCount()
FSpawnActorTimer()
Definition SpawnActorTimer.h:40
Definition UnrealString.h.inl:34
@ false
Definition radaudio_common.h:23
Definition AndroidPlatformTime.h:18
static double Seconds()
Definition AndroidPlatformTime.h:20
Definition SpawnActorTimer.h:21
FName ClassName
Definition SpawnActorTimer.h:23
double SpawnTime
Definition SpawnActorTimer.h:25