tmf: Automatically sync experiments set up with the same hosts
authorAlexandre Montplaisir <alexmonthy@efficios.com>
Tue, 4 Oct 2016 23:56:44 +0000 (19:56 -0400)
committerAlexandre Montplaisir <alexmonthy@efficios.com>
Mon, 24 Oct 2016 18:56:05 +0000 (14:56 -0400)
commit472ea248a0bba4cee7ee055b4a4d676e1bf2dda1
tree189c4ee41f22f102bd1b2764f5e05f4d6c5b28d7
parentabdcc7b3450a4a29d884b0ae447bbcbc7491632b
tmf: Automatically sync experiments set up with the same hosts

Automatically correct the clock offset of traces inside an experiment
who define a custom property "clock_offset", by calculating
the average of those offsets for all concerned traces.

This is useful for LTTng traces coming from different domains.

This behaviour is similar to how Babeltrace handles traces with
clocks with different offsets.

Bug: 484620

Change-Id: Ic30837fd6e9fc8b9a7592a1722f0240145c77d62
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Signed-off-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/65330
Reviewed-by: Hudson CI
lttng/org.eclipse.tracecompass.lttng2.kernel.core.tests/META-INF/MANIFEST.MF
lttng/org.eclipse.tracecompass.lttng2.kernel.core.tests/src/org/eclipse/tracecompass/lttng2/kernel/core/tests/synchronization/UstKernelSyncTest.java [new file with mode: 0644]
tmf/org.eclipse.tracecompass.tmf.core.tests/src/org/eclipse/tracecompass/tmf/core/tests/trace/TmfExperimentTest.java
tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/trace/experiment/TmfExperiment.java
This page took 0.024783 seconds and 5 git commands to generate.