summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/build_log.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/build_log.cc b/src/build_log.cc
index a633892..33cbfc4 100644
--- a/src/build_log.cc
+++ b/src/build_log.cc
@@ -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";