tmf/ctf: Show trace read progress in the progress bar
authorMatthew Khouzam <matthew.khouzam@ericsson.com>
Thu, 3 Mar 2016 23:17:24 +0000 (18:17 -0500)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Thu, 14 Jul 2016 19:34:17 +0000 (15:34 -0400)
commit7ea18c7202104839541c937c39b9f17b53981d31
tree19639b4858265c721fe7ed118bbe42803a7ef806
parent7917566259bf19a653312314d33d017f34097f6e
tmf/ctf: Show trace read progress in the progress bar

This patch adds an interface : ITmfTraceKnownSize. This interface
has two methods:
- size()
- progress()

If a tracetype implements these methods, the progress will show a scrolling
bar instead of the night-rider/battlestar galactica style slider of an
unknown progress bar.

Change-Id: If1b61957f26c2dec26543f64cfb42e12b127391c
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/67779
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Reviewed-by: Hudson CI
ctf/org.eclipse.tracecompass.tmf.ctf.core/META-INF/MANIFEST.MF
ctf/org.eclipse.tracecompass.tmf.ctf.core/src/org/eclipse/tracecompass/tmf/ctf/core/trace/CtfTmfTrace.java
tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/trace/ITmfTraceKnownSize.java [new file with mode: 0644]
tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/trace/indexer/checkpoint/TmfCheckpointIndexer.java
This page took 0.025571 seconds and 5 git commands to generate.