예제 #1
0
 @Override
 public long getStreamingInterval() {
   long interval = 0;
   for (final ITmfTrace trace : fTraces) {
     interval = Math.max(interval, trace.getStreamingInterval());
   }
   return interval;
 }
예제 #2
0
  /** Clears the experiment */
  @Override
  public synchronized void dispose() {

    // Clean up the index if applicable
    if (getIndexer() != null) {
      getIndexer().dispose();
    }

    if (fTraces != null) {
      for (final ITmfTrace trace : fTraces) {
        trace.dispose();
      }
      fTraces = null;
    }
    super.dispose();
  }