minor boundary change
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 26 May 2004 01:58:59 +0000 (01:58 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 26 May 2004 01:58:59 +0000 (01:58 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@546 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/doc/developer/lttvwindow_events_delivery.txt
ltt/branches/poly/doc/developer/process_traceset_strict_boundaries.txt

index 6d5ee52cbb3c086e2babb3e2968c74244557ecd2..e34ddf4e6baec2395d1539aec4dfcfd5a9125f6e 100644 (file)
@@ -266,7 +266,7 @@ While list_in !empty and list_out !empty
 Notes :
 End criterions for process traceset middle :
 If the criterion is reached, event is out of boundaries and we return.
-Current time > End time
+Current time >= End time
 Event count > Number of events
 Current position >= End position
 
index a63e86ae01f1cd93b96349392ac8db82a5e2871e..05e5827ed400f62ebb39921cd5ed693dd550cb79 100644 (file)
@@ -112,9 +112,14 @@ computation is needed.
 
 - Type LttvTracesetContextPosition
 
+struct _LttvTraceContextPosition {
+  LttEventPosition *tf_pos;          /* Position in each trace           */
+  guint nb_tracefile;                /* Number of tracefiles (check)     */
+}
+
 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)         */
 }
 
 with interfaces :
@@ -132,7 +137,7 @@ Dependencies :
 
 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.
 
 
 
@@ -140,11 +145,11 @@ checking when reloading the position in the context.
 We modify lttv_process_traceset_middle so that it takes as arguments :
 (LttvTracesetContext *self,
 LttTime end,
-unsigned num_events,
+unsigned nb_events,
 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.
@@ -152,6 +157,7 @@ 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
+  - now loads the pqueue.
 
 - lttv_process_traceset_begin(LttvTracesetContext *self,
                               LttvHooks       *before_traceset,
This page took 0.043604 seconds and 4 git commands to generate.