X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=ltt%2Fbranches%2Fpoly%2Flttv%2Flttv%2Ftracecontext.h;h=f1396463e79cfdc15165070a12e5b6239c218bb9;hb=0bd2f89c122b8ead4c0bec1fbe25956393995622;hp=429a90162f5545343d884e2991a850d0f504f80c;hpb=4a24fa1f30c23e86e928d2bdb6835da895cb3681;p=lttv.git diff --git a/ltt/branches/poly/lttv/lttv/tracecontext.h b/ltt/branches/poly/lttv/lttv/tracecontext.h index 429a9016..f1396463 100644 --- a/ltt/branches/poly/lttv/lttv/tracecontext.h +++ b/ltt/branches/poly/lttv/lttv/tracecontext.h @@ -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