You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
33 lines
595 B
C#
33 lines
595 B
C#
// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace UnrealBuildTool
|
|
{
|
|
class RemoteExecutor : LocalExecutor
|
|
{
|
|
public RemoteExecutor()
|
|
{
|
|
}
|
|
|
|
public override string Name
|
|
{
|
|
get { return "Remote"; }
|
|
}
|
|
|
|
public override int GetMaxActionsToExecuteInParallel()
|
|
{
|
|
Int32 RemoteCPUCount = RPCUtilHelper.GetCommandSlots();
|
|
if (RemoteCPUCount == 0)
|
|
{
|
|
RemoteCPUCount = Environment.ProcessorCount;
|
|
}
|
|
return RemoteCPUCount;
|
|
}
|
|
}
|
|
}
|