use of com.google.devtools.build.lib.profiler.statistics.PhaseStatistics in project bazel by bazelbuild.
the class PhaseHtml method print.
/**
* Print tables from {@link #phaseSummaryStats} and {@link #phaseStatistics} side by side.
*/
public void print() {
printPhaseSummaryStatistics();
for (ProfilePhase phase : Arrays.asList(ProfilePhase.INIT, ProfilePhase.LOAD, ProfilePhase.ANALYZE)) {
PhaseStatistics statistics = phaseStatistics.get(phase);
if (statistics == null || !statistics.wasExecuted()) {
continue;
}
printPhaseStatistics(statistics);
}
printExecutionPhaseStatistics();
lnElement("div", "style", "clear: both;");
}
Aggregations