@Test public void testAdd() { System.out.println("add"); SampleResult res = new SampleResult(); res.setAllThreads(1); res.setThreadName("test 1-2"); LatenciesOverTimeGui instance = new LatenciesOverTimeGui(); instance.add(res); }
@Override public void add(SampleResult res) { if (!isSampleIncluded(res)) { return; } super.add(res); long latency = res.getLatency(); if (isFromTransactionControler(res)) { SampleResult[] subResults = res.getSubResults(); for (int i = 0; i < subResults.length; i++) { latency += subResults[i].getLatency(); } } addThreadGroupRecord(res.getSampleLabel(), normalizeTime(res.getEndTime()), latency); updateGui(null); }
LatenciesOverTimeGui extends AbstractOverTimeVisualizer { @Override public void add(SampleResult res) { if (!isSampleIncluded(res)) { return; } super.add(res); long latency = res.getLatency(); if (isFromTransactionControler(res)) { SampleResult[] subResults = res.getSubResults(); for (int i = 0; i < subResults.length; i++) { latency += subResults[i].getLatency(); } } addThreadGroupRecord(res.getSampleLabel(), normalizeTime(res.getEndTime()), latency); updateGui(null); } }
LatenciesOverTimeGui extends AbstractOverTimeVisualizer { @Override public void add(SampleResult res) { if (!isSampleIncluded(res)) { return; } super.add(res); long latency = res.getLatency(); if (isFromTransactionControler(res)) { SampleResult[] subResults = res.getSubResults(); for (int i = 0; i < subResults.length; i++) { latency += subResults[i].getLatency(); } } addThreadGroupRecord(res.getSampleLabel(), normalizeTime(res.getEndTime()), latency); updateGui(null); } LatenciesOverTimeGui(); }
LatenciesOverTimeGui extends AbstractOverTimeVisualizer { @Override public void add(SampleResult res) { if (!isSampleIncluded(res)) { return; } super.add(res); long latency = res.getLatency(); if (isFromTransactionControler(res)) { SampleResult[] subResults = res.getSubResults(); for (int i = 0; i < subResults.length; i++) { latency += subResults[i].getLatency(); } } addThreadGroupRecord(res.getSampleLabel(), normalizeTime(res.getEndTime()), latency); updateGui(null); } LatenciesOverTimeGui(); @Override String getLabelResource(); @Override String getStaticLabel(); @Override void add(SampleResult res); @Override String getWikiPage(); }
LatenciesOverTimeGui extends AbstractOverTimeVisualizer { @Override public void add(SampleResult res) { if (!isSampleIncluded(res)) { return; } super.add(res); long latency = res.getLatency(); if (isFromTransactionControler(res)) { SampleResult[] subResults = res.getSubResults(); for (int i = 0; i < subResults.length; i++) { latency += subResults[i].getLatency(); } } addThreadGroupRecord(res.getSampleLabel(), normalizeTime(res.getEndTime()), latency); updateGui(null); } LatenciesOverTimeGui(); @Override String getLabelResource(); @Override String getStaticLabel(); @Override void add(SampleResult res); @Override String getWikiPage();  }