3rd_gen_viewer: add traceset_process function
authorpmf <pmf@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 11 Sep 2008 17:11:55 +0000 (17:11 +0000)
committerpmf <pmf@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 11 Sep 2008 17:11:55 +0000 (17:11 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@3060 04897980-b3bd-0310-b5e0-8ef037075253

trunk/masters-pmf/3rd_gen_viewer/3rd_gen_viewer_arch.lyx

index c39aa593306934099fa07a3e4c80bd6229fa6e96..a7a7cf6ddb6e7b151877f104ce1030c57ad24879 100644 (file)
@@ -756,6 +756,32 @@ Arguments:
 req: the handle to the request
 \end_layout
 
+\end_deeper
+\begin_layout Itemize
+void traceset_process(struct traceset *tr, struct timeval *tv)
+\end_layout
+
+\begin_deeper
+\begin_layout Standard
+Process requests for the time specified by tv, then return to the caller.
+ The time is a wall time and has no relationship with the timestamps of
+ the trace.
+ It is used to process a part of the trace while allowing a GUI to remain
+ responsive.
+\end_layout
+
+\begin_layout Standard
+Arguments:
+\end_layout
+
+\begin_layout Itemize
+tr: the traceset
+\end_layout
+
+\begin_layout Itemize
+tv: the duration for which to process the trace
+\end_layout
+
 \end_deeper
 \begin_layout Section
 State management
@@ -1330,6 +1356,40 @@ others missing...
 \end_inset
 
 
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Note
+status open
+
+\begin_layout Section*
+TODO
+\end_layout
+
+\begin_layout Itemize
+extend APIs for monitoring (case where the flow of events is constant and
+ we cannot keep the whole trace forever)
+\end_layout
+
+\begin_deeper
+\begin_layout Itemize
+views must be able to register the fact that they need the whole trace if
+ they do
+\end_layout
+
+\begin_layout Itemize
+there must be an elegant way to destroy old events
+\end_layout
+
+\end_deeper
+\begin_layout Itemize
+add API or infos about interaction with gui? ex: how traceset_process should
+ be called
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \end_body
This page took 0.024451 seconds and 4 git commands to generate.