148149150151152153154155156157158
out.println("th { background : #c78ae6; border-left : 1px; border-right : 1px}"); out.println("tr { border-bottom : 1px dotted; }"); out.println(".number { text-align : right; }"); out.println("table table tr { border-bottom : none; }"); out.endElement("style"); out.endElement("head"); out.startElement("body"); out.writeElement("h1", title);
150151152153154155156157158159160
out.println(".number { text-align : right; }"); out.println("table table tr { border-bottom : none; }"); out.endElement("style"); out.endElement("head"); out.startElement("body"); out.writeElement("h1", title); out.startElement("table");
169170171172173174175176177178179
out.writeLineElement("th", L.l("Max Time")); out.writeLineElement("th", L.l("Total Time")); out.writeLineElement("th", L.l("Invocation Count")); out.endElement("tr"); ProfilerPoint root = _profilerManager.getRoot(); List<ProfilerPoint> children = root.getChildren(); Collections.sort(children, comparator);
178179180181182183184185186187188
List<ProfilerPoint> children = root.getChildren(); Collections.sort(children, comparator); for (ProfilerPoint child : children) display(child, comparator, out, 0); out.endElement("table"); out.endElement("body"); out.endElement("html"); }
180181182183184185186187188189190
for (ProfilerPoint child : children) display(child, comparator, out, 0); out.endElement("table"); out.endElement("body"); out.endElement("html"); } private void display(ProfilerPoint node,
182183184185186187188189190191192
out.endElement("table"); out.endElement("body"); out.endElement("html"); } private void display(ProfilerPoint node, ProfilerNodeComparator comparator, XmlWriter out,
332333334335336337338339340341342
Collections.sort(children, comparator); for (ProfilerPoint child : children) displayXml(child, comparator, out); out.endElement("profile"); } private void displayXml(ProfilerPoint node, ProfilerNodeComparator comparator, XmlWriter out)