Browse Source

small change in main

Sebastian Angel 2 years ago
parent
commit
63c3cf0edf
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main.cpp

+ 2 - 2
src/main.cpp

@@ -15,7 +15,7 @@ using namespace seal;
 int main(int argc, char *argv[]) {
 
     uint64_t number_of_items = 1 << 16;
-    uint64_t size_per_item = 256; // in bytes
+    uint64_t size_per_item = 1024; // in bytes
     uint32_t N = 4096;
 
     // Recommended values: (logt, d) = (20, 2).
@@ -83,9 +83,9 @@ int main(int argc, char *argv[]) {
     auto time_pre_s = high_resolution_clock::now(); 
     server.set_database(move(db), number_of_items, size_per_item);
     server.preprocess_database();
-    cout << "Main: database pre processed " << endl;
     auto time_pre_e = high_resolution_clock::now();
     auto time_pre_us = duration_cast<microseconds>(time_pre_e - time_pre_s).count();
+    cout << "Main: database pre processed " << endl;
 
     // Choose an index of an element in the DB
     uint64_t ele_index = rd() % number_of_items; // element in DB at random position