summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/deps_log.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/deps_log.cc b/src/deps_log.cc
index 5732b6d..de25f7b 100644
--- a/src/deps_log.cc
+++ b/src/deps_log.cc
@@ -20,6 +20,7 @@
#include <string.h>
#include "graph.h"
+#include "metrics.h"
#include "state.h"
#include "util.h"
@@ -80,6 +81,7 @@ void DepsLog::Close() {
}
bool DepsLog::Load(const string& path, State* state, string* err) {
+ METRIC_RECORD(".ninja_deps load");
char buf[32 << 10];
FILE* f = fopen(path.c_str(), "rb");
if (!f) {