w.cltagln("response");
  public void toXML(XMLWriter w) throws IOException{    w.optagln("results", "totalTime", totalTime);    for (Iterator iter = new TreeSet(taskTimes.keySet()).iterator(); iter.hasNext();) {      Object key = iter.next ();      w.sitagln("task", 		"id",   (String) key, 		"time", (String) taskTimes.get(key));    }    w.cltagln("results");    w.optagln("histogram",              "minBucket", String.valueOf(minBucket),              "maxBucket", String.valueOf(maxBucket));    long bucketMin = 0L;    for (int bucket = 0; bucket <= maxBucket; bucket++) {      long bucketMax = pwr10[bucket / 3];      switch (bucket % 3) {      case 0: bucketMax *=  2L; break;      case 1: bucketMax *=  5L; break;      case 2: bucketMax *= 10L; break;      }      if (bucket >= minBucket) {        w.sitagln("bucket",                  "elapsedTime", bucketMin + ".." + bucketMax,                  "count", String.valueOf(buckets[bucket]));      }      bucketMin = bucketMax;    }    w.cltagln("histogram");  }