Browse Source

printing values in heap

avadapal 2 years ago
parent
commit
4d66c3b944
1 changed files with 7 additions and 7 deletions
  1. 7 7
      heap.cpp

+ 7 - 7
heap.cpp

@@ -763,7 +763,7 @@ void Heap(MPCIO & mpcio,
     size_t n_extracts = 0;
     int is_optimized = 0;
     int run_sanity = 0;
-    int itr = 0;
+    //int itr = 0;
 
     // Process command line arguments
     for (int i = 0; i < argc; i += 2) {
@@ -781,17 +781,17 @@ void Heap(MPCIO & mpcio,
         } else if (option == "-s" && i + 1 < argc) {
             run_sanity = std::atoi(args[i + 1]);
         } else if (option == "-itr" && i + 1 < argc) {
-            itr = std::atoi(args[i + 1]);
+            //itr = std::atoi(args[i + 1]);
         }
     }
 
     //std::cout << "maxdepth: " << maxdepth << std::endl;
     //std::cout << "run_sanity: " << run_sanity << std::endl;
-    std::cout << "heapsize: " << heapdepth << std::endl;
-    std::cout << "n_inserts: " << n_inserts << std::endl;
-    std::cout << "n_extracts: " << n_extracts << std::endl;
-    std::cout << "is_optimized: " << is_optimized << std::endl;
-    std::cout << "itr: " << itr << std::endl;
+    // std::cout << "heapsize: " << heapdepth << std::endl;
+    // std::cout << "n_inserts: " << n_inserts << std::endl;
+    // std::cout << "n_extracts: " << n_extracts << std::endl;
+    // std::cout << "is_optimized: " << is_optimized << std::endl;
+    // std::cout << "itr: " << itr << std::endl;
 
     
     MPCTIO tio(mpcio, 0, opts.num_threads);