timing: Introduce new segment store for slightly out of order datasets
authorMatthew Khouzam <matthew.khouzam@ericsson.com>
Fri, 26 Aug 2016 17:17:20 +0000 (13:17 -0400)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Wed, 31 Aug 2016 20:42:42 +0000 (16:42 -0400)
commitaaa6f547bab83053b50e3b1144ad6a0516bd1cf4
tree1552933edf7a067dfdb16fb2414cddb7b6d59247
parent93daedd94f2b4b13de734347a682fc582006e69a
timing: Introduce new segment store for slightly out of order datasets

The LazyArrayListStore is like an array list store but will only sort
when a read operation is received.

This structures are faster for handling segments that are out
of order.

Bug 500591

Change-Id: I466cc288dd42b6a6a002d0704a00e8ec06b7188b
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79877
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
analysis/org.eclipse.tracecompass.analysis.timing.core.tests/src/org/eclipse/tracecompass/analysis/timing/core/tests/store/AbstractTestSegmentStore.java [new file with mode: 0644]
analysis/org.eclipse.tracecompass.analysis.timing.core.tests/src/org/eclipse/tracecompass/analysis/timing/core/tests/store/ArrayListStoreTest.java
analysis/org.eclipse.tracecompass.analysis.timing.core.tests/src/org/eclipse/tracecompass/analysis/timing/core/tests/store/LazyArrayListStoreTest.java [new file with mode: 0644]
analysis/org.eclipse.tracecompass.analysis.timing.core/src/org/eclipse/tracecompass/internal/analysis/timing/core/store/LazyArrayListStore.java [new file with mode: 0644]
This page took 0.025652 seconds and 5 git commands to generate.