seek n forward and backward implemented in trace context
[lttv.git] / ltt / branches / poly / lttv / lttv / tracecontext.h
index 429a90162f5545343d884e2991a850d0f504f80c..f1396463e79cfdc15165070a12e5b6239c218bb9 100644 (file)
@@ -335,4 +335,16 @@ void lttv_process_traceset_synchronize_tracefiles(LttvTracesetContext *tsc);
 
 void lttv_process_traceset_get_sync_data(LttvTracesetContext *tsc);
 
+/* Seek n events forward and backward (without filtering) : only use these where
+ * necessary : the seek backward is costy. */
+
+#define BACKWARD_SEEK_MUL 2 /* Multiplication factor of time_offset between
+                               backward seek iterations */
+
+guint lttv_process_traceset_seek_n_forward(LttvTracesetContext *self,
+                                           guint n);
+
+guint lttv_process_traceset_seek_n_backward(LttvTracesetContext *self,
+                                           guint n, LttTime first_offset);
+
 #endif // PROCESSTRACE_H
This page took 0.02488 seconds and 4 git commands to generate.