From: adash Date: Mon, 20 Jul 2009 22:09:34 +0000 (+0000) Subject: changes to Array benchmark X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bf385f22f8c181f16821d3333c983bcb7f4ffda8;p=IRC.git changes to Array benchmark --- diff --git a/Robust/src/Benchmarks/Prefetch/Array/Array2D.java b/Robust/src/Benchmarks/Prefetch/Array/Array2D.java new file mode 100644 index 00000000..912cde90 --- /dev/null +++ b/Robust/src/Benchmarks/Prefetch/Array/Array2D.java @@ -0,0 +1,37 @@ +public class Array2D extends Thread { + int [][] array; + + public Array2D() { + int xmax=10000; + int ymax=10; + array=global new int[xmax][ymax]; + for(int i=0;i