public class arrloopperf { public static void main(String[]args) { int iters; try { iters = Integer.parseInt(args[0]); } catch(Throwable exn) {} System.out.println("Running "+iters+" iterations..."); runtest(iters); System.out.flush(); try { Thread.sleep(1000); } catch (Throwable exn) {} System.out.flush(); System.exit(0); } public static byte runtest(int iters) { Timer t = new Timer(); byte [] local larr = new byte[iters-1]; byte [] garr = broadcast larr from 0; garr = new byte[iters-1]; byte x = 0; Ti.barrier(); for (int i=0;i