From f32746e25ae42b2b22679a3a1014ce6ed035fca1 Mon Sep 17 00:00:00 2001 From: jzhou Date: Thu, 3 Dec 2009 17:25:01 +0000 Subject: [PATCH] *** empty log message *** --- .../Benchmarks/Scheduling/FilterBank/FilterBank.java | 2 +- Robust/src/Benchmarks/Scheduling/Fractal/Fractal.java | 10 +++++----- .../Scheduling/JGFMonteCarlo/JGFMonteCarloBench.java | 4 ++-- .../Scheduling/JGFSeries/JGFSeriesBench.java | 4 ++-- .../src/Benchmarks/Scheduling/Tracking/TrackDemo.java | 2 +- .../Benchmarks/Scheduling/Tracking/TrackingBench.java | 10 +++++----- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Robust/src/Benchmarks/Scheduling/FilterBank/FilterBank.java b/Robust/src/Benchmarks/Scheduling/FilterBank/FilterBank.java index d8d0a14d..64fcdaa9 100644 --- a/Robust/src/Benchmarks/Scheduling/FilterBank/FilterBank.java +++ b/Robust/src/Benchmarks/Scheduling/FilterBank/FilterBank.java @@ -3,7 +3,7 @@ task t1(StartupObject s{initialstate}) { int N_sim=1200 * 6; int N_samp=8; - int N_ch=62 * 2; //16; + int N_ch=62; //16; int N_col=128 * 6; int i,j; diff --git a/Robust/src/Benchmarks/Scheduling/Fractal/Fractal.java b/Robust/src/Benchmarks/Scheduling/Fractal/Fractal.java index 75f406eb..d92776ce 100644 --- a/Robust/src/Benchmarks/Scheduling/Fractal/Fractal.java +++ b/Robust/src/Benchmarks/Scheduling/Fractal/Fractal.java @@ -3,9 +3,9 @@ task t1(StartupObject s{initialstate}) { //System.printString("task t1\n"); - int width = 62 * 15 * 2; - int height = 62 * 16; - int group = 62 * 2; + int width = 62 * 14; + int height = 62 * 14; + int group = 62; //int h = height / group; //Random rnd = new Random(); @@ -143,9 +143,9 @@ public class Fractal { scaleda=(int)((a - amin)*appletWidth/(amax - amin)); scaledb=(int)((b - bmin)*appletHeight/(bmax - bmin)); int index = ((scaledb - id) / group) * appletWidth + scaleda; //(scaledb * appletWidth + scaleda - id) / group; - //if(index < length) { + if(index < length) { ps[index] = alpha<<24 | red<<16 | iteration<<8 | blue; - //} + } } } } diff --git a/Robust/src/Benchmarks/Scheduling/JGFMonteCarlo/JGFMonteCarloBench.java b/Robust/src/Benchmarks/Scheduling/JGFMonteCarlo/JGFMonteCarloBench.java index 1d6cb0de..5c89122e 100644 --- a/Robust/src/Benchmarks/Scheduling/JGFMonteCarlo/JGFMonteCarloBench.java +++ b/Robust/src/Benchmarks/Scheduling/JGFMonteCarlo/JGFMonteCarloBench.java @@ -24,8 +24,8 @@ task t1(StartupObject s{initialstate}) { //System.printString("task t1\n"); int datasize = 1000; //should be times of 2 - int nruns = 62 * 7 * 2; //16 * 16; - int group = 62 * 2; // 16; + int nruns = 62 * 7; //16 * 16; + int group = 62; // 16; AppDemo ad = new AppDemo(datasize, nruns, group){merge}; diff --git a/Robust/src/Benchmarks/Scheduling/JGFSeries/JGFSeriesBench.java b/Robust/src/Benchmarks/Scheduling/JGFSeries/JGFSeriesBench.java index ff6941c1..9175c169 100644 --- a/Robust/src/Benchmarks/Scheduling/JGFSeries/JGFSeriesBench.java +++ b/Robust/src/Benchmarks/Scheduling/JGFSeries/JGFSeriesBench.java @@ -23,8 +23,8 @@ task t1(StartupObject s{initialstate}) { //System.printString("task t1\n"); - int datasize = 62 * 2000; - int threadnum = 62; + int datasize = 62 * 100 ;//16 * 2000 * 2; + int threadnum = 62 ;//16 * 2; int range = datasize / threadnum; for(int i = 0; i < threadnum; ++i) { SeriesRunner sr = new SeriesRunner(i, range){!finish}; diff --git a/Robust/src/Benchmarks/Scheduling/Tracking/TrackDemo.java b/Robust/src/Benchmarks/Scheduling/Tracking/TrackDemo.java index 272cf1bf..778a8027 100644 --- a/Robust/src/Benchmarks/Scheduling/Tracking/TrackDemo.java +++ b/Robust/src/Benchmarks/Scheduling/Tracking/TrackDemo.java @@ -51,7 +51,7 @@ public class TrackDemo { public TrackDemo(int nump) { this.m_inputs = new int[2][]; - int rows = 10 * 60 * 2; + int rows = 10 * 60; // * 2; int cols = 12 * 5; int offset = 0; this.m_inputs[0] = this.makeImage(rows, cols, offset); diff --git a/Robust/src/Benchmarks/Scheduling/Tracking/TrackingBench.java b/Robust/src/Benchmarks/Scheduling/Tracking/TrackingBench.java index 1bba7e2d..84acfcbc 100644 --- a/Robust/src/Benchmarks/Scheduling/Tracking/TrackingBench.java +++ b/Robust/src/Benchmarks/Scheduling/Tracking/TrackingBench.java @@ -8,11 +8,11 @@ task startup(StartupObject s{initialstate}) { //System.printString("task startup\n"); - int nump = 60; + int nump = 32; //60; TrackDemo tdmo = new TrackDemo(nump){toaddBP}; int[] input = tdmo.getInput(false); - int pnum = 60; + int pnum = 32; //60; int range = (input[0]) / pnum; for(int i = 0; i < pnum; i++) { BlurPiece bp = new BlurPiece(i, @@ -54,7 +54,7 @@ task preresize(TrackDemo tdmo{topreresize}) { float[] Icur = tdmo.getImage(); - int pnum = 30; + int pnum = 16; //30; int range = (tdmo.getRows()) / pnum; int rows = tdmo.getRows(); int cols = tdmo.getCols(); @@ -222,7 +222,7 @@ task calcFeatures(TrackDemo tdmo{tocalcF}) { task startTrackingLoop(TrackDemo tdmo{tostartL}) { //System.printString("task startTrackingLoop\n"); - int pnum1 = 15 * 2; + int pnum1 = 8; //15; // * 2; float[] data = tdmo.getImage(); int rows = tdmo.getRows(); int cols = tdmo.getCols(); @@ -274,7 +274,7 @@ task startTrackingLoop(TrackDemo tdmo{tostartL}) { rows, cols){tomergeIYLR}; - int pnum2 = 60 * 2; + int pnum2 = 32; //60; // * 2; int[] input = tdmo.getInput(true); range = (input[0]) / pnum2; for(int i = 0; i < pnum2; i++) { -- 2.34.1