edits
authorPeizhao Ou <peizhaoo@uci.edu>
Tue, 17 Nov 2015 04:37:13 +0000 (20:37 -0800)
committerPeizhao Ou <peizhaoo@uci.edu>
Tue, 17 Nov 2015 04:37:13 +0000 (20:37 -0800)
src/edu/uci/eecs/specCompiler/codeGenerator/CodeGenerator.java

index 08b8ee7..6df7c76 100644 (file)
@@ -291,11 +291,11 @@ 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/main.cc") };
+
                File[] srcMSQueue = {
                                new File(homeDir + "/benchmark/ms-queue/my_queue.c"),
                                new File(homeDir + "/benchmark/ms-queue/testcase1.c"),
@@ -331,7 +331,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]);