From 66a1017adc786365fec509e2153b890b30f1dc88 Mon Sep 17 00:00:00 2001 From: yeom Date: Thu, 31 Mar 2011 21:45:51 +0000 Subject: [PATCH] bring last changes before executing benchmakrs --- Robust/src/Benchmarks/oooJava/buildall | 5 +++-- Robust/src/Benchmarks/oooJava/monte/CallAppDemo.java | 4 +++- Robust/src/Benchmarks/oooJava/monte/runp | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Robust/src/Benchmarks/oooJava/buildall b/Robust/src/Benchmarks/oooJava/buildall index a93a13b7..1132c339 100755 --- a/Robust/src/Benchmarks/oooJava/buildall +++ b/Robust/src/Benchmarks/oooJava/buildall @@ -3,7 +3,8 @@ CUR=`pwd` for i in * do cd $i -make rcr > rcrlog & -make single > singlelog & +make rcrpointer > rcrlog +make ooo > ooolog +make single > singlelog cd $CUR done \ No newline at end of file diff --git a/Robust/src/Benchmarks/oooJava/monte/CallAppDemo.java b/Robust/src/Benchmarks/oooJava/monte/CallAppDemo.java index 60815618..4cbc3e91 100644 --- a/Robust/src/Benchmarks/oooJava/monte/CallAppDemo.java +++ b/Robust/src/Benchmarks/oooJava/monte/CallAppDemo.java @@ -23,7 +23,7 @@ * Wrapper code to invoke the Application demonstrator. * * @author H W Yau - * @version $Revision: 1.1 $ $Date: 2010/07/23 03:44:00 $ + * @version $Revision: 1.2 $ $Date: 2011/03/31 21:45:51 $ */ public class CallAppDemo { public int size; @@ -56,7 +56,9 @@ public class CallAppDemo { } public void runiters () { + long sTime=System.currentTimeMillis(); ap.runSerial(); + System.out.println("Time="+(System.currentTimeMillis()-sTime)); } public AppDemo getAppDemo(){ diff --git a/Robust/src/Benchmarks/oooJava/monte/runp b/Robust/src/Benchmarks/oooJava/monte/runp index 8acfa659..b91fbbf9 100755 --- a/Robust/src/Benchmarks/oooJava/monte/runp +++ b/Robust/src/Benchmarks/oooJava/monte/runp @@ -1 +1 @@ -time ./JGFMonteCarloBenchp.bin \ No newline at end of file +time ./JGFMonteCarloBenchp.bin 1 26 \ No newline at end of file -- 2.34.1