You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
21 lines
711 B
C++
21 lines
711 B
C++
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "UnrealFrontendPrivatePCH.h"
|
|
#include "StatsDumpMemoryCommand.h"
|
|
#include "Profiler.h"
|
|
|
|
/*-----------------------------------------------------------------------------
|
|
FStatsMemoryDumpCommand
|
|
-----------------------------------------------------------------------------*/
|
|
|
|
void FStatsMemoryDumpCommand::Run()
|
|
{
|
|
FString SourceFilepath;
|
|
FParse::Value( FCommandLine::Get(), TEXT( "-INFILE=" ), SourceFilepath );
|
|
|
|
const FName NAME_ProfilerModule = TEXT( "Profiler" );
|
|
IProfilerModule& ProfilerModule = FModuleManager::LoadModuleChecked<IProfilerModule>( NAME_ProfilerModule );
|
|
ProfilerModule.StatsMemoryDumpCommand( *SourceFilepath );
|
|
}
|
|
|