Add TSP benchmark from JOlden for the multicore gc
[IRC.git] / Robust / src / Benchmarks / Scheduling / GC / tsp / TSPBench.java
1 /** Bamboo Version  
2  * Ported by: Jin Zhou  07/27/10
3  * 
4  * This is ported from the JOlden
5  * **/
6
7 task t1(StartupObject s{initialstate}) {
8   //System.printString("task t1\n");
9
10   int threadnum = 62; // 56;
11   int ncities = 4080;
12   for(int i = 0; i < threadnum; ++i) {
13     TestRunner tr = new TestRunner(ncities){run};
14   }
15
16   taskexit(s{!initialstate});
17 }
18
19 task t2(TestRunner tr{run}) {
20   //System.printString("task t2\n");
21   tr.run();
22   taskexit(tr{!run});
23 }