diff options
author | Colin Cross <ccross@android.com> | 2017-05-22 18:27:14 (GMT) |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2017-05-22 18:27:21 (GMT) |
commit | 036003d20e80cbb044a3f0f0b41e2fdefcde66af (patch) | |
tree | 76adc0be97078012d76a41af276a60ca8f5be596 /src/graph.cc | |
parent | 2fc5b9e34bc38c7a8c4c33f39990f847325beffd (diff) | |
download | Ninja-036003d20e80cbb044a3f0f0b41e2fdefcde66af.zip Ninja-036003d20e80cbb044a3f0f0b41e2fdefcde66af.tar.gz Ninja-036003d20e80cbb044a3f0f0b41e2fdefcde66af.tar.bz2 |
Move stat metric to DiskInterface
Stat is not always used through Node::Stat, it is often used directly
through DiskInterface. THe next patches will cause it to be called
even more often through DiskInterface, so move the metrics to
DiskInterface.
Diffstat (limited to 'src/graph.cc')
-rw-r--r-- | src/graph.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/graph.cc b/src/graph.cc index b4c8619..76d996b 100644 --- a/src/graph.cc +++ b/src/graph.cc @@ -28,7 +28,6 @@ #include "util.h" bool Node::Stat(DiskInterface* disk_interface, string* err) { - METRIC_RECORD("node stat"); return (mtime_ = disk_interface->Stat(path_, err)) != -1; } |