提交 f76011f2 authored 作者: Thomas Mueller's avatar Thomas Mueller

Profiler: improved message if there was no stack trace.

上级 57770764
......@@ -158,7 +158,10 @@ public class Profiler implements Runnable {
stopCollecting();
StringBuilder buff = new StringBuilder();
buff.append("Profiler: top ").append(count).append(" stack trace(s) of ").append(time).
append(" ms [build-").append(Constants.BUILD_ID).append("]\n");
append(" ms [build-").append(Constants.BUILD_ID).append("]:\n");
if (counts.size() == 0) {
buff.append("(none)");
}
for (int x = 0, min = 0;;) {
int highest = 0;
Map.Entry<String, Integer> best = null;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论