sysperfana/perfinvestigator/com.nokia.carbide.cpp.pi.doc.user/html/reference/profiler/advanced_options.htm
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Setting Advanced Options</title>
<link href="../../../book.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 { color: #FF0000;
font-weight: bold;
}
.style2 {font-family: Georgia, "Times New Roman", Times, serif}
-->
</style>
</head>
<body>
<h2>Setting Advanced Options </h2>
<p>Use the <b>Advanced</b> options menu in the Profiler to specify the thread
priority sample interval. The advanced options include:</p>
<ul>
<li>Memory/Priority Sample interval</li>
<li>Power Usage interval</li>
<li>Address/Thread interval</li>
</ul>
<p class="note"><span class="style1">WARNING</span> When you enable all the
traces, the 50ms minimum Memory/Priority interval may not be sufficient for all
of the traces to complete successfully between each cycle. This can cause
strange errors, such as loss of icons in lists. If you suspect this problem,
simply increase the sampling interval to 100ms or more or disable some
traces.</p>
<p align="center"><img src="images/TracingOptionsList3.png"></p>
<p class="figure">Figure 1. Advanced options settings in Profiler (S60) </p>
<h5>Table 1. Advanced Options</h5>
<table width="90%" border="0" cellpadding="2" cellspacing="0">
<tbody>
<tr>
<th width="213" scope="col">Menu Option </th>
<th width="646" scope="col">Description</th>
</tr>
<tr>
<td><b>Memory/Priority Sample interval </b></td>
<td><p>Specify the memory and thread priority sample interval.</p>
<p>The operating system is called automatically every millisecond to
determine what thread is currently executing. This interval setting
indicates how often an additional query to the operating system is made
to determine the priority of the currently executing thread. </p>
<p>The interval is specified in milliseconds. The minimum interval for
sampling is 50ms, with the default setting 1000ms. </p>
</td>
</tr>
<tr>
<td><b>Power Usage Interval </b></td>
<td><p>Specify the power usage priority sample interval.</p>
<p>The interval is specified in milliseconds. The minimum interval for
sampling is 50ms (20Hz), with the default setting 250ms (4Hz). The
minimum interval at which sampled power values change is device
dependent. </p>
<p class="note style2"><span class="note"><b>NOTE</b></span> If you
install a 3.1 0r 3.2 SIZE SISX file, the power usage sampling time
interval will always be 250 ms, regardless of what value you
specify.</p>
</td>
</tr>
<tr>
<td><strong>Address/Thread interval</strong> </td>
<td>Specify the Address/Thread interval. Enter an address/thread sampling
interval between 1ms and 10000ms (10 seconds).</td>
</tr>
</tbody>
</table>
<div>
<h4>Setting an Advanced Option</h4>
<ol>
<li>Launch the Profiler application on the target device </li>
<li>Open the Output Settings options screen: </li>
</ol>
<ul>
<li>S60 - Select the Output Settings menu</li>
<li>Set the desired option on or off</li>
<li>Exit the screen </li>
</ul>
</div>
<h5>Related references</h5>
<ul>
<li><a href="prof_using.htm">Using the Profiler</a> </li>
</ul>
<h5>Related tasks</h5>
<ul>
<li><a href="tracing_options.htm">Setting Tracing Options</a></li>
<li><a href="output_settings.htm">Setting Output Settings </a> </li>
</ul>
<div id="footer">
Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies). All rights
reserved. <br>
License: <a
href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div>
</body>
</html>