From 06b936f95fb3bfd96f23d54d5c63718eb5d79345 Mon Sep 17 00:00:00 2001 From: Javad Saberlatibari <76922325+javadsaberlatibari@users.noreply.github.com> Date: Thu, 4 Apr 2024 19:22:45 -0700 Subject: [PATCH] Add files via upload --- wellcoordination/benchmark/rubis.hpp | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/wellcoordination/benchmark/rubis.hpp b/wellcoordination/benchmark/rubis.hpp index d67df48..cee7d1d 100644 --- a/wellcoordination/benchmark/rubis.hpp +++ b/wellcoordination/benchmark/rubis.hpp @@ -67,20 +67,18 @@ class Rubis : public ReplicatedObject // conflicts std::vector g1; g1.push_back(static_cast(MethodType::STORE_BUY_NOW)); - //g1.push_back(static_cast(MethodType::REMOVE_MOVIE)); + g1.push_back(static_cast(MethodType::REGISTER_USER)); synch_groups.push_back(g1); + //std::vector g2; + //g2.push_back(static_cast(MethodType::REGISTER_USER)); + //synch_groups.push_back(g2); std::vector g2; - g3.push_back(static_cast(MethodType::PLACE_BID)); - g3.push_back(static_cast(MethodType::CLOSE_AUCTION)); + g2.push_back(static_cast(MethodType::PLACE_BID)); + g2.push_back(static_cast(MethodType::CLOSE_AUCTION)); synch_groups.push_back(g2); - std::vector g3; - g2.push_back(static_cast(MethodType::REGISTER_USER)); - //g2.push_back(static_cast(MethodType::REMOVE_CUSTOMER)); - synch_groups.push_back(g3); - for (int i = 0; i < 100; i++) { directbuysell[i] = 1000; openauctions.insert(i);