You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
29 lines
623 B
C++
29 lines
623 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "MemoryModule.h"
|
|
#include "Analyzers/MemoryAnalysis.h"
|
|
#include "TraceServices/Model/AnalysisSession.h"
|
|
|
|
namespace Trace
|
|
{
|
|
|
|
static const FName MemoryModuleName("TraceModule_Memory");
|
|
|
|
void FMemoryModule::GetModuleInfo(FModuleInfo& OutModuleInfo)
|
|
{
|
|
OutModuleInfo.Name = MemoryModuleName;
|
|
OutModuleInfo.DisplayName = TEXT("Memory");
|
|
}
|
|
|
|
void FMemoryModule::OnAnalysisBegin(IAnalysisSession& Session)
|
|
{
|
|
Session.AddAnalyzer(new FMemoryAnalyzer(Session));
|
|
}
|
|
|
|
void FMemoryModule::GetLoggers(TArray<const TCHAR *>& OutLoggers)
|
|
{
|
|
OutLoggers.Add(TEXT("Memory"));
|
|
}
|
|
|
|
}
|