linux.ui: extract control flow view optimizer
authorMatthew Khouzam <matthew.khouzam@ericsson.com>
Mon, 25 Jul 2016 22:10:46 +0000 (18:10 -0400)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Wed, 3 Aug 2016 14:58:10 +0000 (10:58 -0400)
commit0267cc9dd80c1f6f9a64bebc0aa63436837d751b
tree1854b4c6b398af637005afaa1254fe1842219091
parent0796f1baaa7f6dab9c8fb30db090eef9a10da821
linux.ui: extract control flow view optimizer

The control flow view optimizer algorithm is now extracted into
a Function<>, this allows for better testing of the code and
improves modularity.

To change the optimizer behaviour, one needs to override the
getUpdatedSchedulingColumn() function to return another algorithm.
Consider ILinkEvents to be edges in a graph where the vertices are
the entries.

Change-Id: I2a8cb686e2c31589873006d1fca2f489ad724b33
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/77871
Reviewed-by: Hudson CI
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Tested-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
analysis/org.eclipse.tracecompass.analysis.os.linux.ui/src/org/eclipse/tracecompass/internal/analysis/os/linux/ui/views/controlflow/ControlFlowView.java
This page took 0.02511 seconds and 5 git commands to generate.