File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 13
13
#include " ../benchmark/courseware.hpp"
14
14
#include " ../benchmark/project.hpp"
15
15
#include " ../benchmark/movie.hpp"
16
+ #include " ../benchmark/rubis.hpp"
16
17
17
18
int main (int argc, char * argv[]) {
18
19
if (argc < 2 ) {
@@ -36,7 +37,7 @@ int main(int argc, char* argv[]) {
36
37
std::cout << " write precentage: "
37
38
<< static_cast <double >(write_percentage / 100 ) << std::endl;
38
39
std::string loc =
39
- " /rhome/fhous001/farzin/FastChain/dory/wellcoordination /workload/" ;
40
+ " /users/jsaber/binHamband /workload/" ;
40
41
loc += std::to_string (nr_procs) + " -" + std::to_string (num_ops) + " -" +
41
42
std::to_string (static_cast <int >(write_percentage));
42
43
loc += " /" + usecase + " /" ;
@@ -59,7 +60,9 @@ int main(int argc, char* argv[]) {
59
60
object = new BankAccount (100000 );
60
61
} else if (usecase == " movie" ) {
61
62
object = new Movie ();
62
- } else if (usecase == " courseware" ) {
63
+ } else if (usecase == " rubis" ) {
64
+ object = new Rubis ();
65
+ }else if (usecase == " courseware" ) {
63
66
object = new Courseware ();
64
67
// init object
65
68
for (int i = 0 ; i < 1000 ; i++) {
You can’t perform that action at this time.
0 commit comments