|
@@ -516,7 +516,10 @@ std::cout << "conncections established ..." << std::endl;
|
|
|
|
|
|
|
|
|
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";
|
|
|
+
|
|
|
if(!party)
|
|
|
{
|
|
|
char const *p0_filename0;
|
|
@@ -535,8 +538,6 @@ std::cout << "conncections established ..." << std::endl;
|
|
|
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;
|
|
|
}
|