add new benchmark lcss which was ported frim nofib benchmark suite
[IRC.git] / Robust / src / Benchmarks / Scheduling / GC / lcss / LcssBench.java
1 /** Bamboo Version  
2  * Ported by: Jin Zhou  07/15/10
3  * 
4  * This is ported from the NoFib, originally written in Haskell
5  * **/
6
7 task t1(StartupObject s{initialstate}) {
8   //System.printString("task t1\n");
9
10   int threadnum = 62; // 56;
11   int[] args = new int[6];
12   args[0] = 1;
13   args[1] = 2;
14   args[2] = 160; //0; // 1000;
15   args[3] = 80; //0; // 500;
16   args[4] = 81; //51; // 501;
17   args[5] = 240; //0; // 1500;
18   for(int i = 0; i < threadnum; ++i) {
19     TestRunner tr = new TestRunner(args){run};
20   }
21
22   taskexit(s{!initialstate});
23 }
24
25 task t2(TestRunner tr{run}) {
26   //System.printString("task t2\n");
27   tr.run();
28   taskexit(tr{!run});
29 }