critical path: bug 490086 Set start/end time for the trace
authorGeneviève Bastien <gbastien+lttng@versatic.net>
Fri, 20 May 2016 20:10:09 +0000 (16:10 -0400)
committerGenevieve Bastien <gbastien+lttng@versatic.net>
Tue, 31 May 2016 14:25:07 +0000 (10:25 -0400)
commit2244d4af2f8de0f4a56efaa9a6d4c83487445ca6
tree26fd536609c369b59235f4b6e80693beebd3849c
parent3a25f07aa881e3967ca9fae0514e50ca2a469301
critical path: bug 490086 Set start/end time for the trace

Previously, the start and end times of the critical path were set when building
the entries list for each critical path. Each worker had different start/end
times, different from the trace's and when getting a previously calculated
critical path, it would not reset the start/end time so the results were not
displayed correctly.

This patch sets the start and end time of the critical path view with the data
from the main execution graph, not the current worker's critical path.

It also gets the previously computed statistics in the content provider instead
of the analysis start.

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