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>
Tue, 21 Jun 2016 21:09:49 +0000 (17:09 -0400)
commitdba716865537464740f6552795b620edebbd3e8e
treefb0f5f672bc1e6a8b9b2dd300093048d00a7b8d9
parent91dc1c3e952aee6ea133cb7b4709b17409840691
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>
Reviewed-on: https://git.eclipse.org/r/75325
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.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.025189 seconds and 5 git commands to generate.