Add Agrarian performance profiling markers
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
// Copyright Pacificao. All Rights Reserved.
|
||||
|
||||
#include "AgrarianGameState.h"
|
||||
#include "AgrarianPerformanceStats.h"
|
||||
#include "Net/UnrealNetwork.h"
|
||||
#include "ProfilingDebugging/CpuProfilerTrace.h"
|
||||
|
||||
namespace
|
||||
{
|
||||
@@ -70,6 +72,9 @@ void AAgrarianGameState::BeginPlay()
|
||||
|
||||
void AAgrarianGameState::Tick(float DeltaSeconds)
|
||||
{
|
||||
SCOPE_CYCLE_COUNTER(STAT_AgrarianGameStateTick);
|
||||
TRACE_CPUPROFILER_EVENT_SCOPE(AgrarianGameStateTick);
|
||||
|
||||
Super::Tick(DeltaSeconds);
|
||||
|
||||
if (!HasAuthority())
|
||||
|
||||
Reference in New Issue
Block a user