position ok with processing
[lttv.git] / ltt / branches / poly / ltt / ltt-private.h
index 96e9675ad82d385f48d1e745deca3b4d5f064585..f0c0d9572e72748a70bb70401f875c38ea8569d8 100644 (file)
@@ -123,6 +123,14 @@ struct _LttEvent{
   void * data;               //event data
   int which_block;           //the current block of the event
   int which_event;           //the position of the event
+  /* This is a workaround for fast position seek */
+  void * last_event_pos;
+
+  LttTime prev_block_end_time;       //the end time of previous block
+  LttTime prev_event_time;           //the time of the previous event
+  LttCycleCount pre_cycle_count;     //previous cycle count of the event
+  int      count;                    //the number of overflow of cycle count
+  /* end of workaround */
 };
 
 struct _LttFacility{
@@ -186,6 +194,15 @@ struct _LttEventPosition{
   LttTracefile *tf;                 //tracefile containing the event
   gboolean      old_position;       //flag to show if it is the position
                                     //being remembered
+  /* This is a workaround for fast position seek */
+  void * last_event_pos;
+
+  LttTime prev_block_end_time;       //the end time of previous block
+  LttTime prev_event_time;           //the time of the previous event
+  LttEvent an_event;
+  LttCycleCount pre_cycle_count;     //previous cycle count of the event
+  int      count;                    //the number of overflow of cycle count
+  /* end of workaround */
 };
 
 /* The characteristics of the system on which the trace was obtained
This page took 0.023075 seconds and 4 git commands to generate.