mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-15 17:02:14 +03:00
Fix Klocwork scan issues.
This commit is contained in:
committed by
Konstantinos Margaritis
parent
911a70b2d9
commit
686e73c35e
@@ -877,6 +877,7 @@ void displayCsvResults(const vector<unique_ptr<ThreadContext>> &threads,
|
||||
printf(",\"%0.3f\"", totalSecs);
|
||||
printf(",\"%0.2Lf\"", calc_mbps(totalSecs, totalBytes));
|
||||
|
||||
assert(bytesPerRun);
|
||||
double matchRate = ((double)matchesPerRun * 1024) / bytesPerRun;
|
||||
printf(",\"%llu\"", matchesPerRun);
|
||||
printf(",\"%0.3f\"", matchRate);
|
||||
|
||||
Reference in New Issue
Block a user