This commit is contained in:
apostolos 2021-09-14 16:35:33 +03:00 committed by Konstantinos Margaritis
parent a86d6c290d
commit c774a76f24
3 changed files with 5 additions and 5 deletions

View File

@ -58,7 +58,7 @@ void noodle_benchmarks(int size, int loops, const char *lit_str, int lit_len, ch
/*calculate maximum bandwidth*/ /*calculate maximum bandwidth*/
max_bw = transferred_size / total_sec; max_bw = transferred_size / total_sec;
/*convert to MB/s*/ /*convert to MB/s*/
max_bw /=1048576.0; max_bw /= 1048576.0;
/*calculate average bandwidth*/ /*calculate average bandwidth*/
bandwitdh = max_bw / loops; bandwitdh = max_bw / loops;
printf(KMAG "Case with %u matches in random pos with %u * %u iterations," KBLU " total elapsed time =" RST " %.3f s, " printf(KMAG "Case with %u matches in random pos with %u * %u iterations," KBLU " total elapsed time =" RST " %.3f s, "

View File

@ -68,7 +68,7 @@ void shufti_benchmarks(int size, int loops, int M, bool has_match) {
/*calculate maximum bandwidth*/ /*calculate maximum bandwidth*/
max_bw = transferred_size / total_sec; max_bw = transferred_size / total_sec;
/*convert to MB/s*/ /*convert to MB/s*/
max_bw /=1048576.0; max_bw /= 1048576.0;
/*calculate average bandwidth*/ /*calculate average bandwidth*/
bandwitdh = max_bw / loops; bandwitdh = max_bw / loops;
printf(KMAG "ShuftiExec: case without matches, %u * %u iterations," KBLU " total elapsed time =" RST " %.3f s, " printf(KMAG "ShuftiExec: case without matches, %u * %u iterations," KBLU " total elapsed time =" RST " %.3f s, "
@ -139,7 +139,7 @@ void rshufti_benchmarks(int size, int loops, int M, bool has_match) {
/*calculate maximum bandwidth*/ /*calculate maximum bandwidth*/
max_bw = transferred_size / total_sec; max_bw = transferred_size / total_sec;
/*convert to MB/s*/ /*convert to MB/s*/
max_bw /=1048576.0; max_bw /= 1048576.0;
/*calculate average bandwidth*/ /*calculate average bandwidth*/
bandwitdh = max_bw / loops; bandwitdh = max_bw / loops;
printf(KMAG "rShuftiExec: case without matches, %u * %u iterations," KBLU " total elapsed time =" RST " %.3f s, " printf(KMAG "rShuftiExec: case without matches, %u * %u iterations," KBLU " total elapsed time =" RST " %.3f s, "

View File

@ -67,7 +67,7 @@ void truffle_benchmarks(int size, int loops, int M, bool has_match) {
/*calculate maximum bandwidth*/ /*calculate maximum bandwidth*/
max_bw = transferred_size / total_sec; max_bw = transferred_size / total_sec;
/*convert to MB/s*/ /*convert to MB/s*/
max_bw /=1048576.0; max_bw /= 1048576.0;
/*calculate average bandwidth*/ /*calculate average bandwidth*/
bandwitdh = max_bw / loops; bandwitdh = max_bw / loops;
printf(KMAG "TruffleExec case without matches, %u * %u iterations," KBLU " total elapsed time =" RST " %.3f s, " printf(KMAG "TruffleExec case without matches, %u * %u iterations," KBLU " total elapsed time =" RST " %.3f s, "
@ -139,7 +139,7 @@ void rtruffle_benchmarks(int size, int loops, int M, bool has_match) {
/*calculate maximum bandwidth*/ /*calculate maximum bandwidth*/
max_bw = transferred_size / total_sec; max_bw = transferred_size / total_sec;
/*convert to MB/s*/ /*convert to MB/s*/
max_bw /=1048576.0; max_bw /= 1048576.0;
/*calculate average bandwidth*/ /*calculate average bandwidth*/
bandwitdh = max_bw / loops; bandwitdh = max_bw / loops;
printf(KMAG "rTruffleExec case without matches, %u * %u iterations," KBLU " total elapsed time =" RST " %.3f s, " printf(KMAG "rTruffleExec case without matches, %u * %u iterations," KBLU " total elapsed time =" RST " %.3f s, "