diff options
author | Mikael Ferland | 2017-08-21 18:54:03 +0000 |
---|---|---|
committer | Jean-Christian Kouame | 2017-08-21 19:46:22 +0000 |
commit | 819b1bfeef0b4e0ab0a04b9223724187a948290c (patch) | |
tree | da7ac3e1630d70333f9edf20deed07c07d302436 | |
parent | 85097ce3062b48c397cd46d925ccf7e5bb691d23 (diff) | |
download | org.eclipse.tracecompass-819b1bfeef0b4e0ab0a04b9223724187a948290c.tar.gz org.eclipse.tracecompass-819b1bfeef0b4e0ab0a04b9223724187a948290c.tar.xz org.eclipse.tracecompass-819b1bfeef0b4e0ab0a04b9223724187a948290c.zip |
counters.ui: interpret counters as cumulative by default
Counters data in the trace itself is stored cumulatively by default.
Therefore, it should not be interpreted by the state provider as not
being cumulative.
Change-Id: Ic7edd2434de7924c97c598482d587d54630ffb1e
Signed-off-by: Mikael Ferland <mikael.ferland@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/103406
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-by: Hudson CI
-rw-r--r-- | analysis/org.eclipse.tracecompass.analysis.counters.core/src/org/eclipse/tracecompass/analysis/counters/core/aspects/ITmfCounterAspect.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/analysis/org.eclipse.tracecompass.analysis.counters.core/src/org/eclipse/tracecompass/analysis/counters/core/aspects/ITmfCounterAspect.java b/analysis/org.eclipse.tracecompass.analysis.counters.core/src/org/eclipse/tracecompass/analysis/counters/core/aspects/ITmfCounterAspect.java index 75991897b9..64f468fce5 100644 --- a/analysis/org.eclipse.tracecompass.analysis.counters.core/src/org/eclipse/tracecompass/analysis/counters/core/aspects/ITmfCounterAspect.java +++ b/analysis/org.eclipse.tracecompass.analysis.counters.core/src/org/eclipse/tracecompass/analysis/counters/core/aspects/ITmfCounterAspect.java @@ -40,15 +40,15 @@ public interface ITmfCounterAspect extends ITmfEventAspect<Long> { * <pre> * Time | Cumulative counter | Non-cumulative counter * ================================================== - * x | y | y - * x+1 | 2y | y - * x+2 | 3y | y + * x | y1 | y1 + * x+1 | y1 + y2 | y2 + * x+2 | y1 + y2 + y3 | y3 * </pre> * * @return whether the counter aspect is cumulative or not */ default boolean isCumulative() { - return false; + return true; } } |