diff options
-rw-r--r-- | src/build_log.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/build_log.cc b/src/build_log.cc index 0cecd70..4ad005f 100644 --- a/src/build_log.cc +++ b/src/build_log.cc @@ -21,6 +21,7 @@ #include "build.h" #include "graph.h" +#include "metrics.h" #include "util.h" // Implementation details: @@ -104,6 +105,7 @@ void BuildLog::Close() { } bool BuildLog::Load(const string& path, string* err) { + METRIC_RECORD(".ninja_log load"); FILE* file = fopen(path.c_str(), "r"); if (!file) { if (errno == ENOENT) |