|
@@ -168,10 +168,14 @@ int main(int argc, char * argv[])
|
|
std::chrono::duration<double> elapsed_seconds = end-start;
|
|
std::chrono::duration<double> elapsed_seconds = end-start;
|
|
std::cout << "time to generate and evaluate " << n_threads << " dpfs of size 2^" << atoi(argv[4]) << " is: " << elapsed_seconds.count() << "s\n";
|
|
std::cout << "time to generate and evaluate " << n_threads << " dpfs of size 2^" << atoi(argv[4]) << " is: " << elapsed_seconds.count() << "s\n";
|
|
|
|
|
|
|
|
+ start = std::chrono::steady_clock::now();
|
|
for(size_t i = 0; i < n_threads; ++i)
|
|
for(size_t i = 0; i < n_threads; ++i)
|
|
{
|
|
{
|
|
write_evalfull_outs_into_a_file(party, i, db_nitems, flags[i], leaves[i], final_correction_word[i], additve_shares[i]);
|
|
write_evalfull_outs_into_a_file(party, i, db_nitems, flags[i], leaves[i], final_correction_word[i], additve_shares[i]);
|
|
}
|
|
}
|
|
|
|
+ end = std::chrono::steady_clock::now();
|
|
|
|
+ elapsed_seconds = end-start;
|
|
|
|
+ std::cout << "time to do filesio is: " << elapsed_seconds.count() << "s" << std::endl;;
|
|
|
|
|
|
#ifdef VERBOSE
|
|
#ifdef VERBOSE
|
|
for(size_t j = 0; j < n_threads; ++j)
|
|
for(size_t j = 0; j < n_threads; ++j)
|