From d28f262edfc60fbf5c5d5faf7acb34c6b090f730 Mon Sep 17 00:00:00 2001 From: Javad Saberlatibari <76922325+javadsaberlatibari@users.noreply.github.com> Date: Wed, 20 Mar 2024 13:00:47 -0700 Subject: [PATCH] added rubis --- wellcoordination/src/band-main.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/wellcoordination/src/band-main.cpp b/wellcoordination/src/band-main.cpp index a1741eb..f8966f1 100644 --- a/wellcoordination/src/band-main.cpp +++ b/wellcoordination/src/band-main.cpp @@ -13,6 +13,7 @@ #include "../benchmark/courseware.hpp" #include "../benchmark/project.hpp" #include "../benchmark/movie.hpp" +#include "../benchmark/rubis.hpp" int main(int argc, char* argv[]) { if (argc < 2) { @@ -36,7 +37,7 @@ int main(int argc, char* argv[]) { std::cout << "write precentage: " << static_cast(write_percentage / 100) << std::endl; std::string loc = - "/rhome/fhous001/farzin/FastChain/dory/wellcoordination/workload/"; + "/users/jsaber/binHamband/workload/"; loc += std::to_string(nr_procs) + "-" + std::to_string(num_ops) + "-" + std::to_string(static_cast(write_percentage)); loc += "/" + usecase + "/"; @@ -59,7 +60,9 @@ int main(int argc, char* argv[]) { object = new BankAccount(100000); } else if (usecase == "movie") { object = new Movie(); - } else if (usecase == "courseware") { + } else if (usecase == "rubis") { + object = new Rubis(); + }else if (usecase == "courseware") { object = new Courseware(); // init object for (int i = 0; i < 1000; i++) {