This commit is contained in:
apostolos
2021-09-14 16:35:33 +03:00
committed by Konstantinos Margaritis
parent 388dc457de
commit d9b8e9e224
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*/
max_bw = transferred_size / total_sec;
/*convert to MB/s*/
max_bw /=1048576.0;
max_bw /= 1048576.0;
/*calculate average bandwidth*/
bandwitdh = max_bw / loops;
printf(KMAG "Case with %u matches in random pos with %u * %u iterations," KBLU " total elapsed time =" RST " %.3f s, "