18 lines
330 B
C++
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;
|
|
}
|
|
}
|
|
|
|
|
|
} |