Files
UnrealEngineUWP/Engine/Source/Programs/AutomationTool/Gauntlet/Platform/Windows/Gauntlet.WindowsPGO.cs
David Harvey 4f8dd1a9b2 Extending windows PGO skeleton to include windows-based platform extensions.
#jira UE-151087
#rnx
#rb Eric.McDaniel
#preflight 62c6f1998558075f424dfe9c

[CL 20984075 by David Harvey in ue5-main branch]
2022-07-07 10:54:28 -04:00

51 lines
932 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
namespace Gauntlet
{
/// <summary>
/// Skeleton Windows PGO platform implementation (primarily used to test PGO locally with editor builds)
/// </summary>
internal abstract class WinBasePGOPlatform : IPGOPlatform
{
UnrealTargetPlatform Platform;
protected WinBasePGOPlatform(UnrealTargetPlatform InPlatform)
{
Platform = InPlatform;
}
public UnrealTargetPlatform GetPlatform()
{
return Platform;
}
public void GatherResults(string ArtifactPath)
{
}
public void ApplyConfiguration(PGOConfig Config)
{
}
public bool TakeScreenshot(ITargetDevice Device, string ScreenshotDirectory, out string ImageFilename)
{
ImageFilename = string.Empty;
return false;
}
}
internal class WindowsPGOPlatform : WinBasePGOPlatform
{
public WindowsPGOPlatform() : base(UnrealTargetPlatform.Win64)
{
}
}
}