Commits

Anonymous committed a0a61e3 Merge

Merge with default

Comments (0)

Files changed (1)

ConsoleApplication2/Program.cs

     /// </summary>
     class Program
     {
-        private const int s_Iterations = 1000000000;
+        private const int s_Iterations = 100000000;
 
         static void Main(string[] args)
         {
-            for (int i = 0; i <Environment.ProcessorCount/2; i++)
+            int pairs = args.Any() ? int.Parse(args[0]) : Environment.ProcessorCount/2;
+            for (int i = 0; i <pairs; i++)
             {
                 Go(i);
             }