public void sendReply_latencygraph_html(MyHTTPServer socket, String cookie) throws Exception
	{
		List<String> reply = new ArrayList<String>();

		addHTTP200(reply, cookie);
		addPageHeader(reply, "");

		reply.add("<H1>Latency graph</H1>\n");
		DataInfo dataInfo = coffeeSaint.getLatencyStats();
		if (dataInfo != null)
		{
			reply.add("<IMG SRC=\"/cgi-bin/latency-graph.cgi\" BORDER=\"1\"><BR>\n");
			reply.add("<BR>\n");
			reply.add("<TABLE>\n");
			reply.add("<TR><TD>Minimum:</TD><TD>" + String.format("%.4f", dataInfo.getMin()) + "s</TD></TR>\n");
			reply.add("<TR><TD>Maximum:</TD><TD>" + String.format("%.4f", dataInfo.getMax()) + "s</TD></TR>\n");
			reply.add("<TR><TD>Average:</TD><TD>" + String.format("%.4f", dataInfo.getAvg()) + "s</TD></TR>\n");
			reply.add("<TR><TD>Standard deviation:</TD><TD>" + String.format("%.4f", dataInfo.getSd()) + "s</TD></TR>\n");
			reply.add("</TABLE>\n");
		}
		else
		{
			reply.add("No values measured yet.<BR>\n");
		}

		addPageTail(reply, true);

		socket.sendReply(reply);
	}