Skip to content

Commit d28f262

Browse files
added rubis
1 parent e074150 commit d28f262

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

wellcoordination/src/band-main.cpp

+5-2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#include "../benchmark/courseware.hpp"
1414
#include "../benchmark/project.hpp"
1515
#include "../benchmark/movie.hpp"
16+
#include "../benchmark/rubis.hpp"
1617

1718
int main(int argc, char* argv[]) {
1819
if (argc < 2) {
@@ -36,7 +37,7 @@ int main(int argc, char* argv[]) {
3637
std::cout << "write precentage: "
3738
<< static_cast<double>(write_percentage / 100) << std::endl;
3839
std::string loc =
39-
"/rhome/fhous001/farzin/FastChain/dory/wellcoordination/workload/";
40+
"/users/jsaber/binHamband/workload/";
4041
loc += std::to_string(nr_procs) + "-" + std::to_string(num_ops) + "-" +
4142
std::to_string(static_cast<int>(write_percentage));
4243
loc += "/" + usecase + "/";
@@ -59,7 +60,9 @@ int main(int argc, char* argv[]) {
5960
object = new BankAccount(100000);
6061
} else if (usecase == "movie") {
6162
object = new Movie();
62-
} else if (usecase == "courseware") {
63+
} else if (usecase == "rubis") {
64+
object = new Rubis();
65+
}else if (usecase == "courseware") {
6366
object = new Courseware();
6467
// init object
6568
for (int i = 0; i < 1000; i++) {

0 commit comments

Comments
 (0)