update compat
[lttv.git] / tags / LinuxTraceToolkitViewer-0.10.0-pre-115102007 / doc / developer / developer_guide / html / x81.html
CommitLineData
7cb02901 1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
2<HTML
3><HEAD
4><TITLE
5>How to request background computation</TITLE
6><META
7NAME="GENERATOR"
8CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
9REL="HOME"
10TITLE="Linux Trace Toolkit Viewer Developer Guide"
11HREF="index.html"><LINK
12REL="UP"
13TITLE="Linux Trace Toolkit Viewer Graphical Module Tutorial"
14HREF="c67.html"><LINK
15REL="PREVIOUS"
16TITLE="The dynamic part of a module : the viewer"
17HREF="x77.html"><LINK
18REL="NEXT"
19TITLE="How to handle events and use the graphical trace reading service"
20HREF="x84.html"></HEAD
21><BODY
22CLASS="sect1"
23BGCOLOR="#FFFFFF"
24TEXT="#000000"
25LINK="#0000FF"
26VLINK="#840084"
27ALINK="#0000FF"
28><DIV
29CLASS="NAVHEADER"
30><TABLE
31SUMMARY="Header navigation table"
32WIDTH="100%"
33BORDER="0"
34CELLPADDING="0"
35CELLSPACING="0"
36><TR
37><TH
38COLSPAN="3"
39ALIGN="center"
40>Linux Trace Toolkit Viewer Developer Guide</TH
41></TR
42><TR
43><TD
44WIDTH="10%"
45ALIGN="left"
46VALIGN="bottom"
47><A
48HREF="x77.html"
49ACCESSKEY="P"
50>Prev</A
51></TD
52><TD
53WIDTH="80%"
54ALIGN="center"
55VALIGN="bottom"
56>Chapter 3. Linux Trace Toolkit Viewer Graphical Module Tutorial</TD
57><TD
58WIDTH="10%"
59ALIGN="right"
60VALIGN="bottom"
61><A
62HREF="x84.html"
63ACCESSKEY="N"
64>Next</A
65></TD
66></TR
67></TABLE
68><HR
69ALIGN="LEFT"
70WIDTH="100%"></DIV
71><DIV
72CLASS="sect1"
73><H1
74CLASS="sect1"
75><A
76NAME="AEN81"
77>3.4. How to request background computation</A
78></H1
79><P
80>&#13;You will also notice the presence of a request_background_data() called in the
81constructor. This function, in eventhooks.c, does verify for the presence of the
82state information that could be precomputed by the main window background
83computation. If it has not been precomputed, we ask for a computation and show
84partial data. We also register a hook that will be called (notified) by the main
85window when the requested data will become ready, so the viewer can update
86itself with the new data. If no partial information would have made sense in a
87particular viewer, one could choose to shown a "waiting for computation" message
88while waiting for the notification. See lttvwindow/lttvwindowtraces.h for the API
89of the background requests.
90</P
91></DIV
92><DIV
93CLASS="NAVFOOTER"
94><HR
95ALIGN="LEFT"
96WIDTH="100%"><TABLE
97SUMMARY="Footer navigation table"
98WIDTH="100%"
99BORDER="0"
100CELLPADDING="0"
101CELLSPACING="0"
102><TR
103><TD
104WIDTH="33%"
105ALIGN="left"
106VALIGN="top"
107><A
108HREF="x77.html"
109ACCESSKEY="P"
110>Prev</A
111></TD
112><TD
113WIDTH="34%"
114ALIGN="center"
115VALIGN="top"
116><A
117HREF="index.html"
118ACCESSKEY="H"
119>Home</A
120></TD
121><TD
122WIDTH="33%"
123ALIGN="right"
124VALIGN="top"
125><A
126HREF="x84.html"
127ACCESSKEY="N"
128>Next</A
129></TD
130></TR
131><TR
132><TD
133WIDTH="33%"
134ALIGN="left"
135VALIGN="top"
136>The dynamic part of a module : the viewer</TD
137><TD
138WIDTH="34%"
139ALIGN="center"
140VALIGN="top"
141><A
142HREF="c67.html"
143ACCESSKEY="U"
144>Up</A
145></TD
146><TD
147WIDTH="33%"
148ALIGN="right"
149VALIGN="top"
150>How to handle events and use the graphical trace reading service</TD
151></TR
152></TABLE
153></DIV
154></BODY
155></HTML
156>
This page took 0.051385 seconds and 4 git commands to generate.