set_time_window updates horizontal scroll bar
[lttv.git] / ltt / branches / poly / include / lttv / processTrace.h
index 08b28e3556239c33f6963dfcd9f0c3a5caabd10b..aa1b6ae37dc26309075199c81c8c721c87d9ecd8 100644 (file)
@@ -71,6 +71,8 @@ struct _LttvTracesetContext {
   LttvHooks *after;
   LttvTraceContext **traces;
   LttvAttribute *a;
+  LttvAttribute *ts_a;
+  TimeInterval *Time_Span;
 };
 
 struct _LttvTracesetContextClass {
@@ -112,12 +114,14 @@ struct _LttvTraceContext {
   LttvTracesetContext *ts_context;
   guint index;                /* in ts_context->traces */
   LttTrace *t;
+  LttvTrace *vt;
   LttvHooks *check;
   LttvHooks *before;
   LttvHooks *after;
   LttvTracefileContext **control_tracefiles;
   LttvTracefileContext **per_cpu_tracefiles;
   LttvAttribute *a;
+  LttvAttribute *t_a;
 };
 
 struct _LttvTraceContextClass {
@@ -159,8 +163,12 @@ struct _LttvTracefileContextClass {
 
 GType lttv_tracefile_context_get_type (void);
 
-void lttv_process_trace(LttTime start, LttTime end, LttvTraceset *traceset, 
-    LttvTracesetContext *context, unsigned maxNumEvents);
+void lttv_process_traceset(LttvTracesetContext *self, LttTime end, 
+    unsigned maxNumEvents);
+
+void lttv_process_traceset_seek_time(LttvTracesetContext *self, LttTime start);
+
+void lttv_process_trace_seek_time(LttvTraceContext *self, LttTime start);
 
 void lttv_traceset_context_add_hooks(LttvTracesetContext *self,
     LttvHooks *before_traceset, 
@@ -188,6 +196,40 @@ void lttv_traceset_context_remove_hooks(LttvTracesetContext *self,
     LttvHooks *before_event, 
     LttvHooks *after_event);
 
+void lttv_trace_context_add_hooks(LttvTraceContext *self,
+                                 LttvHooks *check_trace, 
+                                 LttvHooks *before_trace, 
+                                 LttvHooks *after_trace);
+
+void lttv_trace_context_remove_hooks(LttvTraceContext *self,
+                                    LttvHooks *check_trace, 
+                                    LttvHooks *before_trace, 
+                                    LttvHooks *after_trace);
+
+void lttv_tracefile_context_add_hooks(LttvTracefileContext *self,
+                                     LttvHooks *check_tracefile,
+                                     LttvHooks *before_tracefile,
+                                     LttvHooks *after_tracefile,
+                                     LttvHooks *check_event, 
+                                     LttvHooks *before_event, 
+                                     LttvHooks *after_event);
+
+void lttv_tracefile_context_remove_hooks(LttvTracefileContext *self,
+                                        LttvHooks *check_tracefile,
+                                        LttvHooks *before_tracefile,
+                                        LttvHooks *after_tracefile,
+                                        LttvHooks *check_event, 
+                                        LttvHooks *before_event, 
+                                        LttvHooks *after_event);
+
+void lttv_tracefile_context_add_hooks_by_id(LttvTracefileContext *self,
+                                           unsigned i,
+                                           LttvHooks *before_event_by_id, 
+                                           LttvHooks *after_event_by_id);
+
+void lttv_tracefile_context_remove_hooks_by_id(LttvTracefileContext *self,
+                                              unsigned i);
+
 typedef struct _LttvTraceHook {
   LttvHook h;
   guint id;
This page took 0.03209 seconds and 4 git commands to generate.