Skip to content

Commit

Permalink
Update band-main-crdt.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
javadsaberlatibari authored Feb 25, 2024
1 parent 110003d commit 934f877
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion wellcoordination/src/band-main-crdt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include "../benchmark/orset-crdt.hpp"
#include "../benchmark/register-crdt.hpp"
#include "../benchmark/shop-crdt.hpp"
#include "../benchmark/twopset-crdt.hpp"

int main(int argc, char* argv[]) {
if (argc < 2) {
Expand Down Expand Up @@ -70,6 +71,9 @@ int main(int argc, char* argv[]) {
else if(usecase == "shop") {
object = new Shop();
}
else if(usecase == "twopset") {
object = new TWOPSet();
}
object->setID(id)->setNumProcess(nr_procs)->finalize();

std::unordered_map<std::string, uint64_t>* response_times =
Expand Down Expand Up @@ -209,4 +213,4 @@ int main(int argc, char* argv[]) {
object->toString();
std::this_thread::sleep_for(std::chrono::seconds(60));
return 0;
}
}

0 comments on commit 934f877

Please sign in to comment.