Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Add metric for log recompacting #439

Merged
merged 1 commit into from Oct 4, 2012
Jump to file or symbol
Failed to load files and symbols.
+1 −0
Split
View
@@ -341,6 +341,7 @@ void BuildLog::WriteEntry(FILE* f, const LogEntry& entry) {
}
bool BuildLog::Recompact(const string& path, string* err) {
+ METRIC_RECORD(".ninja_log recompact");
printf("Recompacting log...\n");
string temp_path = path + ".recompact";