130131132133134135136137138139140
if (contextPath == null || contextPath.length() == 0) contextPath = "/"; String title = L.l("Profiling Results for {0}", contextPath); out.startElement("html"); out.startElement("head"); out.writeElement("title", title); out.startElement("style");
132133134135136137138139140141142
String title = L.l("Profiling Results for {0}", contextPath); out.startElement("html"); out.startElement("head"); out.writeElement("title", title); out.startElement("style"); out.writeAttribute("type", "text/css");
135136137138139140141142143144145
out.startElement("html"); out.startElement("head"); out.writeElement("title", title); out.startElement("style"); out.writeAttribute("type", "text/css"); out.println( "h1 { background: #ccddff; margin : 0 -0.5em 0.25em -0.25em; padding: 0.25em 0.25em; }"); out.println(
152153154155156157158159160161162
out.endElement("style"); out.endElement("head"); out.startElement("body"); out.writeElement("h1", title); out.startElement("table"); out.writeAttribute("border", 0);
155156157158159160161162163164165
out.endElement("head"); out.startElement("body"); out.writeElement("h1", title); out.startElement("table"); out.writeAttribute("border", 0); out.startElement("tr"); out.writeLineElement("th", L.l("Name"));
158159160161162163164165166167168
out.writeElement("h1", title); out.startElement("table"); out.writeAttribute("border", 0); out.startElement("tr"); out.writeLineElement("th", L.l("Name")); out.writeLineElement("th", L.l("Average Time")); out.writeLineElement("th", L.l("Min Time"));
322323324325326327328329330331332
String contextPath = request.getContextPath(); if (contextPath == null || contextPath.length() == 0) contextPath = "/"; out.startElement("profile"); out.writeLineElement("name", contextPath); List<ProfilerPoint> children = _profilerManager.getRoot().getChildren();