edits
[cdsspec-compiler.git] / src / edu / uci / eecs / specCompiler / codeGenerator / CodeGenerator.java
index 84b3300cb045b60e0a163f910601365d334ab660..95637ee7ab07b64a844e8a8609ccf5a5e9f52ea5 100644 (file)
@@ -291,15 +291,17 @@ public class CodeGenerator {
 //             File[] srcLinuxRWLocks = { new File(homeDir
 //                             + "/benchmark/linuxrwlocks/linuxrwlocks.c") };
 //
-//             File[] srcHashtable = {
-//                             new File(homeDir
-//                                             + "/benchmark/cliffc-hashtable/cliffc_hashtable.h"),
-//                             new File(homeDir + "/benchmark/cliffc-hashtable/main.cc") };
-//
+               File[] srcHashtable = {
+                               new File(homeDir
+                                               + "/benchmark/concurrent-hashmap/hashmap.h"),
+                                               new File(homeDir + "/benchmark/concurrent-hashmap/testcase1.cc"),
+                               new File(homeDir + "/benchmark/concurrent-hashmap/main.cc")};
+
                File[] srcMSQueue = {
                                new File(homeDir + "/benchmark/ms-queue/my_queue.c"),
-                               new File(homeDir + "/benchmark/ms-queue/testcase.c"),
                                new File(homeDir + "/benchmark/ms-queue/testcase1.c"),
+                               new File(homeDir + "/benchmark/ms-queue/testcase2.c"),
+                               new File(homeDir + "/benchmark/ms-queue/testcase3.c"),
                                new File(homeDir + "/benchmark/ms-queue/main.c"),
                                new File(homeDir + "/benchmark/ms-queue/my_queue.h") };
 
@@ -331,7 +333,7 @@ public class CodeGenerator {
 //             File[][] sources = { srcLinuxRWLocks,  srcMSQueue, srcRCU,
 //                             srcDeque, srcMCSLock, srcSPSCQueue, srcMPMCQueue, srcHashtable };
 
-                File[][] sources = {srcMSQueue };
+                File[][] sources = {srcMSQueue, srcHashtable};
                // Compile all the benchmarks
                for (int i = 0; i < sources.length; i++) {
                        CodeGenerator gen = new CodeGenerator(sources[i]);