typedef struct _TimeInterval{
- LttTime startTime;
- LttTime endTime;
+ LttTime start_time;
+ LttTime end_time;
} TimeInterval;
/* Seek to the first event with position equal or larger to ep */
void ltt_tracefile_seek_position(LttTracefile *t,
- LttEventPosition *ep);
+ const LttEventPosition *ep);
/* Read the next event */
* Seek to the first event with position equal or larger to ep
****************************************************************************/
-void ltt_tracefile_seek_position(LttTracefile *t, LttEventPosition *ep)
+void ltt_tracefile_seek_position(LttTracefile *t, const LttEventPosition *ep)
{
//if we are at the right place, just return
if(t->which_block == ep->block_num && t->which_event == ep->event_num)