logic: Cache graph and stats of overview in StorageCache

This commit is contained in:
Eberhard Graether
2016-08-10 13:15:45 +02:00
parent d0cf500c8e
commit 2800c072ff
6 changed files with 30 additions and 25 deletions
+5 -4
View File
@@ -359,9 +359,12 @@ void PersistentStorage::logStats() const
ss << "\t" << stats.fileCount << " Files\n";
ss << "\t" << stats.fileLOCCount << " Lines of Code\n";
ErrorCountInfo errorCount = getErrorCount();
ss << "\nErrors:\n";
ss << "\t" << stats.errorCount.total << " Errors\n";
ss << "\t" << stats.errorCount.fatal << " Fatal Errors\n";
ss << "\t" << errorCount.total << " Errors\n";
ss << "\t" << errorCount.fatal << " Fatal Errors\n";
LOG_INFO(ss.str());
}
@@ -1108,8 +1111,6 @@ StorageStats PersistentStorage::getStorageStats() const
stats.fileCount = m_sqliteStorage.getFileCount();
stats.fileLOCCount = m_sqliteStorage.getFileLOCCount();
stats.errorCount = getErrorCount();
return stats;
}