Esempio n. 1
0
        public static void Test()
        {
            int[] vals = new int[50000000];
            InitVals(vals);

            Test(SortSeq, vals, "Sequential sort");

            ParQuickSort sort = new ParQuickSort(LEVEL);

            Test(sort.SortTP, vals, "Threadpool sort");

            WorkerThreadReport.ShutdownWorkerThreadReport();
        }
Esempio n. 2
0
 static void Main(string[] args)
 {
     ParQuickSort.Test();
 }