Bug 378401: Implementation of time graph widget.
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / views / timechart / TimeChartEvent.java
index e48fe24deafa1b4b17a23642ed7ed19c0d1ad474..7a5b00d511d58d465c298222b19594e2cd87f434 100644 (file)
@@ -16,9 +16,9 @@ import java.util.ArrayList;
 import java.util.Iterator;\r
 \r
 import org.eclipse.linuxtools.tmf.core.event.ITmfEvent;\r
-import org.eclipse.linuxtools.tmf.ui.viewers.timeAnalysis.model.ITimeEvent;\r
-import org.eclipse.linuxtools.tmf.ui.viewers.timeAnalysis.model.ITmfTimeAnalysisEntry;\r
 import org.eclipse.linuxtools.tmf.ui.views.colors.ColorSettingsManager;\r
+import org.eclipse.linuxtools.tmf.ui.widgets.timegraph.model.ITimeEvent;\r
+import org.eclipse.linuxtools.tmf.ui.widgets.timegraph.model.ITimeGraphEntry;\r
 \r
 public class TimeChartEvent implements ITimeEvent {\r
 \r
@@ -52,7 +52,7 @@ public class TimeChartEvent implements ITimeEvent {
     }\r
 \r
        @Override\r
-    public ITmfTimeAnalysisEntry getEntry() {\r
+    public ITimeGraphEntry getEntry() {\r
         return fParentEntry;\r
     }\r
 \r
@@ -195,7 +195,7 @@ public class TimeChartEvent implements ITimeEvent {
         }\r
         \r
         public void merge(RankRangeList rankRangeList) {\r
-            long threshold = fParentEntry.getTrace().getIndexPageSize();\r
+            long threshold = fParentEntry.getTrace().getCacheSize();\r
             for (RankRange newRange : rankRangeList) {\r
                 boolean merged = false;\r
                 for (RankRange oldRange : fRankRangeList) {\r
This page took 0.02359 seconds and 5 git commands to generate.