+struct _LttEvent{
+ guint16 event_id;
+ guint32 time_delta;
+ LttTime event_time;
+ LttCycleCount event_cycle_count;
+ LttTracefile * tracefile;
+ 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 */
+};
+
+