Use of ArrayListStore instead of TreeMapStore for the pattern analysis
Change-Id: Ie247297936a4cf89b8bdf7b53b48625ce3cf34cd
Signed-off-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/73306
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Export-Package: org.eclipse.tracecompass.analysis.timing.core.segmentstore,
org.eclipse.tracecompass.analysis.timing.core.segmentstore.statistics,
org.eclipse.tracecompass.internal.analysis.timing.core,
Export-Package: org.eclipse.tracecompass.analysis.timing.core.segmentstore,
org.eclipse.tracecompass.analysis.timing.core.segmentstore.statistics,
org.eclipse.tracecompass.internal.analysis.timing.core,
- org.eclipse.tracecompass.internal.analysis.timing.core.store;x-friends:="org.eclipse.tracecompass.analysis.timing.core.tests"
+ org.eclipse.tracecompass.internal.analysis.timing.core.store;x-friends:="org.eclipse.tracecompass.analysis.timing.core.tests,org.eclipse.tracecompass.tmf.analysis.xml.core"
Import-Package: com.google.common.collect,
com.google.common.hash
Import-Package: com.google.common.collect,
com.google.common.hash
import org.eclipse.jdt.annotation.Nullable;
import org.eclipse.tracecompass.analysis.timing.core.segmentstore.AbstractSegmentStoreAnalysisModule;
import org.eclipse.tracecompass.analysis.timing.core.segmentstore.IAnalysisProgressListener;
import org.eclipse.jdt.annotation.Nullable;
import org.eclipse.tracecompass.analysis.timing.core.segmentstore.AbstractSegmentStoreAnalysisModule;
import org.eclipse.tracecompass.analysis.timing.core.segmentstore.IAnalysisProgressListener;
+import org.eclipse.tracecompass.internal.analysis.timing.core.store.ArrayListStore;
import org.eclipse.tracecompass.segmentstore.core.ISegment;
import org.eclipse.tracecompass.segmentstore.core.ISegmentStore;
import org.eclipse.tracecompass.segmentstore.core.ISegment;
import org.eclipse.tracecompass.segmentstore.core.ISegmentStore;
-import org.eclipse.tracecompass.segmentstore.core.treemap.TreeMapStore;
import org.eclipse.tracecompass.tmf.core.exceptions.TmfAnalysisException;
import org.eclipse.tracecompass.tmf.core.trace.ITmfTrace;
import org.eclipse.tracecompass.tmf.core.exceptions.TmfAnalysisException;
import org.eclipse.tracecompass.tmf.core.trace.ITmfTrace;
* Fake segment indicated that the last segment have been received
*/
public static final @NonNull EndSegment END_SEGMENT = new EndSegment();
* Fake segment indicated that the last segment have been received
*/
public static final @NonNull EndSegment END_SEGMENT = new EndSegment();
- private final ISegmentStore<@NonNull ISegment> fSegments = new TreeMapStore<>();
+ private final ISegmentStore<@NonNull ISegment> fSegments = new ArrayListStore<>();
private final CountDownLatch fFinished = new CountDownLatch(1);
private final @NonNull XmlPatternAnalysis fParent;
private boolean fSegmentStoreCompleted;
private final CountDownLatch fFinished = new CountDownLatch(1);
private final @NonNull XmlPatternAnalysis fParent;
private boolean fSegmentStoreCompleted;