mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-29 19:24:25 +03:00
Merge pull request #255 from isildur-g/wip-isildur-g
addressing some cppcheck warnings.
This commit is contained in:
@@ -117,7 +117,7 @@ static void run_benchmarks(int size, int loops, int max_matches,
|
||||
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*/
|
||||
|
Reference in New Issue
Block a user