bug fixes
[IRC.git] / Robust / src / Benchmarks / Prefetch / SOR / JGFSORBenchSizeA.java
1 public class JGFSORBenchSizeA{ 
2         public int nthreads;
3         public static void main(String argv[]){
4
5                 if(argv.length != 0 ) {
6                         nthreads = Integer.parseInt(argv[0]);
7                 } else {
8                         System.printString("The no of threads has not been specified, defaulting to 1");
9                         System.printString("  ");
10                         nthreads = 1;
11                 }
12
13                 JGFInstrumentor.printHeader(2,0,nthreads);
14                 JGFSORBench sor = null;
15                 atomic {
16                         sor = global new JGFSORBench(nthreads); 
17                         sor.JGFrun(0);
18                 }
19
20         }
21 }
22