From: Peizhao Ou Date: Tue, 17 Nov 2015 04:37:13 +0000 (-0800) Subject: edits X-Git-Url: http://plrg.eecs.uci.edu/git/?p=cdsspec-compiler.git;a=commitdiff_plain;h=80fbd4c75563856f942c93c04b95f6cfff701970 edits --- diff --git a/src/edu/uci/eecs/specCompiler/codeGenerator/CodeGenerator.java b/src/edu/uci/eecs/specCompiler/codeGenerator/CodeGenerator.java index 08b8ee7..6df7c76 100644 --- a/src/edu/uci/eecs/specCompiler/codeGenerator/CodeGenerator.java +++ b/src/edu/uci/eecs/specCompiler/codeGenerator/CodeGenerator.java @@ -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]);