[HIPIFY][fix] Fix for the rest of found bugs in Statistics

+ Signs of the converted file are extended
+ Total converted lines and total elapsed time are fixed
+ Zero rates are excluded from statistics
Этот коммит содержится в:
Evgeny Mankov
2018-12-13 18:35:45 +03:00
родитель 4a58c0480b
Коммит bffacb6c72
2 изменённых файлов: 45 добавлений и 27 удалений
+3 -2
Просмотреть файл
@@ -157,9 +157,10 @@ class Statistics {
StatCounter supported;
StatCounter unsupported;
std::string fileName;
std::set<int> touchedLines = {};
unsigned touchedBytes = 0;
std::set<int> touchedLinesSet = {};
unsigned touchedLines = 0;
unsigned totalLines = 0;
unsigned touchedBytes = 0;
int totalBytes = 0;
chr::steady_clock::time_point startTime;
chr::steady_clock::time_point completionTime;