ctf: Add streamIntersection() method for CTF traces
authorAlexandre Montplaisir <alexmonthy@efficios.com>
Fri, 7 Jul 2017 20:59:16 +0000 (16:59 -0400)
committerAlexandre Montplaisir <alexmonthy@efficios.com>
Fri, 7 Jul 2017 20:59:16 +0000 (16:59 -0400)
commite0e34091aafad6713511f9e9a9822124afcaefa5
tree48b3ad3a2bda25c62e44a8aad4991daeee58a26b
parent5df38ab5d57708ef620d811596971cb4a4a9e10c
ctf: Add streamIntersection() method for CTF traces

Stream intersection consists of trimming the trace to the time range
intersecting all CTF streams. This allows dropping events from areas
where only partial data is available.

This would be a good contender for re-using the trim() method. However
since trim() is currently implemented by calling Babeltrace, and
Babeltrace already has a stream intersection function, we can simply
call Babeltrace's function.

Change-Id: I9d38fbddccb2bee88aa4bca3f068efed24c295d5
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
ctf/org.eclipse.tracecompass.tmf.ctf.core/src/org/eclipse/tracecompass/tmf/ctf/core/trace/CtfTmfTrace.java
This page took 0.023925 seconds and 5 git commands to generate.