diff options
Diffstat (limited to 'src/ProtoBench/Program.cs')
-rw-r--r-- | src/ProtoBench/Program.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ProtoBench/Program.cs b/src/ProtoBench/Program.cs index e5d98df0..9de071f5 100644 --- a/src/ProtoBench/Program.cs +++ b/src/ProtoBench/Program.cs @@ -72,6 +72,7 @@ namespace Google.ProtocolBuffers.ProtoBench if (temp.Remove("/v2") || temp.Remove("-v2"))
{
Process.GetCurrentProcess().PriorityClass = ProcessPriorityClass.RealTime;
+ Process.GetCurrentProcess().ProcessorAffinity = new IntPtr(1);
RunBenchmark = BenchmarkV2;
}
if (temp.Remove("/all") || temp.Remove("-all"))
|