mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
nit
This commit is contained in:
parent
a86d6c290d
commit
c774a76f24
@ -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, "
|
||||||
|
@ -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, "
|
||||||
|
@ -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, "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user