1 /**************************************************************************
3 * Java Grande Forum Benchmark Suite - Thread Version 1.0 *
7 * Java Grande Benchmarking Project *
11 * Edinburgh Parallel Computing Centre *
13 * email: epcc-javagrande@epcc.ed.ac.uk *
16 * This version copyright (c) The University of Edinburgh, 2001. *
17 * All rights reserved. *
19 **************************************************************************/
20 /**************************************************************************
21 * Ported for DSTM Benchmark *
22 **************************************************************************/
28 public class JGFCryptBenchSizeA{
30 global JGFIntrumentor instr;
32 public static void main(String argv[]){
36 if(argv.length != 0 ) {
37 nthreads = Integer.parseInt(argv[0]);
39 System.printString("The no of threads has not been specified, defaulting to 1");
40 System.printString(" ");
44 instr = new JGFInstrumentor();
45 instr.printHeader(2,0,nthreads);
47 JGFCryptBench cb = new JGFCryptBench(nthreads, instr);