ddressing some cppcheck warnings. yes this will be cleaned up in a

following commit. tests pass.
This commit is contained in:
G.E
2024-04-23 19:08:24 +03:00
parent 6e306a508e
commit 01dee390a9
9 changed files with 23 additions and 23 deletions

View File

@@ -113,7 +113,7 @@ static void run_benchmarks(int size, int loops, int max_matches, bool is_reverse
auto end = std::chrono::steady_clock::now();
total_sec += std::chrono::duration_cast<std::chrono::microseconds>(end - start).count();
/*calculate transferred size*/
total_size = size * loops;
total_size = (u64a)size * (u64a)loops;
/*calculate average time*/
avg_time = total_sec / loops;
/*convert microseconds to seconds*/