|
@@ -473,6 +473,7 @@ bool party;
|
|
|
pool2.join();
|
|
|
#endif
|
|
|
|
|
|
+std::cout << "conncections established ..." << std::endl;
|
|
|
__m128i *final_correction_word = (__m128i *)std::aligned_alloc(sizeof(__m256i), n_threads * sizeof(__m128i));
|
|
|
|
|
|
AES_KEY aeskey;
|
|
@@ -512,9 +513,7 @@ bool party;
|
|
|
}
|
|
|
|
|
|
pool.join();
|
|
|
- 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";
|
|
|
+
|
|
|
|
|
|
convert_shares(output, flags, n_threads, db_nitems, final_correction_word, socketsPb[0], party);
|
|
|
|
|
@@ -536,6 +535,8 @@ bool party;
|
|
|
if (written < 0) perror("Write error");
|
|
|
close(w0);
|
|
|
}
|
|
|
-
|
|
|
+ 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";
|
|
|
return 0;
|
|
|
}
|