Skip to content
This repository
Browse code

Merge pull request #446 from maximuska/proposed/start-end-edge-metrics

build metrics: StartEdge and EndEdge
  • Loading branch information...
commit 2577a9202860f2b0f7c0910f909200152b1ebd75 2 parents 6b1d5c2 + c4fc36c
Evan Martin authored

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. +2 0  src/build.cc
2  src/build.cc
@@ -728,6 +728,7 @@ bool Builder::Build(string* err) {
728 728 }
729 729
730 730 bool Builder::StartEdge(Edge* edge, string* err) {
  731 + METRIC_RECORD("StartEdge");
731 732 if (edge->is_phony())
732 733 return true;
733 734
@@ -758,6 +759,7 @@ bool Builder::StartEdge(Edge* edge, string* err) {
758 759 }
759 760
760 761 void Builder::FinishEdge(Edge* edge, bool success, const string& output) {
  762 + METRIC_RECORD("FinishEdge");
761 763 TimeStamp restat_mtime = 0;
762 764
763 765 if (success) {

0 comments on commit 2577a92

Please sign in to comment.
Something went wrong with that request. Please try again.