From: pmf Date: Thu, 11 Sep 2008 17:11:55 +0000 (+0000) Subject: 3rd_gen_viewer: add traceset_process function X-Git-Tag: v0.12.20~429 X-Git-Url: http://git.lttng.org/?a=commitdiff_plain;h=4275fd69f64b1d9899ec518b395bb32be88a9b20;p=lttv.git 3rd_gen_viewer: add traceset_process function git-svn-id: http://ltt.polymtl.ca/svn@3060 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/trunk/masters-pmf/3rd_gen_viewer/3rd_gen_viewer_arch.lyx b/trunk/masters-pmf/3rd_gen_viewer/3rd_gen_viewer_arch.lyx index c39aa593..a7a7cf6d 100644 --- a/trunk/masters-pmf/3rd_gen_viewer/3rd_gen_viewer_arch.lyx +++ b/trunk/masters-pmf/3rd_gen_viewer/3rd_gen_viewer_arch.lyx @@ -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