6#ifndef CHAOS_PERF_TEST_ENABLED
7#define CHAOS_PERF_TEST_ENABLED 1
10#if CHAOS_PERF_TEST_ENABLED
63#define CHAOS_PERF_TEST(x, units) FScopedChaosPerfTest Scope_##x(TEXT(#x), units);
64#define CHAOS_SCOPED_TIMER(x) FChaosScopedDurationTimeLogger Timer_##x(TEXT(#x));
66#define CHAOS_PERF_TEST(x, units)
67#define CHAOS_SCOPED_TIMER(x)
EChaosPerfUnits
Definition ChaosPerfTest.h:12
#define GLog
Definition CoreGlobals.h:95
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition ChaosPerfTest.h:20
const TCHAR * Label
Definition ChaosPerfTest.h:47
FChaosScopedDurationTimeLogger(const TCHAR *InLabel)
Definition ChaosPerfTest.h:22
static CHAOS_API EChaosPerfUnits GlobalUnits
Definition ChaosPerfTest.h:45
static CHAOS_API const TCHAR * GlobalLabel
Definition ChaosPerfTest.h:43
double Accumulator
Definition ChaosPerfTest.h:49
~FChaosScopedDurationTimeLogger()
Definition ChaosPerfTest.h:31
FDurationTimer Timer
Definition ChaosPerfTest.h:50
FOutputDevice * Device
Definition ChaosPerfTest.h:48
Definition ScopedTimers.h:32
double Stop()
Definition ScopedTimers.h:45
double Start()
Definition ScopedTimers.h:39
Definition OutputDevice.h:133
void Logf(const FmtType &Fmt)
Definition OutputDevice.h:234
Definition ChaosPerfTest.h:54
FScopedChaosPerfTest(const TCHAR *InLabel, EChaosPerfUnits Units)
Definition ChaosPerfTest.h:55
~FScopedChaosPerfTest()
Definition ChaosPerfTest.h:60