summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
3f328da)
Notes :
End criterions for process traceset middle :
If the criterion is reached, event is out of boundaries and we return.
Notes :
End criterions for process traceset middle :
If the criterion is reached, event is out of boundaries and we return.
+Current time >= End time
Event count > Number of events
Current position >= End position
Event count > Number of events
Current position >= End position
- Type LttvTracesetContextPosition
- Type LttvTracesetContextPosition
+struct _LttvTraceContextPosition {
+ LttEventPosition *tf_pos; /* Position in each trace */
+ guint nb_tracefile; /* Number of tracefiles (check) */
+}
+
struct _LttvTracesetContextPosition {
struct _LttvTracesetContextPosition {
- LttEventPosition *tracefile_position; /* Position in each trace/tracefile */
- guint num_tracefiles; /* Number of tracefiles (check) */
+ LttTraceContextPosition *t_pos; /* Position in each trace */
+ guint nb_trace; /* Number of traces (check) */
lttv_process_traceset_seek_position will seek each tracefile to the right
position. We keep information about number of tracefiles for extra integrity
lttv_process_traceset_seek_position will seek each tracefile to the right
position. We keep information about number of tracefiles for extra integrity
-checking when reloading the position in the context.
+checking when reloading the position in the context. It also loads the pqueue.
We modify lttv_process_traceset_middle so that it takes as arguments :
(LttvTracesetContext *self,
LttTime end,
We modify lttv_process_traceset_middle so that it takes as arguments :
(LttvTracesetContext *self,
LttTime end,
const LttvTracesetContextPosition *end_position)
This new version of process traceset middle will call the event hooks for
const LttvTracesetContextPosition *end_position)
This new version of process traceset middle will call the event hooks for
-events until the first criterion is fulfilled : either the end time is passed,
+events until the first criterion is fulfilled : either the end time is reached,
the number of events requested is passed or the end position is reached. When
this function ends, the end position can be extracted from the context, the end
event is set as described below and the number of events read is returned.
the number of events requested is passed or the end position is reached. When
this function ends, the end position can be extracted from the context, the end
event is set as described below and the number of events read is returned.
The end event is a pointer to the last event the hooks has been called for.
- lttv_process_traceset_seek_time : already implemented
The end event is a pointer to the last event the hooks has been called for.
- lttv_process_traceset_seek_time : already implemented
+ - now loads the pqueue.
- lttv_process_traceset_begin(LttvTracesetContext *self,
LttvHooks *before_traceset,
- lttv_process_traceset_begin(LttvTracesetContext *self,
LttvHooks *before_traceset,