avadapal il y a 1 an
Parent
commit
1a36a39610
1 fichiers modifiés avec 6 ajouts et 3 suppressions
  1. 6 3
      2p-preprocessing/preprocessing.cpp

+ 6 - 3
2p-preprocessing/preprocessing.cpp

@@ -496,11 +496,12 @@ bool party;
 
 	boost::asio::thread_pool pool(n_threads);
 
-	#ifdef VERBOSE
+	//#ifdef VERBOSE
 		printf("n_threads = %zu\n\n", n_threads);
-	#endif
+	//#endif
  
 	auto start = std::chrono::steady_clock::now();
+
 	uint8_t **target_share_read = new uint8_t *[n_threads];
 
 	generate_random_targets(target_share_read, n_threads, party, expo);
@@ -518,7 +519,9 @@ bool party;
 	convert_shares(output, flags, n_threads, db_nitems, final_correction_word, socketsPb[0], party);
 	auto end = std::chrono::steady_clock::now();
 	std::chrono::duration<double> elapsed_seconds = end - start;
-	std::cout << "time to generate and evaluate " << n_threads << " dpfs of size 2^" << expo << " is: " << elapsed_seconds.count() << "s\n";
+	std::cout << "time to generate and evaluate " << n_threads << " dpfs of size 2^" << expo << " is: " << elapsed_seconds.count() << "s" << std::endl<< std::endl;
+
+ std::cout << "done with preproecessing" << std::endl;
 
 	if(!party)
 	{