Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
javadsaberlatibari authored Apr 5, 2024
1 parent 99a50ac commit 06b936f
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions wellcoordination/benchmark/rubis.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,20 +67,18 @@ class Rubis : public ReplicatedObject
// conflicts
std::vector<int> g1;
g1.push_back(static_cast<int>(MethodType::STORE_BUY_NOW));
//g1.push_back(static_cast<int>(MethodType::REMOVE_MOVIE));
g1.push_back(static_cast<int>(MethodType::REGISTER_USER));
synch_groups.push_back(g1);

//std::vector<int> g2;
//g2.push_back(static_cast<int>(MethodType::REGISTER_USER));
//synch_groups.push_back(g2);

std::vector<int> g2;
g3.push_back(static_cast<int>(MethodType::PLACE_BID));
g3.push_back(static_cast<int>(MethodType::CLOSE_AUCTION));
g2.push_back(static_cast<int>(MethodType::PLACE_BID));
g2.push_back(static_cast<int>(MethodType::CLOSE_AUCTION));
synch_groups.push_back(g2);

std::vector<int> g3;
g2.push_back(static_cast<int>(MethodType::REGISTER_USER));
//g2.push_back(static_cast<int>(MethodType::REMOVE_CUSTOMER));
synch_groups.push_back(g3);

for (int i = 0; i < 100; i++) {
directbuysell[i] = 1000;
openauctions.insert(i);
Expand Down

0 comments on commit 06b936f

Please sign in to comment.