From a6265ba932a6bcfdb2599fcbd60ecbf4ff425bfd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Couturier?= Date: Tue, 25 Feb 2020 07:05:59 +0100 Subject: [PATCH 1/1] aze --- IDA_new/ida_gf65_paper3.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/IDA_new/ida_gf65_paper3.cpp b/IDA_new/ida_gf65_paper3.cpp index 4c9760b..b53b080 100644 --- a/IDA_new/ida_gf65_paper3.cpp +++ b/IDA_new/ida_gf65_paper3.cpp @@ -507,11 +507,13 @@ int main(int argc, char **argv) // sleep(2); float toto=0.001; auto start = std::chrono::system_clock::now(); - matC=matrix_multiply(&gf, matG, matS, n, t, t, len, w,&toto); + for(int i=0;i<1000;i++) { + matC=matrix_multiply(&gf, matG, matS, n, t, t, len, w,&toto); + } auto end = std::chrono::system_clock::now(); std::chrono::duration elapsed_seconds = end-start; total_time+=elapsed_seconds.count(); -// cout << "elapsed time: " << elapsed_seconds.count() << "s\n"; + cout << "elapsed time: " << elapsed_seconds.count() << "s "; // display(matC,t,t); -- 2.39.5