Files
UnrealEngine/Engine/Source/Programs/HeadlessChaosPerf/Private/ChaosPerf/PerfTests/ChaosPerfProfilerTests.cpp
2025-05-18 13:04:45 +08:00

18 lines
330 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "ChaosPerf/ChaosPerf.h"
namespace ChaosPerf
{
// Test that the profiling fixture works in the simple use case
CHAOSPERF_TEST_BASIC(ChaosPerf, TestCsvProfiling)
{
for (int32 Index = 0; Index < 1000000; ++Index)
{
static int32 Count = 0;
++Count;
}
}
}