diff options
author | 2015-10-13 20:10:15 +0000 | |
---|---|---|
committer | 2015-10-13 21:13:31 +0000 | |
commit | bb87ee6f2f93d6790a6c0814851ca6b307f0a4e2 (patch) | |
tree | ba999ecaf70654b038b11e61f6abead7bcc627b8 /src/main/java/com/google/devtools/build/lib/runtime/commands | |
parent | eff2b450bd44d019d3b23495e383cfce9e473fe6 (diff) |
Add HTML profiler execution phase statistics
Re-adds the missing execution phase statistics which got lost in the
recent ProfileCommand refactoring.
--
MOS_MIGRATED_REVID=105340677
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/runtime/commands')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/runtime/commands/ProfileCommand.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/commands/ProfileCommand.java b/src/main/java/com/google/devtools/build/lib/runtime/commands/ProfileCommand.java index b21d7ca20d..993798c373 100644 --- a/src/main/java/com/google/devtools/build/lib/runtime/commands/ProfileCommand.java +++ b/src/main/java/com/google/devtools/build/lib/runtime/commands/ProfileCommand.java @@ -253,6 +253,7 @@ public final class ProfileCommand implements BlazeCommand { phase, info, runtime.getWorkspaceName(), opts.vfsStatsLimit > 0)); } + CriticalPathStatistics critPathStats = new CriticalPathStatistics(info); if (opts.html) { Path htmlFile = profileFile.getParentDirectory().getChild(profileFile.getBaseName() + ".html"); @@ -264,13 +265,14 @@ public final class ProfileCommand implements BlazeCommand { htmlFile, phaseSummaryStatistics, phaseStatistics, + critPathStats, + info.getMissingActionsCount(), opts.htmlDetails, opts.htmlPixelsPerSecond, opts.vfsStatsLimit, opts.chart, opts.htmlHistograms); } else { - CriticalPathStatistics critPathStats = new CriticalPathStatistics(info); new PhaseText( out, phaseSummaryStatistics, |