critical path: bug 489360 Build the critical path in a separate thread
authorGeneviève Bastien <gbastien+lttng@versatic.net>
Fri, 13 May 2016 18:39:28 +0000 (14:39 -0400)
committerGenevieve Bastien <gbastien+lttng@versatic.net>
Mon, 30 May 2016 14:05:40 +0000 (10:05 -0400)
commit585f9916e169ebd5e87db4778d5d7e5c7805218c
tree5e7676e71356954930ef81606b10985f5b412c2e
parent6fbe12fddd1dfa46ab2cac48a94eac8a4b6ce999
critical path: bug 489360 Build the critical path in a separate thread

The critical path content provider was waiting for the analysis to be completed
but this often happens in the main thread and the first time, it is the whole
graph that needs to be computed and that can block the main thread for a while.

This patch uses a separate build thread when the input is changed so it does
not block anymore.

Change-Id: I9cb99c0d93524961c5f8b45ada59d8a02db49bb0
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/72759
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
analysis/org.eclipse.tracecompass.analysis.graph.core/src/org/eclipse/tracecompass/analysis/graph/core/criticalpath/CriticalPathModule.java
analysis/org.eclipse.tracecompass.analysis.graph.ui/src/org/eclipse/tracecompass/internal/analysis/graph/ui/criticalpath/view/CriticalPathView.java
This page took 0.025712 seconds and 5 git commands to generate.