Permalink
Browse files

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

build metrics: StartEdge and EndEdge
  • Loading branch information...
2 parents 6b1d5c2 + c4fc36c commit 2577a9202860f2b0f7c0910f909200152b1ebd75 @evmar evmar committed Oct 12, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/build.cc
View
2 src/build.cc
@@ -728,6 +728,7 @@ bool Builder::Build(string* err) {
}
bool Builder::StartEdge(Edge* edge, string* err) {
+ METRIC_RECORD("StartEdge");
if (edge->is_phony())
return true;
@@ -758,6 +759,7 @@ bool Builder::StartEdge(Edge* edge, string* err) {
}
void Builder::FinishEdge(Edge* edge, bool success, const string& output) {
+ METRIC_RECORD("FinishEdge");
TimeStamp restat_mtime = 0;
if (success) {

0 comments on commit 2577a92

Please sign in to comment.