]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
nit
authorapostolos <apostolos.tapsas@vectorcamp.gr>
Tue, 14 Sep 2021 13:35:33 +0000 (16:35 +0300)
committerKonstantinos Margaritis <konstantinos@vectorcamp.gr>
Tue, 12 Oct 2021 08:51:34 +0000 (11:51 +0300)
benchmarks/noodle.cpp
benchmarks/shufti.cpp
benchmarks/truffle.cpp

index d12e25f16a3c8fb6dbb5da9a5aa9977ce396306e..db1b6b9f5993b584ccdab9b82a32b9ff7e339725 100644 (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, " 
index 85a45e21397ca116d9de3a62054e73330e172910..d170bfcf24b33ecbe40142f84e1770709e5698e4 100644 (file)
@@ -68,7 +68,7 @@ void shufti_benchmarks(int size, int loops, int M, bool has_match) {
         /*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 "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*/
         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 "rShuftiExec: case without matches, %u * %u iterations," KBLU " total elapsed time =" RST " %.3f s, " 
index f3f08acf23b2f9720e48efdb34aae63a7d1ea11c..077cadba3df36199df266542532266a85c128602 100644 (file)
@@ -67,7 +67,7 @@ void truffle_benchmarks(int size, int loops, int M, bool has_match) {
         /*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 "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*/
         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 "rTruffleExec case without matches, %u * %u iterations," KBLU " total elapsed time =" RST " %.3f s, "