Fix lost events to work after multiple reloads
[deliverable/tracecompass.git] / org.eclipse.linuxtools.ctf.core / src / org / eclipse / linuxtools / internal / ctf / core / trace / StreamInputPacketIndexEntry.java
index aa1baf2ac1109f7b4d45cc6efc764f731179230d..e6f602bdc3cf3aec2574c8a5d17b42d5a65aeb41 100644 (file)
@@ -54,6 +54,11 @@ public class StreamInputPacketIndexEntry {
      */
     private long timestampEnd = 0;
 
+    /**
+     * How many lost events are there?
+     */
+    private long lostEvents = 0;
+
     // ------------------------------------------------------------------------
     // Constructors
     // ------------------------------------------------------------------------
@@ -183,4 +188,17 @@ public class StreamInputPacketIndexEntry {
         this.timestampEnd = timestampEnd;
     }
 
+    /**
+     * @return the lostEvents
+     */
+    public long getLostEvents() {
+        return lostEvents;
+    }
+
+    /**
+     * @param lostEvents the lostEvents to set
+     */
+    public void setLostEvents(long lostEvents) {
+        this.lostEvents = lostEvents;
+    }
 }
This page took 0.026886 seconds and 5 git commands to generate.