tmf: Add utility method to search for events matching a Predicate
authorAlexandre Montplaisir <alexmonthy@efficios.com>
Wed, 15 Jun 2016 00:33:53 +0000 (20:33 -0400)
committerAlexandre Montplaisir <alexmonthy@efficios.com>
Wed, 15 Jun 2016 22:27:48 +0000 (18:27 -0400)
commite4bc4695e263b0f4867e9efc10dced5571fd06ff
tree2222eeb8af4eb7dd51a245dbaa64f18a641dd2cf
parent5bb21f6b559ed172e1319642b0755ec78887a8c6
tmf: Add utility method to search for events matching a Predicate

Add methods in TmfUtils to search for events, forwards or
backwards in the trace, until an event matching the given
Predicate is found.

This will be used to implement a "Go to next/previous event of
current time graph entry" option for time graph views.

Change-Id: I19c78a459f1918cc41b0094f2a16bf0172b34804
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
ctf/org.eclipse.tracecompass.tmf.ctf.core.tests/META-INF/MANIFEST.MF
ctf/org.eclipse.tracecompass.tmf.ctf.core.tests/src/org/eclipse/tracecompass/tmf/ctf/core/tests/trace/TmfTraceUtilsSearchingTest.java [new file with mode: 0644]
tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/trace/TmfTraceUtils.java
This page took 0.024587 seconds and 5 git commands to generate.