Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #439 from wolfp/metric-recompact

Add metric for log recompacting
  • Loading branch information...
commit 6b1d5c259009ab576524af707ee01b10361a5512 2 parents 302b641 + a8fb642
@martine authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/build_log.cc
View
1  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";
Please sign in to comment.
Something went wrong with that request. Please try again.