graphSets[0].setTitle("completions during sample (throughput)");
graphSets[1].setTitle("mean duration during sample");
graphSets[2].setTitle("memory");
//
graphSets[2].add("used", new UsedMemoryGraph(rateModel));
graphSets[2].add("max", new MaxMemoryGraph(rateModel));
for (int i = 0; i < rateModel.getMethodCount(); i++) {
graphSets[0].add(new Integer(i), new MeanDurationGraph(rateModel, i));
graphSets[1].add(new Integer(i), new ThroughputGraph(rateModel, i));
}
tableModel.addTableModelListener(new RateTableModelListener(tableModel, graphSets[0]));