*** empty log message ***
authorjzhou <jzhou>
Thu, 3 Dec 2009 17:25:01 +0000 (17:25 +0000)
committerjzhou <jzhou>
Thu, 3 Dec 2009 17:25:01 +0000 (17:25 +0000)
Robust/src/Benchmarks/Scheduling/FilterBank/FilterBank.java
Robust/src/Benchmarks/Scheduling/Fractal/Fractal.java
Robust/src/Benchmarks/Scheduling/JGFMonteCarlo/JGFMonteCarloBench.java
Robust/src/Benchmarks/Scheduling/JGFSeries/JGFSeriesBench.java
Robust/src/Benchmarks/Scheduling/Tracking/TrackDemo.java
Robust/src/Benchmarks/Scheduling/Tracking/TrackingBench.java

index d8d0a14d0e87fd59aad65012c4b8f62455ac039c..64fcdaa9f8c58cb6b232f242a773269a3956277c 100644 (file)
@@ -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;
        
index 75f406ebe6e34e45a2205300591cd30bc2b7fd7d..d92776cecbcf852c10663664bb76e840846b4f57 100644 (file)
@@ -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;
-                   //}
+                   }
                }
            }
        }
index 1d6cb0de67fc5c1adc6a428a666a5c4f4c1ebd11..5c89122ea479dbe5fb249f5946530d1aef04ee8b 100644 (file)
@@ -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};
     
index ff6941c13d90b4281924283d2e1291b29af20b95..9175c169df322cf27e491403fbbc3ede760f7238 100644 (file)
@@ -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};
index 272cf1bf659741756fb9ff177ea8c115525022ee..778a802797ebfa167a311524c4715168be1e6afa 100644 (file)
@@ -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);
index 1bba7e2d9223310ccc20c311416b9142e799a20b..84acfcbc69893542547d66abb17ba3700af5233d 100644 (file)
@@ -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++) {