|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
|
2 <html> |
|
3 <head> |
|
4 <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> |
|
5 <title>TraceAnalyser overview</title> |
|
6 <link href="../../book.css" type="text/css" rel="stylesheet"></head> |
|
7 <body><h2>TraceAnalyser overview</h2> <p>TraceAnalyser is a tool that enables |
|
8 you to supervise the target application's time consumption during an operation, |
|
9 or supervise parameters in Open System Trace (OST) traces. </p><p>With this |
|
10 tool, you can create a set of rules that define: </p><ul> |
|
11 <li>the order and maximum delay between two operations that are traced (see |
|
12 example scenario below). </li> |
|
13 <li>a desired range for parameter values (for example, <i>"The first parameter |
|
14 of Trace A should be at least 150"</i>). </li> |
|
15 </ul><p>TraceAnalyser lists both passed and failed events to the main view, |
|
16 along with other information such as the pass rate. See the following example: |
|
17 </p><p><img src="images\dg_mainview.png" alt="Sample view of data filled in on the tabbed view."></p><p> |
|
18 If a rule fails (for example, the interval between operations is longer than |
|
19 defined), you can view more information about the violation on the <b>Fail |
|
20 Log</b> tab.</p><p>You can also view history graphs of the defined rules, |
|
21 to see how the performance of your application has changed over time. </p><h3><a |
|
22 name="case1"></a>Example: Analysing timings in a camera application</h3><p> |
|
23 When developing a camera application, you might want to define the following |
|
24 kind of rule: </p><p><i>“Taking a picture should not take longer than |
|
25 5 seconds.”</i></p><p>To monitor this programmatically, you can instrument |
|
26 your code so that OST trace is placed to capture the key press for taking |
|
27 a picture, and another where the taken picture is shown to the user. The corresponding |
|
28 rule would then state that these actions must occur within 5 seconds. </p><h5> |
|
29 Related Tasks</h5><ul> |
|
30 <li><a href="../tasks/creating_rules.htm">Creating tracing rules</a></li> |
|
31 <li><a href="../tasks/modifying_rules.htm">Modifying rules</a></li> |
|
32 <li><a href="../tasks/viewing_failed_cases.htm">Viewing the log of failed rules |
|
33 <li><a href="../tasks/viewing_the_history.htm">Viewing the rule history</a></li> |
|
34 </a></li> |
|
35 </ul><div id="footer">Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. |
|
36 License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.</div> </body></html> |