timing.core: add merge function to segment store
authorMatthew Khouzam <matthew.khouzam@ericsson.com>
Thu, 25 Aug 2016 19:08:11 +0000 (15:08 -0400)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Wed, 7 Sep 2016 20:18:21 +0000 (16:18 -0400)
commit381e1541e35d26195bc8672879e152cae09aa69e
tree7821e90e34e28ac7f56bf3aa48d267fb74f64d9c
parentab74ca148abad4bb945109e468ebecfb52d2f406
timing.core: add merge function to segment store

This allows merging statistics node. This will make statistics
work in a more streamlined way.

Note: merging introduces a slight error to standard deviation,
This is due to the pooled variance algorithm used.

Potential use-cases for this:
* Map-reduce statistics on a segment store.
* Merging trees of statistics.

Change-Id: Ie6758bdcd5df03b58dc5521bf07fa5f9693c30bf
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/79763
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/segmentstore/statistics/OfflineStatisticsCalculator.java
analysis/org.eclipse.tracecompass.analysis.timing.core.tests/src/org/eclipse/tracecompass/analysis/timing/core/tests/segmentstore/statistics/SegmentStoreStatisticsTest.java
analysis/org.eclipse.tracecompass.analysis.timing.core/src/org/eclipse/tracecompass/analysis/timing/core/segmentstore/statistics/SegmentStoreStatistics.java
This page took 0.027498 seconds and 5 git commands to generate.